Home
last modified time | relevance | path

Searched refs:i40e_ring (Results 1 – 10 of 10) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/intel/i40e/
Di40e_txrx_common.h7 int i40e_xmit_xdp_tx_ring(struct xdp_buff *xdp, struct i40e_ring *xdp_ring);
8 void i40e_clean_programming_status(struct i40e_ring *rx_ring, u64 qword0_raw,
10 void i40e_process_skb_fields(struct i40e_ring *rx_ring,
12 void i40e_xdp_ring_update_tail(struct i40e_ring *xdp_ring);
13 void i40e_update_rx_stats(struct i40e_ring *rx_ring,
16 void i40e_finalize_xdp_rx(struct i40e_ring *rx_ring, unsigned int xdp_res);
17 void i40e_release_rx_desc(struct i40e_ring *rx_ring, u32 val);
44 static inline void i40e_update_tx_stats(struct i40e_ring *tx_ring, in i40e_update_tx_stats()
64 static inline void i40e_arm_wb(struct i40e_ring *tx_ring, in i40e_arm_wb()
103 void i40e_xsk_clean_rx_ring(struct i40e_ring *rx_ring);
[all …]
Di40e_txrx.h323 struct i40e_ring { struct
324 struct i40e_ring *next; /* pointer to next ring in q_vector */ argument
398 static inline bool ring_uses_build_skb(struct i40e_ring *ring) in ring_uses_build_skb() argument
403 static inline void set_ring_build_skb_enabled(struct i40e_ring *ring) in set_ring_build_skb_enabled()
408 static inline void clear_ring_build_skb_enabled(struct i40e_ring *ring) in clear_ring_build_skb_enabled()
413 static inline bool ring_is_xdp(struct i40e_ring *ring) in ring_is_xdp()
418 static inline void set_ring_xdp(struct i40e_ring *ring) in set_ring_xdp()
430 struct i40e_ring *ring; /* pointer to linked list of ring(s) */
443 static inline unsigned int i40e_rx_pg_order(struct i40e_ring *ring) in i40e_rx_pg_order()
454 bool i40e_alloc_rx_buffers(struct i40e_ring *rxr, u16 cleaned_count);
[all …]
Di40e_trace.h62 TP_PROTO(struct i40e_ring *ring,
97 TP_PROTO(struct i40e_ring *ring,
105 TP_PROTO(struct i40e_ring *ring,
114 TP_PROTO(struct i40e_ring *ring,
142 TP_PROTO(struct i40e_ring *ring,
150 TP_PROTO(struct i40e_ring *ring,
160 struct i40e_ring *ring),
185 struct i40e_ring *ring),
192 struct i40e_ring *ring),
Di40e_xsk.c13 void i40e_clear_rx_bi_zc(struct i40e_ring *rx_ring) in i40e_clear_rx_bi_zc()
19 static struct xdp_buff **i40e_rx_bi(struct i40e_ring *rx_ring, u32 idx) in i40e_rx_bi()
33 static int i40e_realloc_rx_xdp_bi(struct i40e_ring *rx_ring, bool pool_present) in i40e_realloc_rx_xdp_bi()
65 struct i40e_ring *rx_ring; in i40e_realloc_rx_bi_zc()
201 static int i40e_run_xdp_zc(struct i40e_ring *rx_ring, struct xdp_buff *xdp, in i40e_run_xdp_zc()
205 struct i40e_ring *xdp_ring; in i40e_run_xdp_zc()
244 bool i40e_alloc_rx_buffers_zc(struct i40e_ring *rx_ring, u16 count) in i40e_alloc_rx_buffers_zc()
292 static struct sk_buff *i40e_construct_skb_zc(struct i40e_ring *rx_ring, in i40e_construct_skb_zc()
320 static void i40e_handle_xdp_result_zc(struct i40e_ring *rx_ring, in i40e_handle_xdp_result_zc()
384 int i40e_clean_rx_irq_zc(struct i40e_ring *rx_ring, int budget) in i40e_clean_rx_irq_zc()
[all …]
Di40e_xsk.h30 bool i40e_alloc_rx_buffers_zc(struct i40e_ring *rx_ring, u16 cleaned_count);
31 int i40e_clean_rx_irq_zc(struct i40e_ring *rx_ring, int budget);
33 bool i40e_clean_xdp_tx_irq(struct i40e_vsi *vsi, struct i40e_ring *tx_ring);
36 void i40e_clear_rx_bi_zc(struct i40e_ring *rx_ring);
Di40e_txrx.c22 static void i40e_fdir(struct i40e_ring *tx_ring, in i40e_fdir()
92 struct i40e_ring *tx_ring; in i40e_program_fdir_filter()
685 static void i40e_fd_handle_status(struct i40e_ring *rx_ring, u64 qword0_raw, in i40e_fd_handle_status()
756 static void i40e_unmap_and_free_tx_resource(struct i40e_ring *ring, in i40e_unmap_and_free_tx_resource()
788 void i40e_clean_tx_ring(struct i40e_ring *tx_ring) in i40e_clean_tx_ring()
828 void i40e_free_tx_resources(struct i40e_ring *tx_ring) in i40e_free_tx_resources()
849 u32 i40e_get_tx_pending(struct i40e_ring *ring, bool in_sw) in i40e_get_tx_pending()
877 struct i40e_ring *tx_ring = NULL; in i40e_detect_recover_hung()
930 struct i40e_ring *tx_ring, int napi_budget) in i40e_clean_tx_irq()
1353 static struct i40e_rx_buffer *i40e_rx_bi(struct i40e_ring *rx_ring, u32 idx) in i40e_rx_bi()
[all …]
Di40e.h880 struct i40e_ring **rx_rings;
881 struct i40e_ring **tx_rings;
882 struct i40e_ring **xdp_rings; /* XDP Tx rings */
Di40e_main.c330 struct i40e_ring *tx_ring = NULL; in i40e_tx_timeout()
415 static void i40e_get_netdev_stats_struct_tx(struct i40e_ring *ring, in i40e_get_netdev_stats_struct_tx()
445 struct i40e_ring *ring; in i40e_get_netdev_stats_struct()
860 struct i40e_ring *p; in i40e_update_vsi_stats()
3384 static void i40e_config_xps_tx_ring(struct i40e_ring *ring) in i40e_config_xps_tx_ring()
3406 static struct xsk_buff_pool *i40e_xsk_pool(struct i40e_ring *ring) in i40e_xsk_pool()
3426 static int i40e_configure_tx_ring(struct i40e_ring *ring) in i40e_configure_tx_ring()
3539 static unsigned int i40e_rx_offset(struct i40e_ring *rx_ring) in i40e_rx_offset()
3550 static int i40e_configure_rx_ring(struct i40e_ring *ring) in i40e_configure_rx_ring()
3747 struct i40e_ring *tx_ring, *rx_ring; in i40e_vsi_config_dcb_rings()
[all …]
Di40e_debugfs.c248 struct i40e_ring *rx_ring = READ_ONCE(vsi->rx_rings[i]); in i40e_dbg_dump_vsi_seid()
290 struct i40e_ring *tx_ring = READ_ONCE(vsi->tx_rings[i]); in i40e_dbg_dump_vsi_seid()
330 struct i40e_ring *xdp_ring = READ_ONCE(vsi->xdp_rings[i]); in i40e_dbg_dump_vsi_seid()
547 struct i40e_ring *ring; in i40e_dbg_dump_desc()
Di40e_ethtool.c58 I40E_STAT(struct i40e_ring, _name, _stat)
166 i40e_add_queue_stats(u64 **data, struct i40e_ring *ring) in i40e_add_queue_stats()
2049 struct i40e_ring *tx_rings = NULL, *rx_rings = NULL; in i40e_set_ringparam()
2121 sizeof(struct i40e_ring), GFP_KERNEL); in i40e_set_ringparam()
2160 sizeof(struct i40e_ring), GFP_KERNEL); in i40e_set_ringparam()
2879 struct i40e_ring *rx_ring, *tx_ring; in __i40e_get_coalesce()
2962 struct i40e_ring *rx_ring = vsi->rx_rings[queue]; in i40e_set_itr_per_queue()
2963 struct i40e_ring *tx_ring = vsi->tx_rings[queue]; in i40e_set_itr_per_queue()