Home
last modified time | relevance | path

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

123456

/Linux-v4.19/drivers/net/ethernet/intel/i40evf/
Di40e_txrx.c656 void i40evf_clean_rx_ring(struct i40e_ring *rx_ring) in i40evf_clean_rx_ring()
715 void i40evf_free_rx_resources(struct i40e_ring *rx_ring) in i40evf_free_rx_resources()
734 int i40evf_setup_rx_descriptors(struct i40e_ring *rx_ring) in i40evf_setup_rx_descriptors()
776 static inline void i40e_release_rx_desc(struct i40e_ring *rx_ring, u32 val) in i40e_release_rx_desc()
798 static inline unsigned int i40e_rx_offset(struct i40e_ring *rx_ring) in i40e_rx_offset()
811 static bool i40e_alloc_mapped_page(struct i40e_ring *rx_ring, in i40e_alloc_mapped_page()
861 static void i40e_receive_skb(struct i40e_ring *rx_ring, in i40e_receive_skb()
880 bool i40evf_alloc_rx_buffers(struct i40e_ring *rx_ring, u16 cleaned_count) in i40evf_alloc_rx_buffers()
1083 void i40evf_process_skb_fields(struct i40e_ring *rx_ring, in i40evf_process_skb_fields()
1110 static bool i40e_cleanup_headers(struct i40e_ring *rx_ring, struct sk_buff *skb) in i40e_cleanup_headers()
[all …]
Di40evf_ethtool.c421 struct i40e_ring *rx_ring, *tx_ring; in __i40evf_get_coalesce() local
492 struct i40e_ring *rx_ring = &adapter->rx_rings[queue]; in i40evf_set_itr_per_queue() local
/Linux-v4.19/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()
1138 static void ql_update_lbq(struct ql_adapter *qdev, struct rx_ring *rx_ring) in ql_update_lbq()
1192 static void ql_update_sbq(struct ql_adapter *qdev, struct rx_ring *rx_ring) in ql_update_sbq()
1258 struct rx_ring *rx_ring) in ql_update_buffer_queues()
1437 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 …]
/Linux-v4.19/drivers/net/ethernet/intel/ice/
Dice_txrx.c266 void ice_clean_rx_ring(struct ice_ring *rx_ring) in ice_clean_rx_ring()
311 void ice_free_rx_ring(struct ice_ring *rx_ring) in ice_free_rx_ring()
330 int ice_setup_rx_ring(struct ice_ring *rx_ring) in ice_setup_rx_ring()
371 static void ice_release_rx_desc(struct ice_ring *rx_ring, u32 val) in ice_release_rx_desc()
395 static bool ice_alloc_mapped_page(struct ice_ring *rx_ring, in ice_alloc_mapped_page()
440 bool ice_alloc_rx_bufs(struct ice_ring *rx_ring, u16 cleaned_count) in ice_alloc_rx_bufs()
593 static void ice_reuse_rx_page(struct ice_ring *rx_ring, in ice_reuse_rx_page()
619 static struct sk_buff *ice_fetch_rx_buf(struct ice_ring *rx_ring, in ice_fetch_rx_buf()
775 static bool ice_is_non_eop(struct ice_ring *rx_ring, in ice_is_non_eop()
818 ice_rx_hash(struct ice_ring *rx_ring, union ice_32b_rx_flex_desc *rx_desc, in ice_rx_hash()
[all …]
/Linux-v4.19/drivers/net/ethernet/intel/i40e/
Di40e_txrx.c539 static void i40e_fd_handle_status(struct i40e_ring *rx_ring, in i40e_fd_handle_status()
1230 static void i40e_reuse_rx_page(struct i40e_ring *rx_ring, in i40e_reuse_rx_page()
1279 static void i40e_clean_programming_status(struct i40e_ring *rx_ring, in i40e_clean_programming_status()
1361 void i40e_clean_rx_ring(struct i40e_ring *rx_ring) in i40e_clean_rx_ring()
1420 void i40e_free_rx_resources(struct i40e_ring *rx_ring) in i40e_free_rx_resources()
1442 int i40e_setup_rx_descriptors(struct i40e_ring *rx_ring) in i40e_setup_rx_descriptors()
1495 static inline void i40e_release_rx_desc(struct i40e_ring *rx_ring, u32 val) in i40e_release_rx_desc()
1517 static inline unsigned int i40e_rx_offset(struct i40e_ring *rx_ring) in i40e_rx_offset()
1530 static bool i40e_alloc_mapped_page(struct i40e_ring *rx_ring, in i40e_alloc_mapped_page()
1579 static void i40e_receive_skb(struct i40e_ring *rx_ring, in i40e_receive_skb()
[all …]
/Linux-v4.19/drivers/net/ethernet/amazon/ena/
Dena_netdev.c312 static inline int validate_rx_req_id(struct ena_ring *rx_ring, u16 req_id) in validate_rx_req_id()
339 struct ena_ring *rx_ring = &adapter->rx_ring[qid]; in ena_setup_rx_resources() local
395 struct ena_ring *rx_ring = &adapter->rx_ring[qid]; in ena_free_rx_resources() local
445 static inline int ena_alloc_rx_page(struct ena_ring *rx_ring, in ena_alloc_rx_page()
486 static void ena_free_rx_page(struct ena_ring *rx_ring, in ena_free_rx_page()
505 static int ena_refill_rx_bufs(struct ena_ring *rx_ring, u32 num) in ena_refill_rx_bufs()
566 struct ena_ring *rx_ring = &adapter->rx_ring[qid]; in ena_free_rx_bufs() local
583 struct ena_ring *rx_ring; in ena_refill_all_rx_bufs() local
829 static struct sk_buff *ena_alloc_skb(struct ena_ring *rx_ring, bool frags) in ena_alloc_skb()
851 static struct sk_buff *ena_rx_skb(struct ena_ring *rx_ring, in ena_rx_skb()
[all …]
/Linux-v4.19/drivers/net/ethernet/intel/fm10k/
Dfm10k_main.c68 static bool fm10k_alloc_mapped_page(struct fm10k_ring *rx_ring, in fm10k_alloc_mapped_page()
110 void fm10k_alloc_rx_buffers(struct fm10k_ring *rx_ring, u16 cleaned_count) in fm10k_alloc_rx_buffers()
176 static void fm10k_reuse_rx_page(struct fm10k_ring *rx_ring, in fm10k_reuse_rx_page()
297 static struct sk_buff *fm10k_fetch_rx_buffer(struct fm10k_ring *rx_ring, in fm10k_fetch_rx_buffer()
412 static void fm10k_type_trans(struct fm10k_ring *rx_ring, in fm10k_type_trans()
450 static unsigned int fm10k_process_skb_fields(struct fm10k_ring *rx_ring, in fm10k_process_skb_fields()
491 static bool fm10k_is_non_eop(struct fm10k_ring *rx_ring, in fm10k_is_non_eop()
522 static bool fm10k_cleanup_headers(struct fm10k_ring *rx_ring, in fm10k_cleanup_headers()
564 struct fm10k_ring *rx_ring, in fm10k_clean_rx_irq()
Dfm10k_netdev.c83 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()
291 void fm10k_free_rx_resources(struct fm10k_ring *rx_ring) in fm10k_free_rx_resources()
938 struct fm10k_ring *rx_ring = interface->rx_ring[i]; in fm10k_update_vid() local
/Linux-v4.19/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf_main.c504 static void ixgbevf_process_skb_fields(struct ixgbevf_ring *rx_ring, in ixgbevf_process_skb_fields()
523 struct ixgbevf_rx_buffer *ixgbevf_get_rx_buffer(struct ixgbevf_ring *rx_ring, in ixgbevf_get_rx_buffer()
543 static void ixgbevf_put_rx_buffer(struct ixgbevf_ring *rx_ring, in ixgbevf_put_rx_buffer()
577 static bool ixgbevf_is_non_eop(struct ixgbevf_ring *rx_ring, in ixgbevf_is_non_eop()
594 static inline unsigned int ixgbevf_rx_offset(struct ixgbevf_ring *rx_ring) in ixgbevf_rx_offset()
599 static bool ixgbevf_alloc_mapped_page(struct ixgbevf_ring *rx_ring, in ixgbevf_alloc_mapped_page()
645 static void ixgbevf_alloc_rx_buffers(struct ixgbevf_ring *rx_ring, in ixgbevf_alloc_rx_buffers()
727 static bool ixgbevf_cleanup_headers(struct ixgbevf_ring *rx_ring, in ixgbevf_cleanup_headers()
760 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-v4.19/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-v4.19/drivers/net/ethernet/netronome/nfp/
Dnfp_net_common.c554 nfp_net_rx_ring_init(struct nfp_net_rx_ring *rx_ring, in nfp_net_rx_ring_init()
1266 struct nfp_net_rx_ring *rx_ring, in nfp_net_rx_give_one()
1301 static void nfp_net_rx_ring_reset(struct nfp_net_rx_ring *rx_ring) in nfp_net_rx_ring_reset()
1335 struct nfp_net_rx_ring *rx_ring) in nfp_net_rx_ring_bufs_free()
1361 struct nfp_net_rx_ring *rx_ring) in nfp_net_rx_ring_bufs_alloc()
1386 struct nfp_net_rx_ring *rx_ring) in nfp_net_rx_ring_fill_freelist()
1542 struct nfp_net_rx_ring *rx_ring, struct nfp_net_rx_buf *rxbuf, in nfp_net_rx_drop()
1566 nfp_net_tx_xdp_buf(struct nfp_net_dp *dp, struct nfp_net_rx_ring *rx_ring, in nfp_net_tx_xdp_buf()
1631 static int nfp_net_rx(struct nfp_net_rx_ring *rx_ring, int budget) in nfp_net_rx()
2007 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
/Linux-v4.19/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c571 struct ixgbe_ring *rx_ring; in ixgbe_dump() local
1307 struct ixgbe_ring *rx_ring, in ixgbe_update_rx_dca()
1520 static inline unsigned int ixgbe_rx_offset(struct ixgbe_ring *rx_ring) in ixgbe_rx_offset()
1525 static bool ixgbe_alloc_mapped_page(struct ixgbe_ring *rx_ring, in ixgbe_alloc_mapped_page()
1574 void ixgbe_alloc_rx_buffers(struct ixgbe_ring *rx_ring, u16 cleaned_count) in ixgbe_alloc_rx_buffers()
1650 static void ixgbe_update_rsc_stats(struct ixgbe_ring *rx_ring, in ixgbe_update_rsc_stats()
1676 static void ixgbe_process_skb_fields(struct ixgbe_ring *rx_ring, in ixgbe_process_skb_fields()
1728 static bool ixgbe_is_non_eop(struct ixgbe_ring *rx_ring, in ixgbe_is_non_eop()
1781 static void ixgbe_pull_tail(struct ixgbe_ring *rx_ring, in ixgbe_pull_tail()
1821 static void ixgbe_dma_sync_frag(struct ixgbe_ring *rx_ring, in ixgbe_dma_sync_frag()
[all …]
/Linux-v4.19/drivers/net/ethernet/intel/igbvf/
Dnetdev.c133 static void igbvf_alloc_rx_buffers(struct igbvf_ring *rx_ring, in igbvf_alloc_rx_buffers()
245 struct igbvf_ring *rx_ring = adapter->rx_ring; in igbvf_clean_rx_irq() local
453 struct igbvf_ring *rx_ring) in igbvf_setup_rx_resources()
547 static void igbvf_clean_rx_ring(struct igbvf_ring *rx_ring) in igbvf_clean_rx_ring()
612 void igbvf_free_rx_resources(struct igbvf_ring *rx_ring) in igbvf_free_rx_resources()
976 struct igbvf_ring *rx_ring = adapter->rx_ring; in igbvf_configure_msix() local
1182 struct igbvf_ring *rx_ring = container_of(napi, struct igbvf_ring, napi); in igbvf_poll() local
1362 struct igbvf_ring *rx_ring = adapter->rx_ring; in igbvf_configure_rx() local
/Linux-v4.19/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe_main.c973 struct pch_gbe_rx_ring *rx_ring) in pch_gbe_clean_rx_ring()
1368 struct pch_gbe_rx_ring *rx_ring, int cleaned_count) in pch_gbe_alloc_rx_buffers()
1431 struct pch_gbe_rx_ring *rx_ring, int cleaned_count) in pch_gbe_alloc_rx_buffers_pool()
1631 struct pch_gbe_rx_ring *rx_ring, in pch_gbe_clean_rx()
1788 struct pch_gbe_rx_ring *rx_ring) in pch_gbe_setup_rx_resources()
1843 struct pch_gbe_rx_ring *rx_ring) in pch_gbe_free_rx_resources()
1893 struct pch_gbe_rx_ring *rx_ring = adapter->rx_ring; in pch_gbe_up() local
1950 struct pch_gbe_rx_ring *rx_ring = adapter->rx_ring; in pch_gbe_down() local
/Linux-v4.19/drivers/net/ethernet/intel/e1000e/
Dnetdev.c208 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()
644 static void e1000_alloc_rx_buffers(struct e1000_ring *rx_ring, in e1000_alloc_rx_buffers()
712 static void e1000_alloc_rx_buffers_ps(struct e1000_ring *rx_ring, in e1000_alloc_rx_buffers_ps()
816 static void e1000_alloc_jumbo_rx_buffers(struct e1000_ring *rx_ring, in e1000_alloc_jumbo_rx_buffers()
907 static bool e1000_clean_rx_irq(struct e1000_ring *rx_ring, int *work_done, in e1000_clean_rx_irq()
1301 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()
1673 static void e1000_clean_rx_ring(struct e1000_ring *rx_ring) in e1000_clean_rx_ring()
1941 struct e1000_ring *rx_ring = adapter->rx_ring; in e1000_intr_msix_rx() local
[all …]
/Linux-v4.19/drivers/net/ethernet/atheros/atl1e/
Datl1e_main.c701 struct atl1e_rx_ring *rx_ring = in atl1e_clean_rx_ring() local
735 struct atl1e_rx_ring *rx_ring = NULL; in atl1e_init_ring_resources() local
757 struct atl1e_rx_ring *rx_ring = NULL; in atl1e_init_ring_ptrs() local
813 struct atl1e_rx_ring *rx_ring; in atl1e_setup_ring_resources() local
899 struct atl1e_rx_ring *rx_ring = &adapter->rx_ring; in atl1e_configure_des_ring() local
1407 struct atl1e_rx_ring *rx_ring = &adapter->rx_ring; in atl1e_clean_rx_irq() local
/Linux-v4.19/drivers/net/ethernet/intel/igb/
Digb_main.c366 struct igb_ring *rx_ring; in igb_dump() local
4210 int igb_setup_rx_resources(struct igb_ring *rx_ring) in igb_setup_rx_resources()
4558 struct igb_ring *rx_ring) in igb_set_rx_buffer_len()
4594 struct igb_ring *rx_ring = adapter->rx_ring[i]; in igb_configure_rx() local
4719 void igb_free_rx_resources(struct igb_ring *rx_ring) in igb_free_rx_resources()
4755 static void igb_clean_rx_ring(struct igb_ring *rx_ring) in igb_clean_rx_ring()
6642 struct igb_ring *rx_ring, in igb_update_rx_dca()
7941 static void igb_reuse_rx_page(struct igb_ring *rx_ring, in igb_reuse_rx_page()
8010 static void igb_add_rx_frag(struct igb_ring *rx_ring, in igb_add_rx_frag()
8031 static struct sk_buff *igb_construct_skb(struct igb_ring *rx_ring, in igb_construct_skb()
[all …]
/Linux-v4.19/drivers/net/ethernet/amd/
Dariadne.c89 volatile struct RDRE *rx_ring[RX_RING_SIZE]; member
101 struct RDRE rx_ring[RX_RING_SIZE]; member
/Linux-v4.19/drivers/net/ethernet/intel/ixgb/
Dixgb_main.c959 struct ixgb_desc_ring *rx_ring = &adapter->rx_ring; in ixgb_free_rx_resources() local
981 struct ixgb_desc_ring *rx_ring = &adapter->rx_ring; in ixgb_clean_rx_ring() local
1937 struct ixgb_desc_ring *rx_ring = &adapter->rx_ring; in ixgb_clean_rx_irq() local
2056 struct ixgb_desc_ring *rx_ring = &adapter->rx_ring; in ixgb_alloc_rx_buffers() local
/Linux-v4.19/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_main.c343 struct sxgbe_rx_queue *rx_ring) in sxgbe_init_rx_buffers()
377 struct sxgbe_rx_queue *rx_ring) in sxgbe_free_rx_buffers()
443 static void free_rx_ring(struct device *dev, struct sxgbe_rx_queue *rx_ring, in free_rx_ring()
460 struct sxgbe_rx_queue *rx_ring, int rx_rsize) in init_rx_ring()
/Linux-v4.19/drivers/net/ethernet/apm/xgene-v2/
Dmain.h66 struct xge_desc_ring *rx_ring; member
/Linux-v4.19/drivers/net/ethernet/intel/e1000/
De1000_main.c122 struct e1000_rx_ring *rx_ring, in e1000_alloc_dummy_rx_buffers()
2026 struct e1000_rx_ring *rx_ring) in e1000_free_rx_resources()
2078 struct e1000_rx_ring *rx_ring) in e1000_clean_rx_ring()
3365 struct e1000_rx_ring *rx_ring = adapter->rx_ring; in e1000_dump() local
4127 struct e1000_rx_ring *rx_ring, in e1000_clean_jumbo_rx_irq()
4349 struct e1000_rx_ring *rx_ring, in e1000_clean_rx_irq()
4498 struct e1000_rx_ring *rx_ring, int cleaned_count) in e1000_alloc_jumbo_rx_buffers()
4560 struct e1000_rx_ring *rx_ring, in e1000_alloc_rx_buffers()
/Linux-v4.19/drivers/infiniband/ulp/ipoib/
Dipoib_cm.c142 struct ipoib_cm_rx_buf *rx_ring, in ipoib_cm_alloc_rx_skb()
196 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