Home
last modified time | relevance | path

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

123456

/drivers/net/ethernet/intel/i40evf/
Di40e_txrx.c484 void i40evf_clean_rx_ring(struct i40e_ring *rx_ring) in i40evf_clean_rx_ring()
543 void i40evf_free_rx_resources(struct i40e_ring *rx_ring) in i40evf_free_rx_resources()
562 int i40evf_setup_rx_descriptors(struct i40e_ring *rx_ring) in i40evf_setup_rx_descriptors()
604 static inline void i40e_release_rx_desc(struct i40e_ring *rx_ring, u32 val) in i40e_release_rx_desc()
626 static inline unsigned int i40e_rx_offset(struct i40e_ring *rx_ring) in i40e_rx_offset()
639 static bool i40e_alloc_mapped_page(struct i40e_ring *rx_ring, in i40e_alloc_mapped_page()
689 static void i40e_receive_skb(struct i40e_ring *rx_ring, in i40e_receive_skb()
708 bool i40evf_alloc_rx_buffers(struct i40e_ring *rx_ring, u16 cleaned_count) in i40evf_alloc_rx_buffers()
909 void i40evf_process_skb_fields(struct i40e_ring *rx_ring, in i40evf_process_skb_fields()
936 static bool i40e_cleanup_headers(struct i40e_ring *rx_ring, struct sk_buff *skb) in i40e_cleanup_headers()
[all …]
/drivers/net/ethernet/qlogic/qlge/
Dqlge_main.c1031 static struct bq_desc *ql_get_curr_lbuf(struct rx_ring *rx_ring) in ql_get_curr_lbuf()
1042 struct rx_ring *rx_ring) in ql_get_curr_lchunk()
1064 static struct bq_desc *ql_get_curr_sbuf(struct rx_ring *rx_ring) in ql_get_curr_sbuf()
1075 static void ql_update_cq(struct rx_ring *rx_ring) in ql_update_cq()
1085 static void ql_write_cq_idx(struct rx_ring *rx_ring) in ql_write_cq_idx()
1090 static int ql_get_next_chunk(struct ql_adapter *qdev, struct rx_ring *rx_ring, in ql_get_next_chunk()
1139 static void ql_update_lbq(struct ql_adapter *qdev, struct rx_ring *rx_ring) in ql_update_lbq()
1193 static void ql_update_sbq(struct ql_adapter *qdev, struct rx_ring *rx_ring) in ql_update_sbq()
1259 struct rx_ring *rx_ring) in ql_update_buffer_queues()
1438 struct rx_ring *rx_ring) in ql_categorize_rx_err()
[all …]
Dqlge.h1418 struct rx_ring { struct
1419 struct cqicb cqicb; /* The chip's completion queue init control block. */
1422 void *cq_base;
1423 dma_addr_t cq_base_dma;
1424 u32 cq_size;
1425 u32 cq_len;
1426 u16 cq_id;
1427 __le32 *prod_idx_sh_reg; /* Shadowed producer register. */
1428 dma_addr_t prod_idx_sh_reg_dma;
1429 void __iomem *cnsmr_idx_db_reg; /* PCI doorbell mem area + 0 */
[all …]
/drivers/net/ethernet/intel/i40e/
Di40e_txrx.c561 static void i40e_fd_handle_status(struct i40e_ring *rx_ring, in i40e_fd_handle_status()
1047 static void i40e_reuse_rx_page(struct i40e_ring *rx_ring, in i40e_reuse_rx_page()
1096 static void i40e_clean_programming_status(struct i40e_ring *rx_ring, in i40e_clean_programming_status()
1177 void i40e_clean_rx_ring(struct i40e_ring *rx_ring) in i40e_clean_rx_ring()
1236 void i40e_free_rx_resources(struct i40e_ring *rx_ring) in i40e_free_rx_resources()
1256 int i40e_setup_rx_descriptors(struct i40e_ring *rx_ring) in i40e_setup_rx_descriptors()
1300 static inline void i40e_release_rx_desc(struct i40e_ring *rx_ring, u32 val) in i40e_release_rx_desc()
1322 static inline unsigned int i40e_rx_offset(struct i40e_ring *rx_ring) in i40e_rx_offset()
1335 static bool i40e_alloc_mapped_page(struct i40e_ring *rx_ring, in i40e_alloc_mapped_page()
1385 static void i40e_receive_skb(struct i40e_ring *rx_ring, in i40e_receive_skb()
[all …]
/drivers/net/ethernet/amazon/ena/
Dena_netdev.c307 static inline int validate_rx_req_id(struct ena_ring *rx_ring, u16 req_id) in validate_rx_req_id()
334 struct ena_ring *rx_ring = &adapter->rx_ring[qid]; in ena_setup_rx_resources() local
390 struct ena_ring *rx_ring = &adapter->rx_ring[qid]; in ena_free_rx_resources() local
440 static inline int ena_alloc_rx_page(struct ena_ring *rx_ring, in ena_alloc_rx_page()
481 static void ena_free_rx_page(struct ena_ring *rx_ring, in ena_free_rx_page()
500 static int ena_refill_rx_bufs(struct ena_ring *rx_ring, u32 num) in ena_refill_rx_bufs()
565 struct ena_ring *rx_ring = &adapter->rx_ring[qid]; in ena_free_rx_bufs() local
582 struct ena_ring *rx_ring; in ena_refill_all_rx_bufs() local
828 static struct sk_buff *ena_alloc_skb(struct ena_ring *rx_ring, bool frags) in ena_alloc_skb()
850 static struct sk_buff *ena_rx_skb(struct ena_ring *rx_ring, in ena_rx_skb()
[all …]
/drivers/net/ethernet/intel/fm10k/
Dfm10k_main.c87 static bool fm10k_alloc_mapped_page(struct fm10k_ring *rx_ring, in fm10k_alloc_mapped_page()
129 void fm10k_alloc_rx_buffers(struct fm10k_ring *rx_ring, u16 cleaned_count) in fm10k_alloc_rx_buffers()
195 static void fm10k_reuse_rx_page(struct fm10k_ring *rx_ring, in fm10k_reuse_rx_page()
316 static struct sk_buff *fm10k_fetch_rx_buffer(struct fm10k_ring *rx_ring, in fm10k_fetch_rx_buffer()
431 static void fm10k_type_trans(struct fm10k_ring *rx_ring, in fm10k_type_trans()
470 static unsigned int fm10k_process_skb_fields(struct fm10k_ring *rx_ring, in fm10k_process_skb_fields()
513 static bool fm10k_is_non_eop(struct fm10k_ring *rx_ring, in fm10k_is_non_eop()
544 static bool fm10k_cleanup_headers(struct fm10k_ring *rx_ring, in fm10k_cleanup_headers()
586 struct fm10k_ring *rx_ring, in fm10k_clean_rx_irq()
Dfm10k_netdev.c99 int fm10k_setup_rx_resources(struct fm10k_ring *rx_ring) in fm10k_setup_rx_resources()
264 static void fm10k_clean_rx_ring(struct fm10k_ring *rx_ring) in fm10k_clean_rx_ring()
307 void fm10k_free_rx_resources(struct fm10k_ring *rx_ring) in fm10k_free_rx_resources()
833 struct fm10k_ring *rx_ring = interface->rx_ring[i]; in fm10k_update_vid() local
/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 …]
/drivers/net/ethernet/netronome/nfp/
Dnfp_net_common.c546 nfp_net_rx_ring_init(struct nfp_net_rx_ring *rx_ring, in nfp_net_rx_ring_init()
1259 struct nfp_net_rx_ring *rx_ring, in nfp_net_rx_give_one()
1294 static void nfp_net_rx_ring_reset(struct nfp_net_rx_ring *rx_ring) in nfp_net_rx_ring_reset()
1328 struct nfp_net_rx_ring *rx_ring) in nfp_net_rx_ring_bufs_free()
1354 struct nfp_net_rx_ring *rx_ring) in nfp_net_rx_ring_bufs_alloc()
1379 struct nfp_net_rx_ring *rx_ring) in nfp_net_rx_ring_fill_freelist()
1535 struct nfp_net_rx_ring *rx_ring, struct nfp_net_rx_buf *rxbuf, in nfp_net_rx_drop()
1554 nfp_net_tx_xdp_buf(struct nfp_net_dp *dp, struct nfp_net_rx_ring *rx_ring, in nfp_net_tx_xdp_buf()
1639 static int nfp_net_rx(struct nfp_net_rx_ring *rx_ring, int budget) in nfp_net_rx()
1988 struct nfp_net_r_vector *r_vec, struct nfp_net_rx_ring *rx_ring) in nfp_ctrl_rx_one()
[all …]
Dnfp_net_debugfs.c44 struct nfp_net_rx_ring *rx_ring; in nfp_net_debugfs_rx_q_read() local
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c625 struct ixgbe_ring *rx_ring; in ixgbe_dump() local
1367 struct ixgbe_ring *rx_ring, in ixgbe_update_rx_dca()
1580 static inline unsigned int ixgbe_rx_offset(struct ixgbe_ring *rx_ring) in ixgbe_rx_offset()
1585 static bool ixgbe_alloc_mapped_page(struct ixgbe_ring *rx_ring, in ixgbe_alloc_mapped_page()
1632 void ixgbe_alloc_rx_buffers(struct ixgbe_ring *rx_ring, u16 cleaned_count) in ixgbe_alloc_rx_buffers()
1708 static void ixgbe_update_rsc_stats(struct ixgbe_ring *rx_ring, in ixgbe_update_rsc_stats()
1734 static void ixgbe_process_skb_fields(struct ixgbe_ring *rx_ring, in ixgbe_process_skb_fields()
1778 static bool ixgbe_is_non_eop(struct ixgbe_ring *rx_ring, in ixgbe_is_non_eop()
1831 static void ixgbe_pull_tail(struct ixgbe_ring *rx_ring, in ixgbe_pull_tail()
1871 static void ixgbe_dma_sync_frag(struct ixgbe_ring *rx_ring, in ixgbe_dma_sync_frag()
[all …]
Dixgbe_ethtool.c1038 struct ixgbe_ring *rx_ring = adapter->rx_ring[0]; in ixgbe_get_ringparam() local
1714 struct ixgbe_ring *rx_ring = &adapter->test_rx_ring; in ixgbe_free_desc_rings() local
1752 struct ixgbe_ring *rx_ring = &adapter->test_rx_ring; in ixgbe_setup_desc_rings() local
1914 static u16 ixgbe_clean_test_rings(struct ixgbe_ring *rx_ring, in ixgbe_clean_test_rings()
1986 struct ixgbe_ring *rx_ring = &adapter->test_rx_ring; in ixgbe_run_loopback_test() local
/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf_main.c535 static void ixgbevf_process_skb_fields(struct ixgbevf_ring *rx_ring, in ixgbevf_process_skb_fields()
564 static bool ixgbevf_is_non_eop(struct ixgbevf_ring *rx_ring, in ixgbevf_is_non_eop()
581 static bool ixgbevf_alloc_mapped_page(struct ixgbevf_ring *rx_ring, in ixgbevf_alloc_mapped_page()
624 static void ixgbevf_alloc_rx_buffers(struct ixgbevf_ring *rx_ring, in ixgbevf_alloc_rx_buffers()
700 static bool ixgbevf_cleanup_headers(struct ixgbevf_ring *rx_ring, in ixgbevf_cleanup_headers()
729 static void ixgbevf_reuse_rx_page(struct ixgbevf_ring *rx_ring, in ixgbevf_reuse_rx_page()
773 static bool ixgbevf_add_rx_frag(struct ixgbevf_ring *rx_ring, in ixgbevf_add_rx_frag()
847 static struct sk_buff *ixgbevf_fetch_rx_buffer(struct ixgbevf_ring *rx_ring, in ixgbevf_fetch_rx_buffer()
916 struct ixgbevf_ring *rx_ring, in ixgbevf_clean_rx_irq()
2104 static void ixgbevf_clean_rx_ring(struct ixgbevf_ring *rx_ring) in ixgbevf_clean_rx_ring()
[all …]
/drivers/net/ethernet/intel/igbvf/
Dnetdev.c156 static void igbvf_alloc_rx_buffers(struct igbvf_ring *rx_ring, in igbvf_alloc_rx_buffers()
268 struct igbvf_ring *rx_ring = adapter->rx_ring; in igbvf_clean_rx_irq() local
476 struct igbvf_ring *rx_ring) in igbvf_setup_rx_resources()
570 static void igbvf_clean_rx_ring(struct igbvf_ring *rx_ring) in igbvf_clean_rx_ring()
635 void igbvf_free_rx_resources(struct igbvf_ring *rx_ring) in igbvf_free_rx_resources()
999 struct igbvf_ring *rx_ring = adapter->rx_ring; in igbvf_configure_msix() local
1205 struct igbvf_ring *rx_ring = container_of(napi, struct igbvf_ring, napi); in igbvf_poll() local
1385 struct igbvf_ring *rx_ring = adapter->rx_ring; in igbvf_configure_rx() local
/drivers/net/ethernet/intel/igb/
Digb_main.c376 struct igb_ring *rx_ring; in igb_dump() local
3492 int igb_setup_rx_resources(struct igb_ring *rx_ring) in igb_setup_rx_resources()
3840 struct igb_ring *rx_ring) in igb_set_rx_buffer_len()
3876 struct igb_ring *rx_ring = adapter->rx_ring[i]; in igb_configure_rx() local
4001 void igb_free_rx_resources(struct igb_ring *rx_ring) in igb_free_rx_resources()
4037 static void igb_clean_rx_ring(struct igb_ring *rx_ring) in igb_clean_rx_ring()
5908 struct igb_ring *rx_ring, in igb_update_rx_dca()
7122 static void igb_reuse_rx_page(struct igb_ring *rx_ring, in igb_reuse_rx_page()
7191 static void igb_add_rx_frag(struct igb_ring *rx_ring, in igb_add_rx_frag()
7212 static struct sk_buff *igb_construct_skb(struct igb_ring *rx_ring, in igb_construct_skb()
[all …]
/drivers/net/ethernet/intel/e1000e/
Dnetdev.c226 struct e1000_ring *rx_ring = adapter->rx_ring; in e1000e_dump() local
624 static void e1000e_update_rdt_wa(struct e1000_ring *rx_ring, unsigned int i) in e1000e_update_rdt_wa()
662 static void e1000_alloc_rx_buffers(struct e1000_ring *rx_ring, in e1000_alloc_rx_buffers()
730 static void e1000_alloc_rx_buffers_ps(struct e1000_ring *rx_ring, in e1000_alloc_rx_buffers_ps()
834 static void e1000_alloc_jumbo_rx_buffers(struct e1000_ring *rx_ring, in e1000_alloc_jumbo_rx_buffers()
925 static bool e1000_clean_rx_irq(struct e1000_ring *rx_ring, int *work_done, in e1000_clean_rx_irq()
1315 static bool e1000_clean_rx_irq_ps(struct e1000_ring *rx_ring, int *work_done, in e1000_clean_rx_irq_ps()
1520 static bool e1000_clean_jumbo_rx_irq(struct e1000_ring *rx_ring, int *work_done, in e1000_clean_jumbo_rx_irq()
1687 static void e1000_clean_rx_ring(struct e1000_ring *rx_ring) in e1000_clean_rx_ring()
1955 struct e1000_ring *rx_ring = adapter->rx_ring; in e1000_intr_msix_rx() local
[all …]
Dethtool.c1133 struct e1000_ring *rx_ring = &adapter->test_rx_ring; in e1000_free_desc_rings() local
1185 struct e1000_ring *rx_ring = &adapter->test_rx_ring; in e1000_setup_desc_rings() local
1648 struct e1000_ring *rx_ring = &adapter->test_rx_ring; in e1000_run_loopback_test() local
/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe_main.c1010 struct pch_gbe_rx_ring *rx_ring) in pch_gbe_clean_rx_ring()
1409 struct pch_gbe_rx_ring *rx_ring, int cleaned_count) in pch_gbe_alloc_rx_buffers()
1472 struct pch_gbe_rx_ring *rx_ring, int cleaned_count) in pch_gbe_alloc_rx_buffers_pool()
1672 struct pch_gbe_rx_ring *rx_ring, in pch_gbe_clean_rx()
1829 struct pch_gbe_rx_ring *rx_ring) in pch_gbe_setup_rx_resources()
1884 struct pch_gbe_rx_ring *rx_ring) in pch_gbe_free_rx_resources()
1941 struct pch_gbe_rx_ring *rx_ring = adapter->rx_ring; in pch_gbe_up() local
1998 struct pch_gbe_rx_ring *rx_ring = adapter->rx_ring; in pch_gbe_down() local
/drivers/net/ethernet/atheros/atl1e/
Datl1e_main.c702 struct atl1e_rx_ring *rx_ring = in atl1e_clean_rx_ring() local
736 struct atl1e_rx_ring *rx_ring = NULL; in atl1e_init_ring_resources() local
758 struct atl1e_rx_ring *rx_ring = NULL; in atl1e_init_ring_ptrs() local
814 struct atl1e_rx_ring *rx_ring; in atl1e_setup_ring_resources() local
900 struct atl1e_rx_ring *rx_ring = &adapter->rx_ring; in atl1e_configure_des_ring() local
1408 struct atl1e_rx_ring *rx_ring = &adapter->rx_ring; in atl1e_clean_rx_irq() local
/drivers/net/ethernet/intel/ixgb/
Dixgb_main.c995 struct ixgb_desc_ring *rx_ring = &adapter->rx_ring; in ixgb_free_rx_resources() local
1017 struct ixgb_desc_ring *rx_ring = &adapter->rx_ring; in ixgb_clean_rx_ring() local
1972 struct ixgb_desc_ring *rx_ring = &adapter->rx_ring; in ixgb_clean_rx_irq() local
2091 struct ixgb_desc_ring *rx_ring = &adapter->rx_ring; in ixgb_alloc_rx_buffers() local
/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_main.c344 struct sxgbe_rx_queue *rx_ring) in sxgbe_init_rx_buffers()
378 struct sxgbe_rx_queue *rx_ring) in sxgbe_free_rx_buffers()
444 static void free_rx_ring(struct device *dev, struct sxgbe_rx_queue *rx_ring, in free_rx_ring()
461 struct sxgbe_rx_queue *rx_ring, int rx_rsize) in init_rx_ring()
/drivers/net/ethernet/amd/
Dariadne.c89 volatile struct RDRE *rx_ring[RX_RING_SIZE]; member
101 struct RDRE rx_ring[RX_RING_SIZE]; member
/drivers/net/ethernet/intel/e1000/
De1000_main.c147 struct e1000_rx_ring *rx_ring, in e1000_alloc_dummy_rx_buffers()
2051 struct e1000_rx_ring *rx_ring) in e1000_free_rx_resources()
2103 struct e1000_rx_ring *rx_ring) in e1000_clean_rx_ring()
3390 struct e1000_rx_ring *rx_ring = adapter->rx_ring; in e1000_dump() local
4152 struct e1000_rx_ring *rx_ring, in e1000_clean_jumbo_rx_irq()
4374 struct e1000_rx_ring *rx_ring, in e1000_clean_rx_irq()
4523 struct e1000_rx_ring *rx_ring, int cleaned_count) in e1000_alloc_jumbo_rx_buffers()
4585 struct e1000_rx_ring *rx_ring, in e1000_alloc_rx_buffers()
/drivers/net/ethernet/apm/xgene-v2/
Dmain.h66 struct xge_desc_ring *rx_ring; member
/drivers/infiniband/ulp/ipoib/
Dipoib_cm.c144 struct ipoib_cm_rx_buf *rx_ring, in ipoib_cm_alloc_rx_skb()
198 struct ipoib_cm_rx_buf *rx_ring) in ipoib_cm_free_rx_ring()
563 struct ipoib_cm_rx_buf *rx_ring; in ipoib_cm_handle_rx_wc() local

123456