Home
last modified time | relevance | path

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

1234567

/linux/drivers/net/ethernet/netronome/nfp/
H 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()
H 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()
H A Dnfp_net_xsk.h18 static inline int nfp_net_rx_space(struct nfp_net_rx_ring *rx_ring) in nfp_net_rx_space()
/linux/drivers/net/ethernet/intel/i40e/
H 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()
H A Di40e_txrx.c680 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/drivers/net/ethernet/intel/ice/
H 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()
550 ice_construct_skb_zc(struct ice_rx_ring *rx_ring, struct xdp_buff *xdp) in ice_construct_skb_zc()
761 ice_run_xdp_zc(struct ice_rx_ring *rx_ring, struct xdp_buff *xdp, in ice_run_xdp_zc()
[all …]
H 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()
H 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()
H A Dice_base.c180 struct ice_rx_ring *rx_ring; in ice_free_q_vector() local
366 static unsigned int ice_rx_offset(struct ice_rx_ring *rx_ring) in ice_rx_offset()
519 static unsigned int ice_get_frame_sz(struct ice_rx_ring *rx_ring) in ice_get_frame_sz()
854 struct ice_rx_ring *rx_ring = vsi->rx_rings[q_id]; in ice_vsi_map_rings_to_vectors() local
/linux/drivers/net/ethernet/intel/iavf/
H 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()
859 bool iavf_alloc_rx_buffers(struct iavf_ring *rx_ring, u16 cleaned_count) in iavf_alloc_rx_buffers()
1092 static void iavf_flex_rx_tstamp(const struct iavf_ring *rx_ring, __le64 qw2, in iavf_flex_rx_tstamp()
1131 static void iavf_process_skb_fields(const struct iavf_ring *rx_ring, in iavf_process_skb_fields()
1176 static bool iavf_cleanup_headers(struct iavf_ring *rx_ring, struct sk_buff *skb) in iavf_cleanup_headers()
1249 static bool iavf_is_non_eop(struct iavf_ring *rx_ring, in iavf_is_non_eop()
[all …]
/linux/drivers/net/ethernet/amazon/ena/
H A Dena_netdev.c366 struct ena_ring *rx_ring = &adapter->rx_ring[qid]; in ena_setup_rx_resources() local
424 struct ena_ring *rx_ring = &adapter->rx_ring[qid]; in ena_free_rx_resources() local
474 static struct page *ena_alloc_map_page(struct ena_ring *rx_ring, in ena_alloc_map_page()
503 static int ena_alloc_rx_buffer(struct ena_ring *rx_ring, in ena_alloc_rx_buffer()
539 static void ena_unmap_rx_buff_attrs(struct ena_ring *rx_ring, in ena_unmap_rx_buff_attrs()
547 static void ena_free_rx_page(struct ena_ring *rx_ring, in ena_free_rx_page()
564 static int ena_refill_rx_bufs(struct ena_ring *rx_ring, u32 num) in ena_refill_rx_bufs()
619 struct ena_ring *rx_ring = &adapter->rx_ring[qid]; in ena_free_rx_bufs() local
635 struct ena_ring *rx_ring; in ena_refill_all_rx_bufs() local
892 static struct sk_buff *ena_alloc_skb(struct ena_ring *rx_ring, void *first_frag, u16 len) in ena_alloc_skb()
[all …]
H 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
/linux/drivers/net/ethernet/freescale/enetc/
H 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()
1300 static int enetc_refill_rx_ring(struct enetc_bdr *rx_ring, const int buff_cnt) in enetc_refill_rx_ring()
1364 static void enetc_get_offloads(struct enetc_bdr *rx_ring, in enetc_get_offloads()
1411 static struct enetc_rx_swbd *enetc_get_rx_buff(struct enetc_bdr *rx_ring, in enetc_get_rx_buff()
1423 static void enetc_put_rx_buff(struct enetc_bdr *rx_ring, in enetc_put_rx_buff()
1438 static void enetc_flip_rx_buff(struct enetc_bdr *rx_ring, in enetc_flip_rx_buff()
1453 static struct sk_buff *enetc_map_rx_buff_to_skb(struct enetc_bdr *rx_ring, in enetc_map_rx_buff_to_skb()
1475 static void enetc_add_rx_buff_to_skb(struct enetc_bdr *rx_ring, int i, in enetc_add_rx_buff_to_skb()
[all …]
/linux/drivers/net/ethernet/wangxun/libwx/
H A Dwx_lib.c166 static void wx_dma_sync_frag(struct wx_ring *rx_ring, in wx_dma_sync_frag()
183 static struct wx_rx_buffer *wx_get_rx_buffer(struct wx_ring *rx_ring, in wx_get_rx_buffer()
225 static void wx_put_rx_buffer(struct wx_ring *rx_ring, in wx_put_rx_buffer()
239 static struct sk_buff *wx_build_skb(struct wx_ring *rx_ring, in wx_build_skb()
303 static bool wx_alloc_mapped_page(struct wx_ring *rx_ring, in wx_alloc_mapped_page()
330 void wx_alloc_rx_buffers(struct wx_ring *rx_ring, u16 cleaned_count) in wx_alloc_rx_buffers()
408 static bool wx_is_non_eop(struct wx_ring *rx_ring, in wx_is_non_eop()
475 static bool wx_cleanup_headers(struct wx_ring *rx_ring, in wx_cleanup_headers()
600 static void wx_process_skb_fields(struct wx_ring *rx_ring, in wx_process_skb_fields()
634 struct wx_ring *rx_ring, in wx_clean_rx_irq()
[all …]
/linux/drivers/net/ethernet/intel/ixgbevf/
H A Dixgbevf_main.c510 static void ixgbevf_process_skb_fields(struct ixgbevf_ring *rx_ring, in ixgbevf_process_skb_fields()
532 struct ixgbevf_rx_buffer *ixgbevf_get_rx_buffer(struct ixgbevf_ring *rx_ring, in ixgbevf_get_rx_buffer()
552 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()
603 static inline unsigned int ixgbevf_rx_offset(struct ixgbevf_ring *rx_ring) in ixgbevf_rx_offset()
608 static bool ixgbevf_alloc_mapped_page(struct ixgbevf_ring *rx_ring, in ixgbevf_alloc_mapped_page()
654 static void ixgbevf_alloc_rx_buffers(struct ixgbevf_ring *rx_ring, in ixgbevf_alloc_rx_buffers()
736 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/drivers/net/ethernet/intel/fm10k/
H 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()
/linux/drivers/net/ethernet/mscc/
H 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
/linux/drivers/net/ethernet/agere/
H A 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/drivers/net/ethernet/intel/igc/
H A Digc_xdp.c61 struct igc_ring *rx_ring, *tx_ring; in igc_xdp_enable_pool() local
120 struct igc_ring *rx_ring, *tx_ring; in igc_xdp_disable_pool() local
H A Digc_main.c408 static void igc_clean_rx_ring_page_shared(struct igc_ring *rx_ring) in igc_clean_rx_ring_page_shared()
495 void igc_free_rx_resources(struct igc_ring *rx_ring) in igc_free_rx_resources()
534 int igc_setup_rx_resources(struct igc_ring *rx_ring) in igc_setup_rx_resources()
1807 static void igc_rx_vlan(struct igc_ring *rx_ring, in igc_rx_vlan()
1836 static void igc_process_skb_fields(struct igc_ring *rx_ring, in igc_process_skb_fields()
1875 static struct igc_rx_buffer *igc_get_rx_buffer(struct igc_ring *rx_ring, in igc_get_rx_buffer()
1937 static void igc_add_rx_frag(struct igc_ring *rx_ring, in igc_add_rx_frag()
1957 static struct sk_buff *igc_build_skb(struct igc_ring *rx_ring, in igc_build_skb()
1984 static struct sk_buff *igc_construct_skb(struct igc_ring *rx_ring, in igc_construct_skb()
2045 static void igc_reuse_rx_page(struct igc_ring *rx_ring, in igc_reuse_rx_page()
[all …]
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_main.c591 struct ixgbe_ring *rx_ring; in ixgbe_dump() local
1149 void ixgbe_update_rx_ring_stats(struct ixgbe_ring *rx_ring, in ixgbe_update_rx_ring_stats()
1354 struct ixgbe_ring *rx_ring, in ixgbe_update_rx_dca()
1567 static unsigned int ixgbe_rx_offset(struct ixgbe_ring *rx_ring) in ixgbe_rx_offset()
1572 static bool ixgbe_alloc_mapped_page(struct ixgbe_ring *rx_ring, in ixgbe_alloc_mapped_page()
1621 void ixgbe_alloc_rx_buffers(struct ixgbe_ring *rx_ring, u16 cleaned_count) in ixgbe_alloc_rx_buffers()
1697 static void ixgbe_update_rsc_stats(struct ixgbe_ring *rx_ring, in ixgbe_update_rsc_stats()
1723 void ixgbe_process_skb_fields(struct ixgbe_ring *rx_ring, in ixgbe_process_skb_fields()
1775 static bool ixgbe_is_non_eop(struct ixgbe_ring *rx_ring, in ixgbe_is_non_eop()
1828 static void ixgbe_pull_tail(struct ixgbe_ring *rx_ring, in ixgbe_pull_tail()
[all …]
/linux/drivers/net/ethernet/intel/igb/
H A Digb_main.c328 struct igb_ring *rx_ring; in igb_dump() local
4444 int igb_setup_rx_resources(struct igb_ring *rx_ring) in igb_setup_rx_resources()
4847 struct igb_ring *rx_ring) in igb_set_rx_buffer_len()
4887 struct igb_ring *rx_ring = adapter->rx_ring[i]; in igb_configure_rx() local
5026 void igb_free_rx_resources(struct igb_ring *rx_ring) in igb_free_rx_resources()
5069 void igb_clean_rx_ring(struct igb_ring *rx_ring) in igb_clean_rx_ring()
5762 struct igb_ring *rx_ring; in igb_watchdog_task() local
5777 struct igb_ring *rx_ring = adapter->rx_ring[0]; in igb_watchdog_task() local
7191 struct igb_ring *rx_ring, in igb_update_rx_dca()
8529 static void igb_reuse_rx_page(struct igb_ring *rx_ring, in igb_reuse_rx_page()
[all …]
/linux/drivers/net/ethernet/oki-semi/pch_gbe/
H A Dpch_gbe_main.c935 struct pch_gbe_rx_ring *rx_ring) in pch_gbe_clean_rx_ring()
1325 struct pch_gbe_rx_ring *rx_ring, int cleaned_count) in pch_gbe_alloc_rx_buffers()
1388 struct pch_gbe_rx_ring *rx_ring, int cleaned_count) in pch_gbe_alloc_rx_buffers_pool()
1588 struct pch_gbe_rx_ring *rx_ring, in pch_gbe_clean_rx()
1745 struct pch_gbe_rx_ring *rx_ring) in pch_gbe_setup_rx_resources()
1801 struct pch_gbe_rx_ring *rx_ring) in pch_gbe_free_rx_resources()
1852 struct pch_gbe_rx_ring *rx_ring = adapter->rx_ring; in pch_gbe_up() local
1909 struct pch_gbe_rx_ring *rx_ring = adapter->rx_ring; in pch_gbe_down() local
/linux/drivers/net/ethernet/intel/igbvf/
H A Dnetdev.c133 static void igbvf_alloc_rx_buffers(struct igbvf_ring *rx_ring, in igbvf_alloc_rx_buffers()
247 struct igbvf_ring *rx_ring = adapter->rx_ring; in igbvf_clean_rx_irq() local
456 struct igbvf_ring *rx_ring) in igbvf_setup_rx_resources()
550 static void igbvf_clean_rx_ring(struct igbvf_ring *rx_ring) in igbvf_clean_rx_ring()
615 void igbvf_free_rx_resources(struct igbvf_ring *rx_ring) in igbvf_free_rx_resources()
979 struct igbvf_ring *rx_ring = adapter->rx_ring; in igbvf_configure_msix() local
1189 struct igbvf_ring *rx_ring = container_of(napi, struct igbvf_ring, napi); in igbvf_poll() local
1372 struct igbvf_ring *rx_ring = adapter->rx_ring; in igbvf_configure_rx() local
/linux/drivers/net/ethernet/intel/e1000e/
H A Dnetdev.c207 struct e1000_ring *rx_ring = adapter->rx_ring; in e1000e_dump() local
606 static void e1000e_update_rdt_wa(struct e1000_ring *rx_ring, unsigned int i) in e1000e_update_rdt_wa()
646 static void e1000_alloc_rx_buffers(struct e1000_ring *rx_ring, in e1000_alloc_rx_buffers()
716 static void e1000_alloc_rx_buffers_ps(struct e1000_ring *rx_ring, in e1000_alloc_rx_buffers_ps()
821 static void e1000_alloc_jumbo_rx_buffers(struct e1000_ring *rx_ring, in e1000_alloc_jumbo_rx_buffers()
914 static bool e1000_clean_rx_irq(struct e1000_ring *rx_ring, int *work_done, in e1000_clean_rx_irq()
1310 static bool e1000_clean_rx_irq_ps(struct e1000_ring *rx_ring, int *work_done, in e1000_clean_rx_irq_ps()
1506 static bool e1000_clean_jumbo_rx_irq(struct e1000_ring *rx_ring, int *work_done, in e1000_clean_jumbo_rx_irq()
1671 static void e1000_clean_rx_ring(struct e1000_ring *rx_ring) in e1000_clean_rx_ring()
1937 struct e1000_ring *rx_ring = adapter->rx_ring; in e1000_intr_msix_rx() local
[all …]

1234567