Home
last modified time | relevance | path

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

12345678

/drivers/net/ethernet/intel/ice/
A Dice_txrx.c382 void ice_clean_rx_ring(struct ice_rx_ring *rx_ring) in ice_clean_rx_ring()
450 void ice_free_rx_ring(struct ice_rx_ring *rx_ring) in ice_free_rx_ring()
482 int ice_setup_rx_ring(struct ice_rx_ring *rx_ring) in ice_setup_rx_ring()
534 ice_run_xdp(struct ice_rx_ring *rx_ring, struct xdp_buff *xdp, in ice_run_xdp()
713 void ice_init_ctrl_rx_descs(struct ice_rx_ring *rx_ring, u32 count) in ice_init_ctrl_rx_descs()
877 ice_add_xdp_frag(struct ice_rx_ring *rx_ring, struct xdp_buff *xdp, in ice_add_xdp_frag()
977 static void ice_get_pgcnts(struct ice_rx_ring *rx_ring) in ice_get_pgcnts()
1003 ice_build_skb(struct ice_rx_ring *rx_ring, struct xdp_buff *xdp) in ice_build_skb()
1222 void ice_clean_ctrl_rx_irq(struct ice_rx_ring *rx_ring) in ice_clean_ctrl_rx_irq()
1425 struct ice_rx_ring *rx_ring; in __ice_update_sample() local
[all …]
A Dice_xsk.c16 static struct xdp_buff **ice_xdp_buf(struct ice_rx_ring *rx_ring, u32 idx) in ice_xdp_buf()
87 ice_qvec_dis_irq(struct ice_vsi *vsi, struct ice_rx_ring *rx_ring, in ice_qvec_dis_irq()
168 struct ice_rx_ring *rx_ring; in ice_qp_dis() local
318 ice_realloc_rx_xdp_bufs(struct ice_rx_ring *rx_ring, bool pool_present) in ice_realloc_rx_xdp_bufs()
351 struct ice_rx_ring *rx_ring; in ice_realloc_zc_buf() local
389 struct ice_rx_ring *rx_ring = vsi->rx_rings[qid]; in ice_xsk_pool_setup() local
475 static bool __ice_alloc_rx_bufs_zc(struct ice_rx_ring *rx_ring, in __ice_alloc_rx_bufs_zc()
525 bool ice_alloc_rx_bufs_zc(struct ice_rx_ring *rx_ring, in ice_alloc_rx_bufs_zc()
761 ice_run_xdp_zc(struct ice_rx_ring *rx_ring, struct xdp_buff *xdp, in ice_run_xdp_zc()
813 int ice_clean_rx_irq_zc(struct ice_rx_ring *rx_ring, in ice_clean_rx_irq_zc()
[all …]
A Dice_txrx_lib.c16 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()
188 ice_ptp_rx_hwts_to_skb(struct ice_rx_ring *rx_ring, in ice_ptp_rx_hwts_to_skb()
218 ice_process_skb_fields(struct ice_rx_ring *rx_ring, in ice_process_skb_fields()
254 ice_receive_skb(struct ice_rx_ring *rx_ring, struct sk_buff *skb, u16 vlan_tci) in ice_receive_skb()
A Dice_xsk.h42 ice_clean_rx_irq_zc(struct ice_rx_ring __always_unused *rx_ring, in ice_clean_rx_irq_zc()
50 ice_alloc_rx_bufs_zc(struct ice_rx_ring __always_unused *rx_ring, in ice_alloc_rx_bufs_zc()
69 static inline void ice_xsk_clean_rx_ring(struct ice_rx_ring *rx_ring) { } in ice_xsk_clean_rx_ring()
/drivers/net/ethernet/intel/igb/
A Digb_xsk.c37 struct igb_ring *rx_ring = adapter->rx_ring[qid]; in igb_txrx_ring_disable() local
60 struct igb_ring *rx_ring = adapter->rx_ring[qid]; in igb_txrx_ring_enable() local
102 struct igb_ring *rx_ring; in igb_xsk_pool_enable() local
142 struct igb_ring *rx_ring; in igb_xsk_pool_disable() local
200 bool igb_alloc_rx_buffers_zc(struct igb_ring *rx_ring, in igb_alloc_rx_buffers_zc()
250 void igb_clean_rx_ring_zc(struct igb_ring *rx_ring) in igb_clean_rx_ring_zc()
265 static struct sk_buff *igb_construct_skb_zc(struct igb_ring *rx_ring, in igb_construct_skb_zc()
294 static int igb_run_xdp_zc(struct igb_adapter *adapter, struct igb_ring *rx_ring, in igb_run_xdp_zc()
346 struct igb_ring *rx_ring = q_vector->rx.ring; in igb_clean_rx_irq_zc() local
/drivers/net/ethernet/intel/i40e/
A Di40e_txrx.c1365 static void i40e_reuse_rx_page(struct i40e_ring *rx_ring, in i40e_reuse_rx_page()
1459 static void i40e_clear_rx_bi(struct i40e_ring *rx_ring) in i40e_clear_rx_bi()
1468 void i40e_clean_rx_ring(struct i40e_ring *rx_ring) in i40e_clean_rx_ring()
1530 void i40e_free_rx_resources(struct i40e_ring *rx_ring) in i40e_free_rx_resources()
1552 int i40e_setup_rx_descriptors(struct i40e_ring *rx_ring) in i40e_setup_rx_descriptors()
1847 void i40e_process_skb_fields(struct i40e_ring *rx_ring, in i40e_process_skb_fields()
2019 static void i40e_put_rx_buffer(struct i40e_ring *rx_ring, in i40e_put_rx_buffer()
2234 bool i40e_is_non_eop(struct i40e_ring *rx_ring, in i40e_is_non_eop()
2331 void i40e_update_rx_stats(struct i40e_ring *rx_ring, in i40e_update_rx_stats()
2369 static void i40e_inc_ntp(struct i40e_ring *rx_ring) in i40e_inc_ntp()
[all …]
A Di40e_xsk.c10 void i40e_clear_rx_bi_zc(struct i40e_ring *rx_ring) in i40e_clear_rx_bi_zc()
16 static struct xdp_buff **i40e_rx_bi(struct i40e_ring *rx_ring, u32 idx) in i40e_rx_bi()
30 static int i40e_realloc_rx_xdp_bi(struct i40e_ring *rx_ring, bool pool_present) in i40e_realloc_rx_xdp_bi()
62 struct i40e_ring *rx_ring; in i40e_realloc_rx_bi_zc() local
198 static int i40e_run_xdp_zc(struct i40e_ring *rx_ring, struct xdp_buff *xdp, in i40e_run_xdp_zc()
241 bool i40e_alloc_rx_buffers_zc(struct i40e_ring *rx_ring, u16 count) in i40e_alloc_rx_buffers_zc()
289 static struct sk_buff *i40e_construct_skb_zc(struct i40e_ring *rx_ring, in i40e_construct_skb_zc()
344 static void i40e_handle_xdp_result_zc(struct i40e_ring *rx_ring, in i40e_handle_xdp_result_zc()
406 int i40e_clean_rx_irq_zc(struct i40e_ring *rx_ring, int budget) in i40e_clean_rx_irq_zc()
727 void i40e_xsk_clean_rx_ring(struct i40e_ring *rx_ring) in i40e_xsk_clean_rx_ring()
/drivers/net/ethernet/netronome/nfp/
A 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()
A 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()
/drivers/net/ethernet/intel/iavf/
A Diavf_txrx.c711 static void iavf_clean_rx_ring(struct iavf_ring *rx_ring) in iavf_clean_rx_ring()
742 void iavf_free_rx_resources(struct iavf_ring *rx_ring) in iavf_free_rx_resources()
768 int iavf_setup_rx_descriptors(struct iavf_ring *rx_ring) in iavf_setup_rx_descriptors()
818 static void iavf_release_rx_desc(struct iavf_ring *rx_ring, u32 val) in iavf_release_rx_desc()
837 static void iavf_receive_skb(struct iavf_ring *rx_ring, in iavf_receive_skb()
1131 static void iavf_process_skb_fields(const struct iavf_ring *rx_ring, in iavf_process_skb_fields()
1251 static bool iavf_is_non_eop(struct iavf_ring *rx_ring, in iavf_is_non_eop()
1285 iavf_extract_legacy_rx_fields(const struct iavf_ring *rx_ring, in iavf_extract_legacy_rx_fields()
1331 iavf_extract_flex_rx_fields(const struct iavf_ring *rx_ring, in iavf_extract_flex_rx_fields()
1364 iavf_extract_rx_fields(const struct iavf_ring *rx_ring, in iavf_extract_rx_fields()
[all …]
/drivers/net/ethernet/amazon/ena/
A Dena_netdev.c639 struct ena_ring *rx_ring; in ena_refill_all_rx_bufs() local
1369 struct ena_ring *rx_ring) in ena_unmask_interrupt()
1402 struct ena_ring *rx_ring) in ena_update_ring_numa_node()
1440 struct ena_ring *tx_ring, *rx_ring; in ena_io_poll() local
1773 struct ena_ring *rx_ring, *tx_ring; in ena_init_napi_in_range() local
1961 struct ena_ring *rx_ring; in ena_create_io_rx_queue() local
2365 struct ena_ring *rx_ring; in ena_set_rx_copybreak() local
2810 struct ena_ring *rx_ring, *tx_ring; in ena_get_stats64() local
3392 struct ena_ring *rx_ring) in check_for_rx_interrupt_queue()
3509 struct ena_ring *rx_ring; in check_for_missing_completions() local
[all …]
A Dena_xdp.c196 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
/drivers/net/ethernet/freescale/enetc/
A Denetc.c1094 static void enetc_reuse_page(struct enetc_bdr *rx_ring, in enetc_reuse_page()
1144 struct enetc_bdr *rx_ring; in enetc_recycle_xdp_tx_buff() local
1272 static bool enetc_new_page(struct enetc_bdr *rx_ring, in enetc_new_page()
1364 static void enetc_get_offloads(struct enetc_bdr *rx_ring, in enetc_get_offloads()
1421 static void enetc_put_rx_buff(struct enetc_bdr *rx_ring, in enetc_put_rx_buff()
1436 static void enetc_flip_rx_buff(struct enetc_bdr *rx_ring, in enetc_flip_rx_buff()
1850 struct enetc_bdr *rx_ring, in enetc_rx_swbd_to_xdp_tx_swbd()
2048 struct enetc_bdr *rx_ring = &v->rx_ring; in enetc_poll() local
2284 struct enetc_bdr *rx_ring = priv->rx_ring[i]; in enetc_alloc_rx_resources() local
3177 struct enetc_bdr *rx_ring = priv->rx_ring[i]; in enetc_reconfigure_xdp_cb() local
[all …]
/drivers/net/ethernet/intel/ixgbe/
A 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()
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()
A Dixgbe_main.c592 struct ixgbe_ring *rx_ring; in ixgbe_dump() local
1525 struct ixgbe_ring *rx_ring, in ixgbe_update_rx_dca()
2092 bool ixgbe_cleanup_headers(struct ixgbe_ring *rx_ring, in ixgbe_cleanup_headers()
2406 struct ixgbe_ring *rx_ring, in ixgbe_run_xdp()
2502 struct ixgbe_ring *rx_ring, in ixgbe_clean_rx_irq()
4142 struct ixgbe_ring *rx_ring) in ixgbe_configure_srrctl()
4700 struct ixgbe_ring *rx_ring; in ixgbe_set_rx_buffer_len() local
7154 struct ixgbe_ring *rx_ring) in ixgbe_setup_rx_resources()
11129 struct ixgbe_ring *rx_ring) in ixgbe_disable_rxr_hw()
11227 struct ixgbe_ring *rx_ring, *tx_ring, *xdp_ring; in ixgbe_txrx_ring_disable() local
[all …]
/drivers/net/ethernet/intel/ixgbevf/
A Dixgbevf_main.c552 static void ixgbevf_put_rx_buffer(struct ixgbevf_ring *rx_ring, in ixgbevf_put_rx_buffer()
586 static bool ixgbevf_is_non_eop(struct ixgbevf_ring *rx_ring, in ixgbevf_is_non_eop()
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()
1049 struct ixgbevf_ring *rx_ring, in ixgbevf_run_xdp()
1117 struct ixgbevf_ring *rx_ring, in ixgbevf_clean_rx_irq()
1976 struct ixgbevf_ring *rx_ring) in ixgbevf_set_rx_buffer_len()
2027 struct ixgbevf_ring *rx_ring = adapter->rx_ring[i]; in ixgbevf_configure_rx() local
3159 struct ixgbevf_ring *rx_ring = adapter->rx_ring[i]; in ixgbevf_update_stats() local
3495 struct ixgbevf_ring *rx_ring) in ixgbevf_setup_rx_resources()
[all …]
/drivers/net/ethernet/wangxun/libwx/
A Dwx_lib.c166 static void wx_dma_sync_frag(struct wx_ring *rx_ring, in wx_dma_sync_frag()
221 static void wx_put_rx_buffer(struct wx_ring *rx_ring, in wx_put_rx_buffer()
231 static struct sk_buff *wx_build_skb(struct wx_ring *rx_ring, in wx_build_skb()
295 static bool wx_alloc_mapped_page(struct wx_ring *rx_ring, in wx_alloc_mapped_page()
402 static bool wx_is_non_eop(struct wx_ring *rx_ring, in wx_is_non_eop()
469 static bool wx_cleanup_headers(struct wx_ring *rx_ring, in wx_cleanup_headers()
594 static void wx_process_skb_fields(struct wx_ring *rx_ring, in wx_process_skb_fields()
628 struct wx_ring *rx_ring, in wx_clean_rx_irq()
2413 static void wx_clean_rx_ring(struct wx_ring *rx_ring) in wx_clean_rx_ring()
2475 static void wx_free_rx_resources(struct wx_ring *rx_ring) in wx_free_rx_resources()
[all …]
/drivers/net/ethernet/broadcom/
A Dbcm4908_enet.c86 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
/drivers/net/ethernet/intel/fm10k/
A Dfm10k_main.c74 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()
/drivers/net/ethernet/agere/
A Det131x.c288 struct rx_ring { struct
290 void *ps_ring_virtaddr;
291 dma_addr_t ps_ring_physaddr;
292 u32 local_psr_full;
293 u32 psr_entries;
296 dma_addr_t rx_status_bus;
298 struct list_head recv_list;
299 u32 num_ready_recv;
301 u32 num_rfd;
303 bool unfinished_receives;
[all …]
/drivers/net/ethernet/mscc/
A Docelot_fdma.c58 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
/drivers/net/ethernet/netronome/nfp/nfdk/
A Ddp.c608 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
/drivers/net/ethernet/netronome/nfp/nfd3/
A Ddp.c588 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
A 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()
115 nfp_nfd3_xsk_rx(struct nfp_net_rx_ring *rx_ring, int budget, in nfp_nfd3_xsk_rx()
/drivers/net/can/spi/mcp251xfd/
A Dmcp251xfd-ring.c201 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

Completed in 881 milliseconds

12345678