/linux/drivers/net/ethernet/netronome/nfp/ |
H A 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()
|
H A 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()
|
H A D | nfp_net_xsk.h | 18 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 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/drivers/net/ethernet/intel/ice/ |
H A 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() 535 ice_run_xdp(struct ice_rx_ring *rx_ring, struct xdp_buff *xdp, in ice_run_xdp() 671 ice_alloc_mapped_page(struct ice_rx_ring *rx_ring, struct ice_rx_buf *bi) in ice_alloc_mapped_page() 722 bool ice_alloc_rx_bufs(struct ice_rx_ring *rx_ring, unsigned int cleaned_count) in ice_alloc_rx_bufs() 848 ice_add_xdp_frag(struct ice_rx_ring *rx_ring, struct xdp_buff *xdp, in ice_add_xdp_frag() 887 ice_reuse_rx_page(struct ice_rx_ring *rx_ring, struct ice_rx_buf *old_buf) in ice_reuse_rx_page() 918 ice_get_rx_buf(struct ice_rx_ring *rx_ring, const unsigned int size, in ice_get_rx_buf() 948 static void ice_get_pgcnts(struct ice_rx_ring *rx_ring) in ice_get_pgcnts() [all …]
|
H A 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()
|
H A 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()
|
/linux/drivers/net/ethernet/freescale/enetc/ |
H A D | enetc.c | 1058 static void enetc_reuse_page(struct enetc_bdr *rx_ring, in enetc_reuse_page() 1108 struct enetc_bdr *rx_ring; in enetc_recycle_xdp_tx_buff() local 1236 static bool enetc_new_page(struct enetc_bdr *rx_ring, in enetc_new_page() 1264 static int enetc_refill_rx_ring(struct enetc_bdr *rx_ring, const int buff_cnt) in enetc_refill_rx_ring() 1328 static void enetc_get_offloads(struct enetc_bdr *rx_ring, in enetc_get_offloads() 1375 static struct enetc_rx_swbd *enetc_get_rx_buff(struct enetc_bdr *rx_ring, in enetc_get_rx_buff() 1387 static void enetc_put_rx_buff(struct enetc_bdr *rx_ring, in enetc_put_rx_buff() 1402 static void enetc_flip_rx_buff(struct enetc_bdr *rx_ring, in enetc_flip_rx_buff() 1417 static struct sk_buff *enetc_map_rx_buff_to_skb(struct enetc_bdr *rx_ring, in enetc_map_rx_buff_to_skb() 1439 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 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/drivers/net/ethernet/intel/iavf/ |
H A 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/drivers/net/ethernet/intel/fm10k/ |
H A 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()
|
H A D | fm10k_netdev.c | 83 int fm10k_setup_rx_resources(struct fm10k_ring *rx_ring) in fm10k_setup_rx_resources() 248 static void fm10k_clean_rx_ring(struct fm10k_ring *rx_ring) in fm10k_clean_rx_ring() 290 void fm10k_free_rx_resources(struct fm10k_ring *rx_ring) in fm10k_free_rx_resources() 824 struct fm10k_ring *rx_ring = interface->rx_ring[i]; in fm10k_update_vid() local
|
/linux/drivers/net/ethernet/mscc/ |
H A 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/drivers/net/ethernet/agere/ |
H A 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/drivers/net/can/spi/mcp251xfd/ |
H A 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
|
H A D | mcp251xfd-chip-fifo.c | 66 const struct mcp251xfd_rx_ring *rx_ring; in mcp251xfd_chip_fifo_init() local
|
/linux/drivers/net/ethernet/amazon/ena/ |
H A 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/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_main.c | 590 struct ixgbe_ring *rx_ring; in ixgbe_dump() local 1148 void ixgbe_update_rx_ring_stats(struct ixgbe_ring *rx_ring, in ixgbe_update_rx_ring_stats() 1353 struct ixgbe_ring *rx_ring, in ixgbe_update_rx_dca() 1566 static unsigned int ixgbe_rx_offset(struct ixgbe_ring *rx_ring) in ixgbe_rx_offset() 1571 static bool ixgbe_alloc_mapped_page(struct ixgbe_ring *rx_ring, in ixgbe_alloc_mapped_page() 1620 void ixgbe_alloc_rx_buffers(struct ixgbe_ring *rx_ring, u16 cleaned_count) in ixgbe_alloc_rx_buffers() 1696 static void ixgbe_update_rsc_stats(struct ixgbe_ring *rx_ring, in ixgbe_update_rsc_stats() 1722 void ixgbe_process_skb_fields(struct ixgbe_ring *rx_ring, in ixgbe_process_skb_fields() 1774 static bool ixgbe_is_non_eop(struct ixgbe_ring *rx_ring, in ixgbe_is_non_eop() 1827 static void ixgbe_pull_tail(struct ixgbe_ring *rx_ring, in ixgbe_pull_tail() [all …]
|
/linux/drivers/net/ethernet/oki-semi/pch_gbe/ |
H A D | pch_gbe_main.c | 935 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/wireless/realtek/rtw88/ |
H A D | pci.c | 127 struct rtw_pci_rx_ring *rx_ring) in rtw_pci_free_rx_ring_skbs() 148 struct rtw_pci_rx_ring *rx_ring) in rtw_pci_free_rx_ring() 163 struct rtw_pci_rx_ring *rx_ring; in rtw_pci_free_trx_ring() local 209 struct rtw_pci_rx_ring *rx_ring, in rtw_pci_reset_rx_desc() 235 struct rtw_pci_rx_ring *rx_ring, in rtw_pci_sync_rx_desc_device() 252 struct rtw_pci_rx_ring *rx_ring, in rtw_pci_init_rx_ring() 318 struct rtw_pci_rx_ring *rx_ring; in rtw_pci_init_trx_ring() local 683 struct rtw_pci_rx_ring *rx_ring, in rtw_pci_dma_check()
|
/linux/drivers/net/ethernet/intel/igc/ |
H A D | igc_main.c | 408 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() 1788 static void igc_rx_vlan(struct igc_ring *rx_ring, in igc_rx_vlan() 1817 static void igc_process_skb_fields(struct igc_ring *rx_ring, in igc_process_skb_fields() 1856 static struct igc_rx_buffer *igc_get_rx_buffer(struct igc_ring *rx_ring, in igc_get_rx_buffer() 1918 static void igc_add_rx_frag(struct igc_ring *rx_ring, in igc_add_rx_frag() 1938 static struct sk_buff *igc_build_skb(struct igc_ring *rx_ring, in igc_build_skb() 1965 static struct sk_buff *igc_construct_skb(struct igc_ring *rx_ring, in igc_construct_skb() 2026 static void igc_reuse_rx_page(struct igc_ring *rx_ring, in igc_reuse_rx_page() [all …]
|
/linux/drivers/net/ethernet/intel/e1000e/ |
H A D | netdev.c | 207 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 …]
|
/linux/drivers/net/ethernet/intel/igb/ |
H A D | igb_main.c | 328 struct igb_ring *rx_ring; in igb_dump() local 4415 int igb_setup_rx_resources(struct igb_ring *rx_ring) in igb_setup_rx_resources() 4818 struct igb_ring *rx_ring) in igb_set_rx_buffer_len() 4858 struct igb_ring *rx_ring = adapter->rx_ring[i]; in igb_configure_rx() local 4997 void igb_free_rx_resources(struct igb_ring *rx_ring) in igb_free_rx_resources() 5040 void igb_clean_rx_ring(struct igb_ring *rx_ring) in igb_clean_rx_ring() 7142 struct igb_ring *rx_ring, in igb_update_rx_dca() 8480 static void igb_reuse_rx_page(struct igb_ring *rx_ring, in igb_reuse_rx_page() 8545 static void igb_add_rx_frag(struct igb_ring *rx_ring, in igb_add_rx_frag() 8566 static struct sk_buff *igb_construct_skb(struct igb_ring *rx_ring, in igb_construct_skb() [all …]
|
/linux/drivers/net/ethernet/atheros/atl1e/ |
H A D | atl1e_main.c | 687 struct atl1e_rx_ring *rx_ring = in atl1e_clean_rx_ring() local 721 struct atl1e_rx_ring *rx_ring = NULL; in atl1e_init_ring_resources() local 743 struct atl1e_rx_ring *rx_ring = NULL; in atl1e_init_ring_ptrs() local 799 struct atl1e_rx_ring *rx_ring; in atl1e_setup_ring_resources() local 889 struct atl1e_rx_ring *rx_ring = &adapter->rx_ring; in atl1e_configure_des_ring() local 1401 struct atl1e_rx_ring *rx_ring = &adapter->rx_ring; in atl1e_clean_rx_irq() local
|
/linux/drivers/net/ethernet/aquantia/atlantic/ |
H A D | aq_ring.c | 52 static int aq_alloc_rxpages(struct aq_rxpage *rxpage, struct aq_ring_s *rx_ring) in aq_alloc_rxpages() 407 struct aq_ring_s *rx_ring, in aq_xdp_run_prog() 698 static int __aq_ring_xdp_clean(struct aq_ring_s *rx_ring, in __aq_ring_xdp_clean()
|