Home
last modified time | relevance | path

Searched defs:rx_ring (Results 1 – 25 of 180) sorted by relevance

12345678

/linux-5.19.10/drivers/net/ethernet/intel/ice/
Dice_xsk.c15 static struct xdp_buff **ice_xdp_buf(struct ice_rx_ring *rx_ring, u32 idx) in ice_xdp_buf()
77 ice_qvec_dis_irq(struct ice_vsi *vsi, struct ice_rx_ring *rx_ring, in ice_qvec_dis_irq()
115 struct ice_rx_ring *rx_ring; in ice_qvec_cfg_msix() local
157 struct ice_rx_ring *rx_ring; in ice_qp_dis() local
216 struct ice_rx_ring *rx_ring; in ice_qp_ena() local
330 ice_realloc_rx_xdp_bufs(struct ice_rx_ring *rx_ring, bool pool_present) in ice_realloc_rx_xdp_bufs()
363 struct ice_rx_ring *rx_ring; in ice_realloc_zc_buf() local
405 struct ice_rx_ring *rx_ring = vsi->rx_rings[qid]; in ice_xsk_pool_setup() local
485 static bool __ice_alloc_rx_bufs_zc(struct ice_rx_ring *rx_ring, u16 count) in __ice_alloc_rx_bufs_zc()
534 bool ice_alloc_rx_bufs_zc(struct ice_rx_ring *rx_ring, u16 count) in ice_alloc_rx_bufs_zc()
[all …]
Dice_txrx.c383 void ice_clean_rx_ring(struct ice_rx_ring *rx_ring) in ice_clean_rx_ring()
449 void ice_free_rx_ring(struct ice_rx_ring *rx_ring) in ice_free_rx_ring()
481 int ice_setup_rx_ring(struct ice_rx_ring *rx_ring) in ice_setup_rx_ring()
527 ice_rx_frame_truesize(struct ice_rx_ring *rx_ring, unsigned int __maybe_unused size) in ice_rx_frame_truesize()
552 ice_run_xdp(struct ice_rx_ring *rx_ring, struct xdp_buff *xdp, in ice_run_xdp()
655 ice_alloc_mapped_page(struct ice_rx_ring *rx_ring, struct ice_rx_buf *bi) in ice_alloc_mapped_page()
706 bool ice_alloc_rx_bufs(struct ice_rx_ring *rx_ring, u16 cleaned_count) in ice_alloc_rx_bufs()
835 ice_add_rx_frag(struct ice_rx_ring *rx_ring, struct ice_rx_buf *rx_buf, in ice_add_rx_frag()
861 ice_reuse_rx_page(struct ice_rx_ring *rx_ring, struct ice_rx_buf *old_buf) in ice_reuse_rx_page()
892 ice_get_rx_buf(struct ice_rx_ring *rx_ring, const unsigned int size, in ice_get_rx_buf()
[all …]
Dice_txrx_lib.c15 void ice_release_rx_desc(struct ice_rx_ring *rx_ring, u16 val) in ice_release_rx_desc()
73 ice_rx_hash(struct ice_rx_ring *rx_ring, union ice_32b_rx_flex_desc *rx_desc, in ice_rx_hash()
185 ice_process_skb_fields(struct ice_rx_ring *rx_ring, in ice_process_skb_fields()
210 ice_receive_skb(struct ice_rx_ring *rx_ring, struct sk_buff *skb, u16 vlan_tag) in ice_receive_skb()
Dice_xsk.h49 ice_clean_rx_irq_zc(struct ice_rx_ring __always_unused *rx_ring, in ice_clean_rx_irq_zc()
56 ice_alloc_rx_bufs_zc(struct ice_rx_ring __always_unused *rx_ring, in ice_alloc_rx_bufs_zc()
74 static inline void ice_xsk_clean_rx_ring(struct ice_rx_ring *rx_ring) { } in ice_xsk_clean_rx_ring()
/linux-5.19.10/drivers/net/ethernet/netronome/nfp/
Dnfp_net_dp.c76 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()
Dnfp_net_xsk.c17 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-5.19.10/drivers/net/ethernet/intel/iavf/
Diavf_txrx.c687 void iavf_clean_rx_ring(struct iavf_ring *rx_ring) in iavf_clean_rx_ring()
746 void iavf_free_rx_resources(struct iavf_ring *rx_ring) in iavf_free_rx_resources()
765 int iavf_setup_rx_descriptors(struct iavf_ring *rx_ring) in iavf_setup_rx_descriptors()
807 static inline void iavf_release_rx_desc(struct iavf_ring *rx_ring, u32 val) in iavf_release_rx_desc()
829 static inline unsigned int iavf_rx_offset(struct iavf_ring *rx_ring) in iavf_rx_offset()
842 static bool iavf_alloc_mapped_page(struct iavf_ring *rx_ring, in iavf_alloc_mapped_page()
892 static void iavf_receive_skb(struct iavf_ring *rx_ring, in iavf_receive_skb()
914 bool iavf_alloc_rx_buffers(struct iavf_ring *rx_ring, u16 cleaned_count) in iavf_alloc_rx_buffers()
1117 void iavf_process_skb_fields(struct iavf_ring *rx_ring, in iavf_process_skb_fields()
1144 static bool iavf_cleanup_headers(struct iavf_ring *rx_ring, struct sk_buff *skb) in iavf_cleanup_headers()
[all …]
/linux-5.19.10/drivers/net/ethernet/intel/i40e/
Di40e_txrx.c686 static void i40e_fd_handle_status(struct i40e_ring *rx_ring, u64 qword0_raw, in i40e_fd_handle_status()
1354 static struct i40e_rx_buffer *i40e_rx_bi(struct i40e_ring *rx_ring, u32 idx) in i40e_rx_bi()
1366 static void i40e_reuse_rx_page(struct i40e_ring *rx_ring, in i40e_reuse_rx_page()
1400 void i40e_clean_programming_status(struct i40e_ring *rx_ring, u64 qword0_raw, in i40e_clean_programming_status()
1461 int i40e_alloc_rx_bi(struct i40e_ring *rx_ring) in i40e_alloc_rx_bi()
1469 static void i40e_clear_rx_bi(struct i40e_ring *rx_ring) in i40e_clear_rx_bi()
1478 void i40e_clean_rx_ring(struct i40e_ring *rx_ring) in i40e_clean_rx_ring()
1544 void i40e_free_rx_resources(struct i40e_ring *rx_ring) in i40e_free_rx_resources()
1566 int i40e_setup_rx_descriptors(struct i40e_ring *rx_ring) in i40e_setup_rx_descriptors()
1607 void i40e_release_rx_desc(struct i40e_ring *rx_ring, u32 val) in i40e_release_rx_desc()
[all …]
Di40e_xsk.c13 int i40e_alloc_rx_bi_zc(struct i40e_ring *rx_ring) in i40e_alloc_rx_bi_zc()
21 void i40e_clear_rx_bi_zc(struct i40e_ring *rx_ring) in i40e_clear_rx_bi_zc()
27 static struct xdp_buff **i40e_rx_bi(struct i40e_ring *rx_ring, u32 idx) in i40e_rx_bi()
149 static int i40e_run_xdp_zc(struct i40e_ring *rx_ring, struct xdp_buff *xdp) in i40e_run_xdp_zc()
196 bool i40e_alloc_rx_buffers_zc(struct i40e_ring *rx_ring, u16 count) in i40e_alloc_rx_buffers_zc()
244 static struct sk_buff *i40e_construct_skb_zc(struct i40e_ring *rx_ring, in i40e_construct_skb_zc()
272 static void i40e_handle_xdp_result_zc(struct i40e_ring *rx_ring, in i40e_handle_xdp_result_zc()
336 int i40e_clean_rx_irq_zc(struct i40e_ring *rx_ring, int budget) in i40e_clean_rx_irq_zc()
630 void i40e_xsk_clean_rx_ring(struct i40e_ring *rx_ring) in i40e_xsk_clean_rx_ring()
/linux-5.19.10/drivers/staging/qlge/
Dqlge_main.c963 struct rx_ring *rx_ring) in qlge_get_curr_lchunk()
981 static void qlge_update_cq(struct rx_ring *rx_ring) in qlge_update_cq()
991 static void qlge_write_cq_idx(struct rx_ring *rx_ring) in qlge_write_cq_idx()
1002 static int qlge_refill_sb(struct rx_ring *rx_ring, in qlge_refill_sb()
1035 static int qlge_refill_lb(struct rx_ring *rx_ring, in qlge_refill_lb()
1085 struct rx_ring *rx_ring = QLGE_BQ_CONTAINER(bq); in qlge_refill_bq() local
1140 static void qlge_update_buffer_queues(struct rx_ring *rx_ring, gfp_t gfp, in qlge_update_buffer_queues()
1167 struct rx_ring *rx_ring = container_of(work, struct rx_ring, in qlge_slow_refill() local
1357 struct rx_ring *rx_ring) in qlge_categorize_rx_err()
1413 struct rx_ring *rx_ring, in qlge_process_mac_rx_gro_page()
[all …]
/linux-5.19.10/drivers/net/ethernet/freescale/enetc/
Denetc.c716 static void enetc_reuse_page(struct enetc_bdr *rx_ring, in enetc_reuse_page()
766 struct enetc_bdr *rx_ring; in enetc_recycle_xdp_tx_buff() local
892 static bool enetc_new_page(struct enetc_bdr *rx_ring, in enetc_new_page()
920 static int enetc_refill_rx_ring(struct enetc_bdr *rx_ring, const int buff_cnt) in enetc_refill_rx_ring()
986 static void enetc_get_offloads(struct enetc_bdr *rx_ring, in enetc_get_offloads()
1034 static struct enetc_rx_swbd *enetc_get_rx_buff(struct enetc_bdr *rx_ring, in enetc_get_rx_buff()
1046 static void enetc_put_rx_buff(struct enetc_bdr *rx_ring, in enetc_put_rx_buff()
1061 static void enetc_flip_rx_buff(struct enetc_bdr *rx_ring, in enetc_flip_rx_buff()
1076 static struct sk_buff *enetc_map_rx_buff_to_skb(struct enetc_bdr *rx_ring, in enetc_map_rx_buff_to_skb()
1098 static void enetc_add_rx_buff_to_skb(struct enetc_bdr *rx_ring, int i, in enetc_add_rx_buff_to_skb()
[all …]
/linux-5.19.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_xsk.c98 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()
239 static void ixgbe_inc_ntc(struct ixgbe_ring *rx_ring) in ixgbe_inc_ntc()
249 struct ixgbe_ring *rx_ring, in ixgbe_clean_rx_irq_zc()
380 void ixgbe_xsk_clean_rx_ring(struct ixgbe_ring *rx_ring) in ixgbe_xsk_clean_rx_ring()
Dixgbe_main.c577 struct ixgbe_ring *rx_ring; in ixgbe_dump() local
1313 struct ixgbe_ring *rx_ring, in ixgbe_update_rx_dca()
1526 static unsigned int ixgbe_rx_offset(struct ixgbe_ring *rx_ring) in ixgbe_rx_offset()
1531 static bool ixgbe_alloc_mapped_page(struct ixgbe_ring *rx_ring, in ixgbe_alloc_mapped_page()
1580 void ixgbe_alloc_rx_buffers(struct ixgbe_ring *rx_ring, u16 cleaned_count) in ixgbe_alloc_rx_buffers()
1656 static void ixgbe_update_rsc_stats(struct ixgbe_ring *rx_ring, in ixgbe_update_rsc_stats()
1682 void ixgbe_process_skb_fields(struct ixgbe_ring *rx_ring, in ixgbe_process_skb_fields()
1734 static bool ixgbe_is_non_eop(struct ixgbe_ring *rx_ring, in ixgbe_is_non_eop()
1787 static void ixgbe_pull_tail(struct ixgbe_ring *rx_ring, in ixgbe_pull_tail()
1827 static void ixgbe_dma_sync_frag(struct ixgbe_ring *rx_ring, in ixgbe_dma_sync_frag()
[all …]
/linux-5.19.10/drivers/net/ethernet/amazon/ena/
Dena_netdev.c375 static int ena_xdp_execute(struct ena_ring *rx_ring, struct xdp_buff *xdp) in ena_xdp_execute()
478 static int ena_xdp_register_rxq_info(struct ena_ring *rx_ring) in ena_xdp_register_rxq_info()
505 static void ena_xdp_unregister_rxq_info(struct ena_ring *rx_ring) in ena_xdp_unregister_rxq_info()
515 struct ena_ring *rx_ring; in ena_xdp_exchange_program_rx_in_range() local
866 struct ena_ring *rx_ring = &adapter->rx_ring[qid]; in ena_setup_rx_resources() local
923 struct ena_ring *rx_ring = &adapter->rx_ring[qid]; in ena_free_rx_resources() local
973 static struct page *ena_alloc_map_page(struct ena_ring *rx_ring, in ena_alloc_map_page()
1003 static int ena_alloc_rx_buffer(struct ena_ring *rx_ring, in ena_alloc_rx_buffer()
1037 static void ena_unmap_rx_buff(struct ena_ring *rx_ring, in ena_unmap_rx_buff()
1047 static void ena_free_rx_page(struct ena_ring *rx_ring, in ena_free_rx_page()
[all …]
/linux-5.19.10/drivers/net/ethernet/broadcom/
Dbcm4908_enet.c75 struct bcm4908_enet_dma_ring rx_ring; member
188 struct bcm4908_enet_dma_ring *rx_ring = &enet->rx_ring; in bcm4908_enet_dma_free() local
206 struct bcm4908_enet_dma_ring *rx_ring = &enet->rx_ring; in bcm4908_enet_dma_alloc() local
311 struct bcm4908_enet_dma_ring *rx_ring = &enet->rx_ring; in bcm4908_enet_dma_uninit() local
328 struct bcm4908_enet_dma_ring *rx_ring = &enet->rx_ring; in bcm4908_enet_dma_init() local
442 struct bcm4908_enet_dma_ring *rx_ring = &enet->rx_ring; in bcm4908_enet_open() local
492 struct bcm4908_enet_dma_ring *rx_ring = &enet->rx_ring; in bcm4908_enet_stop() local
572 struct bcm4908_enet_dma_ring *rx_ring = container_of(napi, struct bcm4908_enet_dma_ring, napi); in bcm4908_enet_poll_rx() local
/linux-5.19.10/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf_main.c506 static void ixgbevf_process_skb_fields(struct ixgbevf_ring *rx_ring, in ixgbevf_process_skb_fields()
528 struct ixgbevf_rx_buffer *ixgbevf_get_rx_buffer(struct ixgbevf_ring *rx_ring, in ixgbevf_get_rx_buffer()
548 static void ixgbevf_put_rx_buffer(struct ixgbevf_ring *rx_ring, in ixgbevf_put_rx_buffer()
582 static bool ixgbevf_is_non_eop(struct ixgbevf_ring *rx_ring, in ixgbevf_is_non_eop()
599 static inline unsigned int ixgbevf_rx_offset(struct ixgbevf_ring *rx_ring) in ixgbevf_rx_offset()
604 static bool ixgbevf_alloc_mapped_page(struct ixgbevf_ring *rx_ring, in ixgbevf_alloc_mapped_page()
650 static void ixgbevf_alloc_rx_buffers(struct ixgbevf_ring *rx_ring, in ixgbevf_alloc_rx_buffers()
732 static bool ixgbevf_cleanup_headers(struct ixgbevf_ring *rx_ring, in ixgbevf_cleanup_headers()
765 static void ixgbevf_reuse_rx_page(struct ixgbevf_ring *rx_ring, in ixgbevf_reuse_rx_page()
827 static void ixgbevf_add_rx_frag(struct ixgbevf_ring *rx_ring, in ixgbevf_add_rx_frag()
[all …]
/linux-5.19.10/drivers/net/ethernet/intel/fm10k/
Dfm10k_main.c67 static bool fm10k_alloc_mapped_page(struct fm10k_ring *rx_ring, in fm10k_alloc_mapped_page()
109 void fm10k_alloc_rx_buffers(struct fm10k_ring *rx_ring, u16 cleaned_count) in fm10k_alloc_rx_buffers()
175 static void fm10k_reuse_rx_page(struct fm10k_ring *rx_ring, in fm10k_reuse_rx_page()
291 static struct sk_buff *fm10k_fetch_rx_buffer(struct fm10k_ring *rx_ring, in fm10k_fetch_rx_buffer()
403 static void fm10k_type_trans(struct fm10k_ring *rx_ring, in fm10k_type_trans()
441 static unsigned int fm10k_process_skb_fields(struct fm10k_ring *rx_ring, in fm10k_process_skb_fields()
482 static bool fm10k_is_non_eop(struct fm10k_ring *rx_ring, in fm10k_is_non_eop()
513 static bool fm10k_cleanup_headers(struct fm10k_ring *rx_ring, in fm10k_cleanup_headers()
555 struct fm10k_ring *rx_ring, in fm10k_clean_rx_irq()
/linux-5.19.10/drivers/net/ethernet/netronome/nfp/nfdk/
Ddp.c595 struct nfp_net_rx_ring *rx_ring, in nfp_nfdk_rx_give_one()
630 struct nfp_net_rx_ring *rx_ring) in nfp_nfdk_rx_ring_fill_freelist()
779 struct nfp_net_rx_ring *rx_ring, struct nfp_net_rx_buf *rxbuf, in nfp_nfdk_rx_drop()
806 struct nfp_net_rx_ring *rx_ring; in nfp_nfdk_xdp_complete() local
866 nfp_nfdk_tx_xdp_buf(struct nfp_net_dp *dp, struct nfp_net_rx_ring *rx_ring, in nfp_nfdk_tx_xdp_buf()
994 static int nfp_nfdk_rx(struct nfp_net_rx_ring *rx_ring, int budget) in nfp_nfdk_rx()
1439 struct nfp_net_r_vector *r_vec, struct nfp_net_rx_ring *rx_ring) in nfp_ctrl_rx_one()
1514 struct nfp_net_rx_ring *rx_ring = r_vec->rx_ring; in nfp_ctrl_rx() local
/linux-5.19.10/drivers/net/ethernet/mscc/
Docelot_fdma.c59 struct ocelot_fdma_rx_ring *rx_ring = &fdma->rx_ring; in ocelot_fdma_rx_ring_free() local
150 struct ocelot_fdma_rx_ring *rx_ring; in ocelot_fdma_alloc_rx_buffs() local
224 static void ocelot_fdma_rx_set_llp(struct ocelot_fdma_rx_ring *rx_ring) in ocelot_fdma_rx_set_llp()
238 struct ocelot_fdma_rx_ring *rx_ring; in ocelot_fdma_rx_restart() local
299 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
702 struct ocelot_fdma_rx_ring *rx_ring; in ocelot_fdma_free_rx_ring() local
/linux-5.19.10/drivers/net/ethernet/netronome/nfp/nfd3/
Ddp.c549 struct nfp_net_rx_ring *rx_ring, in nfp_nfd3_rx_give_one()
584 struct nfp_net_rx_ring *rx_ring) in nfp_nfd3_rx_ring_fill_freelist()
749 struct nfp_net_rx_ring *rx_ring, struct nfp_net_rx_buf *rxbuf, in nfp_nfd3_rx_drop()
773 nfp_nfd3_tx_xdp_buf(struct nfp_net_dp *dp, struct nfp_net_rx_ring *rx_ring, in nfp_nfd3_tx_xdp_buf()
843 static int nfp_nfd3_rx(struct nfp_net_rx_ring *rx_ring, int budget) in nfp_nfd3_rx()
1248 struct nfp_net_r_vector *r_vec, struct nfp_net_rx_ring *rx_ring) in nfp_ctrl_rx_one()
1323 struct nfp_net_rx_ring *rx_ring = r_vec->rx_ring; in nfp_ctrl_rx() local
Dxsk.c16 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()
112 nfp_nfd3_xsk_rx(struct nfp_net_rx_ring *rx_ring, int budget, in nfp_nfd3_xsk_rx()
/linux-5.19.10/drivers/net/ethernet/agere/
Det131x.c288 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-5.19.10/drivers/net/ethernet/intel/igc/
Digc_xdp.c43 struct igc_ring *rx_ring, *tx_ring; in igc_xdp_enable_pool() local
102 struct igc_ring *rx_ring, *tx_ring; in igc_xdp_disable_pool() local
/linux-5.19.10/drivers/net/can/spi/mcp251xfd/
Dmcp251xfd-ring.c191 struct mcp251xfd_rx_ring *rx_ring; in mcp251xfd_ring_init_rx() local
279 const struct mcp251xfd_rx_ring *rx_ring; in mcp251xfd_ring_init() local
455 struct mcp251xfd_rx_ring *rx_ring; in mcp251xfd_ring_alloc() local
/linux-5.19.10/drivers/net/wireless/realtek/rtw89/
Dpci.c121 struct rtw89_pci_rx_ring *rx_ring) in rtw89_pci_rxbd_recalc()
202 struct rtw89_pci_rx_ring *rx_ring) in rtw89_pci_rxbd_deliver_skbs()
288 struct rtw89_pci_rx_ring *rx_ring, in rtw89_pci_rxbd_deliver()
313 struct rtw89_pci_rx_ring *rx_ring; in rtw89_pci_poll_rxq_dma() local
487 struct rtw89_pci_rx_ring *rx_ring, in rtw89_pci_release_tx_skbs()
540 struct rtw89_pci_rx_ring *rx_ring, in rtw89_pci_release_tx()
565 struct rtw89_pci_rx_ring *rx_ring; in rtw89_pci_poll_rpq_dma() local
592 struct rtw89_pci_rx_ring *rx_ring; in rtw89_pci_isr_rxd_unavail() local
940 struct rtw89_pci_rx_ring *rx_ring; in __rtw89_pci_check_and_reclaim_tx_resource() local
1354 struct rtw89_pci_rx_ring *rx_ring; in rtw89_pci_reset_trx_rings() local
[all …]

12345678