/linux-6.12.1/drivers/net/ethernet/netronome/nfp/ |
D | nfp_net_dp.c | 76 nfp_net_rx_ring_init(struct nfp_net_rx_ring *rx_ring, in nfp_net_rx_ring_init() 95 void nfp_net_rx_ring_reset(struct nfp_net_rx_ring *rx_ring) in nfp_net_rx_ring_reset() 133 struct nfp_net_rx_ring *rx_ring) in nfp_net_rx_ring_bufs_free() 162 struct nfp_net_rx_ring *rx_ring) in nfp_net_rx_ring_bufs_alloc() 251 static void nfp_net_rx_ring_free(struct nfp_net_rx_ring *rx_ring) in nfp_net_rx_ring_free() 284 nfp_net_rx_ring_alloc(struct nfp_net_dp *dp, struct nfp_net_rx_ring *rx_ring) in nfp_net_rx_ring_alloc() 384 struct nfp_net_rx_ring *rx_ring, unsigned int idx) in nfp_net_rx_ring_hw_cfg_write()
|
D | nfp_net_xsk.c | 17 nfp_net_xsk_rx_bufs_stash(struct nfp_net_rx_ring *rx_ring, unsigned int idx, in nfp_net_xsk_rx_bufs_stash() 46 void nfp_net_xsk_rx_bufs_free(struct nfp_net_rx_ring *rx_ring) in nfp_net_xsk_rx_bufs_free() 57 void nfp_net_xsk_rx_ring_fill_freelist(struct nfp_net_rx_ring *rx_ring) in nfp_net_xsk_rx_ring_fill_freelist()
|
/linux-6.12.1/drivers/net/ethernet/intel/i40e/ |
D | i40e_xsk.c | 9 void i40e_clear_rx_bi_zc(struct i40e_ring *rx_ring) in i40e_clear_rx_bi_zc() 15 static struct xdp_buff **i40e_rx_bi(struct i40e_ring *rx_ring, u32 idx) in i40e_rx_bi() 29 static int i40e_realloc_rx_xdp_bi(struct i40e_ring *rx_ring, bool pool_present) in i40e_realloc_rx_xdp_bi() 61 struct i40e_ring *rx_ring; in i40e_realloc_rx_bi_zc() local 197 static int i40e_run_xdp_zc(struct i40e_ring *rx_ring, struct xdp_buff *xdp, in i40e_run_xdp_zc() 240 bool i40e_alloc_rx_buffers_zc(struct i40e_ring *rx_ring, u16 count) in i40e_alloc_rx_buffers_zc() 288 static struct sk_buff *i40e_construct_skb_zc(struct i40e_ring *rx_ring, in i40e_construct_skb_zc() 343 static void i40e_handle_xdp_result_zc(struct i40e_ring *rx_ring, in i40e_handle_xdp_result_zc() 399 i40e_add_xsk_frag(struct i40e_ring *rx_ring, struct xdp_buff *first, in i40e_add_xsk_frag() 431 int i40e_clean_rx_irq_zc(struct i40e_ring *rx_ring, int budget) in i40e_clean_rx_irq_zc() [all …]
|
D | i40e_txrx.c | 680 static void i40e_fd_handle_status(struct i40e_ring *rx_ring, u64 qword0_raw, in i40e_fd_handle_status() 1352 static struct i40e_rx_buffer *i40e_rx_bi(struct i40e_ring *rx_ring, u32 idx) in i40e_rx_bi() 1364 static void i40e_reuse_rx_page(struct i40e_ring *rx_ring, in i40e_reuse_rx_page() 1398 void i40e_clean_programming_status(struct i40e_ring *rx_ring, u64 qword0_raw, in i40e_clean_programming_status() 1458 static void i40e_clear_rx_bi(struct i40e_ring *rx_ring) in i40e_clear_rx_bi() 1467 void i40e_clean_rx_ring(struct i40e_ring *rx_ring) in i40e_clean_rx_ring() 1529 void i40e_free_rx_resources(struct i40e_ring *rx_ring) in i40e_free_rx_resources() 1551 int i40e_setup_rx_descriptors(struct i40e_ring *rx_ring) in i40e_setup_rx_descriptors() 1589 void i40e_release_rx_desc(struct i40e_ring *rx_ring, u32 val) in i40e_release_rx_desc() 1606 static unsigned int i40e_rx_frame_truesize(struct i40e_ring *rx_ring, in i40e_rx_frame_truesize() [all …]
|
/linux-6.12.1/drivers/net/ethernet/intel/ice/ |
D | ice_xsk.c | 15 static struct xdp_buff **ice_xdp_buf(struct ice_rx_ring *rx_ring, u32 idx) in ice_xdp_buf() 86 ice_qvec_dis_irq(struct ice_vsi *vsi, struct ice_rx_ring *rx_ring, in ice_qvec_dis_irq() 167 struct ice_rx_ring *rx_ring; in ice_qp_dis() local 317 ice_realloc_rx_xdp_bufs(struct ice_rx_ring *rx_ring, bool pool_present) in ice_realloc_rx_xdp_bufs() 350 struct ice_rx_ring *rx_ring; in ice_realloc_zc_buf() local 388 struct ice_rx_ring *rx_ring = vsi->rx_rings[qid]; in ice_xsk_pool_setup() local 474 static bool __ice_alloc_rx_bufs_zc(struct ice_rx_ring *rx_ring, in __ice_alloc_rx_bufs_zc() 524 bool ice_alloc_rx_bufs_zc(struct ice_rx_ring *rx_ring, in ice_alloc_rx_bufs_zc() 549 ice_construct_skb_zc(struct ice_rx_ring *rx_ring, struct xdp_buff *xdp) in ice_construct_skb_zc() 760 ice_run_xdp_zc(struct ice_rx_ring *rx_ring, struct xdp_buff *xdp, in ice_run_xdp_zc() [all …]
|
D | ice_txrx.c | 383 void ice_clean_rx_ring(struct ice_rx_ring *rx_ring) in ice_clean_rx_ring() 451 void ice_free_rx_ring(struct ice_rx_ring *rx_ring) in ice_free_rx_ring() 483 int ice_setup_rx_ring(struct ice_rx_ring *rx_ring) in ice_setup_rx_ring() 536 ice_run_xdp(struct ice_rx_ring *rx_ring, struct xdp_buff *xdp, in ice_run_xdp() 672 ice_alloc_mapped_page(struct ice_rx_ring *rx_ring, struct ice_rx_buf *bi) in ice_alloc_mapped_page() 723 bool ice_alloc_rx_bufs(struct ice_rx_ring *rx_ring, unsigned int cleaned_count) in ice_alloc_rx_bufs() 849 ice_add_xdp_frag(struct ice_rx_ring *rx_ring, struct xdp_buff *xdp, in ice_add_xdp_frag() 890 ice_reuse_rx_page(struct ice_rx_ring *rx_ring, struct ice_rx_buf *old_buf) in ice_reuse_rx_page() 921 ice_get_rx_buf(struct ice_rx_ring *rx_ring, const unsigned int size, in ice_get_rx_buf() 953 ice_build_skb(struct ice_rx_ring *rx_ring, struct xdp_buff *xdp) in ice_build_skb() [all …]
|
D | ice_xsk.h | 50 ice_clean_rx_irq_zc(struct ice_rx_ring __always_unused *rx_ring, in ice_clean_rx_irq_zc() 58 ice_alloc_rx_bufs_zc(struct ice_rx_ring __always_unused *rx_ring, in ice_alloc_rx_bufs_zc() 77 static inline void ice_xsk_clean_rx_ring(struct ice_rx_ring *rx_ring) { } in ice_xsk_clean_rx_ring()
|
D | ice_txrx_lib.c | 16 void ice_release_rx_desc(struct ice_rx_ring *rx_ring, u16 val) in ice_release_rx_desc() 67 ice_rx_hash_to_skb(const struct ice_rx_ring *rx_ring, in ice_rx_hash_to_skb() 162 ice_ptp_rx_hwts_to_skb(struct ice_rx_ring *rx_ring, in ice_ptp_rx_hwts_to_skb() 192 ice_process_skb_fields(struct ice_rx_ring *rx_ring, in ice_process_skb_fields() 228 ice_receive_skb(struct ice_rx_ring *rx_ring, struct sk_buff *skb, u16 vlan_tci) in ice_receive_skb()
|
D | ice_txrx_lib.h | 18 ice_set_rx_bufs_act(struct xdp_buff *xdp, const struct ice_rx_ring *rx_ring, in ice_set_rx_bufs_act() 76 ice_is_non_eop(const struct ice_rx_ring *rx_ring, in ice_is_non_eop()
|
/linux-6.12.1/drivers/net/ethernet/freescale/enetc/ |
D | enetc.c | 736 static void enetc_reuse_page(struct enetc_bdr *rx_ring, in enetc_reuse_page() 786 struct enetc_bdr *rx_ring; in enetc_recycle_xdp_tx_buff() local 913 static bool enetc_new_page(struct enetc_bdr *rx_ring, in enetc_new_page() 941 static int enetc_refill_rx_ring(struct enetc_bdr *rx_ring, const int buff_cnt) in enetc_refill_rx_ring() 1005 static void enetc_get_offloads(struct enetc_bdr *rx_ring, in enetc_get_offloads() 1052 static struct enetc_rx_swbd *enetc_get_rx_buff(struct enetc_bdr *rx_ring, in enetc_get_rx_buff() 1064 static void enetc_put_rx_buff(struct enetc_bdr *rx_ring, in enetc_put_rx_buff() 1079 static void enetc_flip_rx_buff(struct enetc_bdr *rx_ring, in enetc_flip_rx_buff() 1094 static struct sk_buff *enetc_map_rx_buff_to_skb(struct enetc_bdr *rx_ring, in enetc_map_rx_buff_to_skb() 1116 static void enetc_add_rx_buff_to_skb(struct enetc_bdr *rx_ring, int i, in enetc_add_rx_buff_to_skb() [all …]
|
/linux-6.12.1/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_xsk.c | 98 struct ixgbe_ring *rx_ring, in ixgbe_run_xdp_zc() 151 bool ixgbe_alloc_rx_buffers_zc(struct ixgbe_ring *rx_ring, u16 count) in ixgbe_alloc_rx_buffers_zc() 213 static struct sk_buff *ixgbe_construct_skb_zc(struct ixgbe_ring *rx_ring, in ixgbe_construct_skb_zc() 238 static void ixgbe_inc_ntc(struct ixgbe_ring *rx_ring) in ixgbe_inc_ntc() 248 struct ixgbe_ring *rx_ring, in ixgbe_clean_rx_irq_zc() 375 void ixgbe_xsk_clean_rx_ring(struct ixgbe_ring *rx_ring) in ixgbe_xsk_clean_rx_ring()
|
/linux-6.12.1/drivers/net/ethernet/amazon/ena/ |
D | ena_netdev.c | 393 struct ena_ring *rx_ring = &adapter->rx_ring[qid]; in ena_setup_rx_resources() local 451 struct ena_ring *rx_ring = &adapter->rx_ring[qid]; in ena_free_rx_resources() local 501 static struct page *ena_alloc_map_page(struct ena_ring *rx_ring, in ena_alloc_map_page() 530 static int ena_alloc_rx_buffer(struct ena_ring *rx_ring, in ena_alloc_rx_buffer() 566 static void ena_unmap_rx_buff_attrs(struct ena_ring *rx_ring, in ena_unmap_rx_buff_attrs() 574 static void ena_free_rx_page(struct ena_ring *rx_ring, in ena_free_rx_page() 591 static int ena_refill_rx_bufs(struct ena_ring *rx_ring, u32 num) in ena_refill_rx_bufs() 646 struct ena_ring *rx_ring = &adapter->rx_ring[qid]; in ena_free_rx_bufs() local 662 struct ena_ring *rx_ring; in ena_refill_all_rx_bufs() local 919 static struct sk_buff *ena_alloc_skb(struct ena_ring *rx_ring, void *first_frag, u16 len) in ena_alloc_skb() [all …]
|
D | ena_xdp.c | 196 int ena_xdp_register_rxq_info(struct ena_ring *rx_ring) in ena_xdp_register_rxq_info() 224 void ena_xdp_unregister_rxq_info(struct ena_ring *rx_ring) in ena_xdp_unregister_rxq_info() 238 struct ena_ring *rx_ring; in ena_xdp_exchange_program_rx_in_range() local
|
/linux-6.12.1/drivers/net/ethernet/wangxun/libwx/ |
D | wx_lib.c | 164 static void wx_dma_sync_frag(struct wx_ring *rx_ring, in wx_dma_sync_frag() 181 static struct wx_rx_buffer *wx_get_rx_buffer(struct wx_ring *rx_ring, in wx_get_rx_buffer() 223 static void wx_put_rx_buffer(struct wx_ring *rx_ring, in wx_put_rx_buffer() 237 static struct sk_buff *wx_build_skb(struct wx_ring *rx_ring, in wx_build_skb() 301 static bool wx_alloc_mapped_page(struct wx_ring *rx_ring, in wx_alloc_mapped_page() 327 void wx_alloc_rx_buffers(struct wx_ring *rx_ring, u16 cleaned_count) in wx_alloc_rx_buffers() 405 static bool wx_is_non_eop(struct wx_ring *rx_ring, in wx_is_non_eop() 472 static bool wx_cleanup_headers(struct wx_ring *rx_ring, in wx_cleanup_headers() 596 static void wx_process_skb_fields(struct wx_ring *rx_ring, in wx_process_skb_fields() 621 struct wx_ring *rx_ring, in wx_clean_rx_irq() [all …]
|
/linux-6.12.1/drivers/net/ethernet/intel/iavf/ |
D | iavf_txrx.c | 691 static void iavf_clean_rx_ring(struct iavf_ring *rx_ring) in iavf_clean_rx_ring() 722 void iavf_free_rx_resources(struct iavf_ring *rx_ring) in iavf_free_rx_resources() 748 int iavf_setup_rx_descriptors(struct iavf_ring *rx_ring) in iavf_setup_rx_descriptors() 798 static void iavf_release_rx_desc(struct iavf_ring *rx_ring, u32 val) in iavf_release_rx_desc() 817 static void iavf_receive_skb(struct iavf_ring *rx_ring, in iavf_receive_skb() 839 bool iavf_alloc_rx_buffers(struct iavf_ring *rx_ring, u16 cleaned_count) in iavf_alloc_rx_buffers() 1002 iavf_process_skb_fields(struct iavf_ring *rx_ring, in iavf_process_skb_fields() 1029 static bool iavf_cleanup_headers(struct iavf_ring *rx_ring, struct sk_buff *skb) in iavf_cleanup_headers() 1103 static bool iavf_is_non_eop(struct iavf_ring *rx_ring, in iavf_is_non_eop() 1137 static int iavf_clean_rx_irq(struct iavf_ring *rx_ring, int budget) in iavf_clean_rx_irq()
|
/linux-6.12.1/drivers/net/ethernet/intel/ixgbevf/ |
D | ixgbevf_main.c | 505 static void ixgbevf_process_skb_fields(struct ixgbevf_ring *rx_ring, in ixgbevf_process_skb_fields() 527 struct ixgbevf_rx_buffer *ixgbevf_get_rx_buffer(struct ixgbevf_ring *rx_ring, in ixgbevf_get_rx_buffer() 547 static void ixgbevf_put_rx_buffer(struct ixgbevf_ring *rx_ring, in ixgbevf_put_rx_buffer() 581 static bool ixgbevf_is_non_eop(struct ixgbevf_ring *rx_ring, in ixgbevf_is_non_eop() 598 static inline unsigned int ixgbevf_rx_offset(struct ixgbevf_ring *rx_ring) in ixgbevf_rx_offset() 603 static bool ixgbevf_alloc_mapped_page(struct ixgbevf_ring *rx_ring, in ixgbevf_alloc_mapped_page() 649 static void ixgbevf_alloc_rx_buffers(struct ixgbevf_ring *rx_ring, in ixgbevf_alloc_rx_buffers() 731 static bool ixgbevf_cleanup_headers(struct ixgbevf_ring *rx_ring, in ixgbevf_cleanup_headers() 764 static void ixgbevf_reuse_rx_page(struct ixgbevf_ring *rx_ring, in ixgbevf_reuse_rx_page() 826 static void ixgbevf_add_rx_frag(struct ixgbevf_ring *rx_ring, in ixgbevf_add_rx_frag() [all …]
|
/linux-6.12.1/drivers/net/ethernet/broadcom/ |
D | bcm4908_enet.c | 86 struct bcm4908_enet_dma_ring rx_ring; member 199 struct bcm4908_enet_dma_ring *rx_ring = &enet->rx_ring; in bcm4908_enet_dma_free() local 217 struct bcm4908_enet_dma_ring *rx_ring = &enet->rx_ring; in bcm4908_enet_dma_alloc() local 321 struct bcm4908_enet_dma_ring *rx_ring = &enet->rx_ring; in bcm4908_enet_dma_uninit() local 338 struct bcm4908_enet_dma_ring *rx_ring = &enet->rx_ring; in bcm4908_enet_dma_init() local 452 struct bcm4908_enet_dma_ring *rx_ring = &enet->rx_ring; in bcm4908_enet_open() local 502 struct bcm4908_enet_dma_ring *rx_ring = &enet->rx_ring; in bcm4908_enet_stop() local 583 struct bcm4908_enet_dma_ring *rx_ring = container_of(napi, struct bcm4908_enet_dma_ring, napi); in bcm4908_enet_poll_rx() local
|
/linux-6.12.1/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_main.c | 74 static bool fm10k_alloc_mapped_page(struct fm10k_ring *rx_ring, in fm10k_alloc_mapped_page() 116 void fm10k_alloc_rx_buffers(struct fm10k_ring *rx_ring, u16 cleaned_count) in fm10k_alloc_rx_buffers() 182 static void fm10k_reuse_rx_page(struct fm10k_ring *rx_ring, in fm10k_reuse_rx_page() 298 static struct sk_buff *fm10k_fetch_rx_buffer(struct fm10k_ring *rx_ring, in fm10k_fetch_rx_buffer() 410 static void fm10k_type_trans(struct fm10k_ring *rx_ring, in fm10k_type_trans() 448 static unsigned int fm10k_process_skb_fields(struct fm10k_ring *rx_ring, in fm10k_process_skb_fields() 489 static bool fm10k_is_non_eop(struct fm10k_ring *rx_ring, in fm10k_is_non_eop() 520 static bool fm10k_cleanup_headers(struct fm10k_ring *rx_ring, in fm10k_cleanup_headers() 562 struct fm10k_ring *rx_ring, in fm10k_clean_rx_irq()
|
/linux-6.12.1/drivers/net/ethernet/mscc/ |
D | ocelot_fdma.c | 58 struct ocelot_fdma_rx_ring *rx_ring = &fdma->rx_ring; in ocelot_fdma_rx_ring_free() local 149 struct ocelot_fdma_rx_ring *rx_ring; in ocelot_fdma_alloc_rx_buffs() local 223 static void ocelot_fdma_rx_set_llp(struct ocelot_fdma_rx_ring *rx_ring) in ocelot_fdma_rx_set_llp() 237 struct ocelot_fdma_rx_ring *rx_ring; in ocelot_fdma_rx_restart() local 298 struct ocelot_fdma_rx_ring *rx_ring = &ocelot->fdma->rx_ring; in ocelot_fdma_reuse_rx_page() local 392 struct ocelot_fdma_rx_ring *rx_ring; in ocelot_fdma_rx_get() local 701 struct ocelot_fdma_rx_ring *rx_ring; in ocelot_fdma_free_rx_ring() local
|
/linux-6.12.1/drivers/net/ethernet/netronome/nfp/nfdk/ |
D | dp.c | 608 struct nfp_net_rx_ring *rx_ring, in nfp_nfdk_rx_give_one() 643 struct nfp_net_rx_ring *rx_ring) in nfp_nfdk_rx_ring_fill_freelist() 812 struct nfp_net_rx_ring *rx_ring, struct nfp_net_rx_buf *rxbuf, in nfp_nfdk_rx_drop() 839 struct nfp_net_rx_ring *rx_ring; in nfp_nfdk_xdp_complete() local 899 nfp_nfdk_tx_xdp_buf(struct nfp_net_dp *dp, struct nfp_net_rx_ring *rx_ring, in nfp_nfdk_tx_xdp_buf() 1027 static int nfp_nfdk_rx(struct nfp_net_rx_ring *rx_ring, int budget) in nfp_nfdk_rx() 1481 struct nfp_net_r_vector *r_vec, struct nfp_net_rx_ring *rx_ring) in nfp_ctrl_rx_one() 1556 struct nfp_net_rx_ring *rx_ring = r_vec->rx_ring; in nfp_ctrl_rx() local
|
/linux-6.12.1/drivers/net/ethernet/agere/ |
D | et131x.c | 288 struct rx_ring { struct 289 struct fbr_lookup *fbr[NUM_FBRS]; 290 void *ps_ring_virtaddr; 291 dma_addr_t ps_ring_physaddr; 292 u32 local_psr_full; 293 u32 psr_entries; 295 struct rx_status_block *rx_status_block; 296 dma_addr_t rx_status_bus; 298 struct list_head recv_list; 299 u32 num_ready_recv; [all …]
|
/linux-6.12.1/drivers/net/ethernet/netronome/nfp/nfd3/ |
D | dp.c | 588 struct nfp_net_rx_ring *rx_ring, in nfp_nfd3_rx_give_one() 627 struct nfp_net_rx_ring *rx_ring) in nfp_nfd3_rx_ring_fill_freelist() 812 struct nfp_net_rx_ring *rx_ring, struct nfp_net_rx_buf *rxbuf, in nfp_nfd3_rx_drop() 836 nfp_nfd3_tx_xdp_buf(struct nfp_net_dp *dp, struct nfp_net_rx_ring *rx_ring, in nfp_nfd3_tx_xdp_buf() 906 static int nfp_nfd3_rx(struct nfp_net_rx_ring *rx_ring, int budget) in nfp_nfd3_rx() 1319 struct nfp_net_r_vector *r_vec, struct nfp_net_rx_ring *rx_ring) in nfp_ctrl_rx_one() 1394 struct nfp_net_rx_ring *rx_ring = r_vec->rx_ring; in nfp_ctrl_rx() local
|
D | xsk.c | 16 struct nfp_net_rx_ring *rx_ring, in nfp_nfd3_xsk_tx_xdp() 56 static void nfp_nfd3_xsk_rx_skb(struct nfp_net_rx_ring *rx_ring, in nfp_nfd3_xsk_rx_skb() 115 nfp_nfd3_xsk_rx(struct nfp_net_rx_ring *rx_ring, int budget, in nfp_nfd3_xsk_rx()
|
/linux-6.12.1/drivers/net/ethernet/intel/igc/ |
D | igc_xdp.c | 48 struct igc_ring *rx_ring, *tx_ring; in igc_xdp_enable_pool() local 107 struct igc_ring *rx_ring, *tx_ring; in igc_xdp_disable_pool() local
|
/linux-6.12.1/drivers/net/can/spi/mcp251xfd/ |
D | mcp251xfd-ring.c | 201 struct mcp251xfd_rx_ring *rx_ring; in mcp251xfd_ring_init_rx() local 290 const struct mcp251xfd_rx_ring *rx_ring; in mcp251xfd_ring_init() local 474 struct mcp251xfd_rx_ring *rx_ring; in mcp251xfd_ring_alloc() local
|