Home
last modified time | relevance | path

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

12345678910>>...12

/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/
Di40e_xsk.c12 int i40e_alloc_rx_bi_zc(struct i40e_ring *rx_ring) in i40e_alloc_rx_bi_zc()
20 void i40e_clear_rx_bi_zc(struct i40e_ring *rx_ring) in i40e_clear_rx_bi_zc()
26 static struct xdp_buff **i40e_rx_bi(struct i40e_ring *rx_ring, u32 idx) in i40e_rx_bi()
148 static int i40e_run_xdp_zc(struct i40e_ring *rx_ring, struct xdp_buff *xdp) in i40e_run_xdp_zc()
194 bool i40e_alloc_rx_buffers_zc(struct i40e_ring *rx_ring, u16 count) in i40e_alloc_rx_buffers_zc()
247 static struct sk_buff *i40e_construct_skb_zc(struct i40e_ring *rx_ring, in i40e_construct_skb_zc()
274 static void i40e_inc_ntc(struct i40e_ring *rx_ring) in i40e_inc_ntc()
289 int i40e_clean_rx_irq_zc(struct i40e_ring *rx_ring, int budget) in i40e_clean_rx_irq_zc()
568 void i40e_xsk_clean_rx_ring(struct i40e_ring *rx_ring) in i40e_xsk_clean_rx_ring()
Di40e_txrx.c531 static void i40e_fd_handle_status(struct i40e_ring *rx_ring, u64 qword0_raw, in i40e_fd_handle_status()
1199 static struct i40e_rx_buffer *i40e_rx_bi(struct i40e_ring *rx_ring, u32 idx) in i40e_rx_bi()
1211 static void i40e_reuse_rx_page(struct i40e_ring *rx_ring, in i40e_reuse_rx_page()
1247 void i40e_clean_programming_status(struct i40e_ring *rx_ring, u64 qword0_raw, in i40e_clean_programming_status()
1308 int i40e_alloc_rx_bi(struct i40e_ring *rx_ring) in i40e_alloc_rx_bi()
1316 static void i40e_clear_rx_bi(struct i40e_ring *rx_ring) in i40e_clear_rx_bi()
1325 void i40e_clean_rx_ring(struct i40e_ring *rx_ring) in i40e_clean_rx_ring()
1391 void i40e_free_rx_resources(struct i40e_ring *rx_ring) in i40e_free_rx_resources()
1413 int i40e_setup_rx_descriptors(struct i40e_ring *rx_ring) in i40e_setup_rx_descriptors()
1454 void i40e_release_rx_desc(struct i40e_ring *rx_ring, u32 val) in i40e_release_rx_desc()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
Dice_txrx_lib.c11 void ice_release_rx_desc(struct ice_ring *rx_ring, u16 val) in ice_release_rx_desc()
56 ice_rx_hash(struct ice_ring *rx_ring, union ice_32b_rx_flex_desc *rx_desc, in ice_rx_hash()
167 ice_process_skb_fields(struct ice_ring *rx_ring, in ice_process_skb_fields()
189 ice_receive_skb(struct ice_ring *rx_ring, struct sk_buff *skb, u16 vlan_tag) in ice_receive_skb()
279 void ice_finalize_xdp_rx(struct ice_ring *rx_ring, unsigned int xdp_res) in ice_finalize_xdp_rx()
Dice_xsk.c70 ice_qvec_dis_irq(struct ice_vsi *vsi, struct ice_ring *rx_ring, in ice_qvec_dis_irq()
150 struct ice_ring *tx_ring, *rx_ring; in ice_qp_dis() local
207 struct ice_ring *tx_ring, *rx_ring; in ice_qp_ena() local
413 bool ice_alloc_rx_bufs_zc(struct ice_ring *rx_ring, u16 count) in ice_alloc_rx_bufs_zc()
462 static void ice_bump_ntc(struct ice_ring *rx_ring) in ice_bump_ntc()
481 ice_construct_skb_zc(struct ice_ring *rx_ring, struct ice_rx_buf *rx_buf) in ice_construct_skb_zc()
512 ice_run_xdp_zc(struct ice_ring *rx_ring, struct xdp_buff *xdp) in ice_run_xdp_zc()
568 int ice_clean_rx_irq_zc(struct ice_ring *rx_ring, int budget) in ice_clean_rx_irq_zc()
871 void ice_xsk_clean_rx_ring(struct ice_ring *rx_ring) in ice_xsk_clean_rx_ring()
Dice_txrx.c369 void ice_clean_rx_ring(struct ice_ring *rx_ring) in ice_clean_rx_ring()
428 void ice_free_rx_ring(struct ice_ring *rx_ring) in ice_free_rx_ring()
451 int ice_setup_rx_ring(struct ice_ring *rx_ring) in ice_setup_rx_ring()
502 static unsigned int ice_rx_offset(struct ice_ring *rx_ring) in ice_rx_offset()
513 ice_rx_frame_truesize(struct ice_ring *rx_ring, unsigned int __maybe_unused size) in ice_rx_frame_truesize()
537 ice_run_xdp(struct ice_ring *rx_ring, struct xdp_buff *xdp, in ice_run_xdp()
629 ice_alloc_mapped_page(struct ice_ring *rx_ring, struct ice_rx_buf *bi) in ice_alloc_mapped_page()
680 bool ice_alloc_rx_bufs(struct ice_ring *rx_ring, u16 cleaned_count) in ice_alloc_rx_bufs()
818 ice_add_rx_frag(struct ice_ring *rx_ring, struct ice_rx_buf *rx_buf, in ice_add_rx_frag()
844 ice_reuse_rx_page(struct ice_ring *rx_ring, struct ice_rx_buf *old_buf) in ice_reuse_rx_page()
[all …]
Dice_xsk.h31 ice_clean_rx_irq_zc(struct ice_ring __always_unused *rx_ring, in ice_clean_rx_irq_zc()
45 ice_alloc_rx_bufs_zc(struct ice_ring __always_unused *rx_ring, in ice_alloc_rx_bufs_zc()
63 #define ice_xsk_clean_rx_ring(rx_ring) do {} while (0) argument
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/iavf/
Diavf_txrx.c655 void iavf_clean_rx_ring(struct iavf_ring *rx_ring) in iavf_clean_rx_ring()
714 void iavf_free_rx_resources(struct iavf_ring *rx_ring) in iavf_free_rx_resources()
733 int iavf_setup_rx_descriptors(struct iavf_ring *rx_ring) in iavf_setup_rx_descriptors()
775 static inline void iavf_release_rx_desc(struct iavf_ring *rx_ring, u32 val) in iavf_release_rx_desc()
797 static inline unsigned int iavf_rx_offset(struct iavf_ring *rx_ring) in iavf_rx_offset()
810 static bool iavf_alloc_mapped_page(struct iavf_ring *rx_ring, in iavf_alloc_mapped_page()
860 static void iavf_receive_skb(struct iavf_ring *rx_ring, in iavf_receive_skb()
879 bool iavf_alloc_rx_buffers(struct iavf_ring *rx_ring, u16 cleaned_count) in iavf_alloc_rx_buffers()
1082 void iavf_process_skb_fields(struct iavf_ring *rx_ring, in iavf_process_skb_fields()
1109 static bool iavf_cleanup_headers(struct iavf_ring *rx_ring, struct sk_buff *skb) in iavf_cleanup_headers()
[all …]
/kernel/linux/linux-4.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 …]
/kernel/linux/linux-4.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 …]
/kernel/linux/linux-4.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 …]
/kernel/linux/linux-5.10/drivers/staging/qlge/
Dqlge_main.c967 struct rx_ring *rx_ring) in ql_get_curr_lchunk()
985 static void ql_update_cq(struct rx_ring *rx_ring) in ql_update_cq()
995 static void ql_write_cq_idx(struct rx_ring *rx_ring) in ql_write_cq_idx()
1006 static int qlge_refill_sb(struct rx_ring *rx_ring, in qlge_refill_sb()
1039 static int qlge_refill_lb(struct rx_ring *rx_ring, in qlge_refill_lb()
1089 struct rx_ring *rx_ring = QLGE_BQ_CONTAINER(bq); in qlge_refill_bq() local
1144 static void ql_update_buffer_queues(struct rx_ring *rx_ring, gfp_t gfp, in ql_update_buffer_queues()
1171 struct rx_ring *rx_ring = container_of(work, struct rx_ring, in qlge_slow_refill() local
1363 struct rx_ring *rx_ring) in ql_categorize_rx_err()
1418 struct rx_ring *rx_ring, in ql_process_mac_rx_gro_page()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_xsk.c98 struct ixgbe_ring *rx_ring, in ixgbe_run_xdp_zc()
144 bool ixgbe_alloc_rx_buffers_zc(struct ixgbe_ring *rx_ring, u16 count) in ixgbe_alloc_rx_buffers_zc()
206 static struct sk_buff *ixgbe_construct_skb_zc(struct ixgbe_ring *rx_ring, in ixgbe_construct_skb_zc()
230 static void ixgbe_inc_ntc(struct ixgbe_ring *rx_ring) in ixgbe_inc_ntc()
240 struct ixgbe_ring *rx_ring, in ixgbe_clean_rx_irq_zc()
367 void ixgbe_xsk_clean_rx_ring(struct ixgbe_ring *rx_ring) in ixgbe_xsk_clean_rx_ring()
/kernel/linux/linux-4.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 …]
/kernel/linux/linux-4.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 …]
/kernel/linux/linux-5.10/drivers/net/ethernet/amazon/ena/
Dena_netdev.c335 static int ena_xdp_execute(struct ena_ring *rx_ring, in ena_xdp_execute()
415 static int ena_xdp_register_rxq_info(struct ena_ring *rx_ring) in ena_xdp_register_rxq_info()
442 static void ena_xdp_unregister_rxq_info(struct ena_ring *rx_ring) in ena_xdp_unregister_rxq_info()
452 struct ena_ring *rx_ring; in ena_xdp_exchange_program_rx_in_range() local
801 struct ena_ring *rx_ring = &adapter->rx_ring[qid]; in ena_setup_rx_resources() local
858 struct ena_ring *rx_ring = &adapter->rx_ring[qid]; in ena_free_rx_resources() local
908 static int ena_alloc_rx_page(struct ena_ring *rx_ring, in ena_alloc_rx_page()
955 static void ena_free_rx_page(struct ena_ring *rx_ring, in ena_free_rx_page()
975 static int ena_refill_rx_bufs(struct ena_ring *rx_ring, u32 num) in ena_refill_rx_bufs()
1032 struct ena_ring *rx_ring = &adapter->rx_ring[qid]; in ena_free_rx_bufs() local
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/enetc/
Denetc.c477 static bool enetc_new_page(struct enetc_bdr *rx_ring, in enetc_new_page()
501 static int enetc_refill_rx_ring(struct enetc_bdr *rx_ring, const int buff_cnt) in enetc_refill_rx_ring()
569 static void enetc_get_offloads(struct enetc_bdr *rx_ring, in enetc_get_offloads()
613 static void enetc_process_skb(struct enetc_bdr *rx_ring, in enetc_process_skb()
625 static void enetc_reuse_page(struct enetc_bdr *rx_ring, in enetc_reuse_page()
639 static struct enetc_rx_swbd *enetc_get_rx_buff(struct enetc_bdr *rx_ring, in enetc_get_rx_buff()
650 static void enetc_put_rx_buff(struct enetc_bdr *rx_ring, in enetc_put_rx_buff()
672 static struct sk_buff *enetc_map_rx_buff_to_skb(struct enetc_bdr *rx_ring, in enetc_map_rx_buff_to_skb()
694 static void enetc_add_rx_buff_to_skb(struct enetc_bdr *rx_ring, int i, in enetc_add_rx_buff_to_skb()
707 static int enetc_clean_rx_ring(struct enetc_bdr *rx_ring, in enetc_clean_rx_ring()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf_main.c506 static void ixgbevf_process_skb_fields(struct ixgbevf_ring *rx_ring, in ixgbevf_process_skb_fields()
528 struct ixgbevf_rx_buffer *ixgbevf_get_rx_buffer(struct ixgbevf_ring *rx_ring, in ixgbevf_get_rx_buffer()
548 static void ixgbevf_put_rx_buffer(struct ixgbevf_ring *rx_ring, in ixgbevf_put_rx_buffer()
582 static bool ixgbevf_is_non_eop(struct ixgbevf_ring *rx_ring, in ixgbevf_is_non_eop()
599 static inline unsigned int ixgbevf_rx_offset(struct ixgbevf_ring *rx_ring) in ixgbevf_rx_offset()
604 static bool ixgbevf_alloc_mapped_page(struct ixgbevf_ring *rx_ring, in ixgbevf_alloc_mapped_page()
650 static void ixgbevf_alloc_rx_buffers(struct ixgbevf_ring *rx_ring, in ixgbevf_alloc_rx_buffers()
732 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()
832 static void ixgbevf_add_rx_frag(struct ixgbevf_ring *rx_ring, in ixgbevf_add_rx_frag()
[all …]
/kernel/linux/linux-4.19/drivers/net/ethernet/intel/fm10k/
Dfm10k_main.c70 static bool fm10k_alloc_mapped_page(struct fm10k_ring *rx_ring, in fm10k_alloc_mapped_page()
112 void fm10k_alloc_rx_buffers(struct fm10k_ring *rx_ring, u16 cleaned_count) in fm10k_alloc_rx_buffers()
178 static void fm10k_reuse_rx_page(struct fm10k_ring *rx_ring, in fm10k_reuse_rx_page()
299 static struct sk_buff *fm10k_fetch_rx_buffer(struct fm10k_ring *rx_ring, in fm10k_fetch_rx_buffer()
414 static void fm10k_type_trans(struct fm10k_ring *rx_ring, in fm10k_type_trans()
452 static unsigned int fm10k_process_skb_fields(struct fm10k_ring *rx_ring, in fm10k_process_skb_fields()
493 static bool fm10k_is_non_eop(struct fm10k_ring *rx_ring, in fm10k_is_non_eop()
524 static bool fm10k_cleanup_headers(struct fm10k_ring *rx_ring, in fm10k_cleanup_headers()
566 struct fm10k_ring *rx_ring, in fm10k_clean_rx_irq()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/fm10k/
Dfm10k_main.c67 static bool fm10k_alloc_mapped_page(struct fm10k_ring *rx_ring, in fm10k_alloc_mapped_page()
109 void fm10k_alloc_rx_buffers(struct fm10k_ring *rx_ring, u16 cleaned_count) in fm10k_alloc_rx_buffers()
175 static void fm10k_reuse_rx_page(struct fm10k_ring *rx_ring, in fm10k_reuse_rx_page()
296 static struct sk_buff *fm10k_fetch_rx_buffer(struct fm10k_ring *rx_ring, in fm10k_fetch_rx_buffer()
408 static void fm10k_type_trans(struct fm10k_ring *rx_ring, in fm10k_type_trans()
446 static unsigned int fm10k_process_skb_fields(struct fm10k_ring *rx_ring, in fm10k_process_skb_fields()
487 static bool fm10k_is_non_eop(struct fm10k_ring *rx_ring, in fm10k_is_non_eop()
518 static bool fm10k_cleanup_headers(struct fm10k_ring *rx_ring, in fm10k_cleanup_headers()
560 struct fm10k_ring *rx_ring, in fm10k_clean_rx_irq()
/kernel/linux/linux-4.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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-4.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 …]
/kernel/linux/linux-4.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 …]
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/
Dnfp_net_common.c595 nfp_net_rx_ring_init(struct nfp_net_rx_ring *rx_ring, in nfp_net_rx_ring_init()
1433 struct nfp_net_rx_ring *rx_ring, in nfp_net_rx_give_one()
1468 static void nfp_net_rx_ring_reset(struct nfp_net_rx_ring *rx_ring) in nfp_net_rx_ring_reset()
1502 struct nfp_net_rx_ring *rx_ring) in nfp_net_rx_ring_bufs_free()
1528 struct nfp_net_rx_ring *rx_ring) in nfp_net_rx_ring_bufs_alloc()
1553 struct nfp_net_rx_ring *rx_ring) in nfp_net_rx_ring_fill_freelist()
1715 struct nfp_net_rx_ring *rx_ring, struct nfp_net_rx_buf *rxbuf, in nfp_net_rx_drop()
1739 nfp_net_tx_xdp_buf(struct nfp_net_dp *dp, struct nfp_net_rx_ring *rx_ring, in nfp_net_tx_xdp_buf()
1809 static int nfp_net_rx(struct nfp_net_rx_ring *rx_ring, int budget) in nfp_net_rx()
2204 struct nfp_net_r_vector *r_vec, struct nfp_net_rx_ring *rx_ring) in nfp_ctrl_rx_one()
[all …]

12345678910>>...12