Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/intel/i40e/
Di40e_txrx_common.h9 int i40e_xmit_xdp_tx_ring(struct xdp_buff *xdp, struct i40e_ring *xdp_ring);
10 void i40e_clean_programming_status(struct i40e_ring *rx_ring, u64 qword0_raw,
12 void i40e_process_skb_fields(struct i40e_ring *rx_ring,
14 void i40e_xdp_ring_update_tail(struct i40e_ring *xdp_ring);
15 void i40e_update_rx_stats(struct i40e_ring *rx_ring,
18 void i40e_finalize_xdp_rx(struct i40e_ring *rx_ring, unsigned int xdp_res);
19 void i40e_release_rx_desc(struct i40e_ring *rx_ring, u32 val);
46 static inline void i40e_update_tx_stats(struct i40e_ring *tx_ring, in i40e_update_tx_stats()
66 static inline void i40e_arm_wb(struct i40e_ring *tx_ring, in i40e_arm_wb()
105 void i40e_xsk_clean_rx_ring(struct i40e_ring *rx_ring);
[all …]
Di40e_txrx.h326 struct i40e_ring { struct
327 struct i40e_ring *next; /* pointer to next ring in q_vector */ argument
404 static inline bool ring_uses_build_skb(struct i40e_ring *ring) in ring_uses_build_skb() argument
409 static inline void set_ring_build_skb_enabled(struct i40e_ring *ring) in set_ring_build_skb_enabled()
414 static inline void clear_ring_build_skb_enabled(struct i40e_ring *ring) in clear_ring_build_skb_enabled()
419 static inline bool ring_is_xdp(struct i40e_ring *ring) in ring_is_xdp()
424 static inline void set_ring_xdp(struct i40e_ring *ring) in set_ring_xdp()
436 struct i40e_ring *ring; /* pointer to linked list of ring(s) */
449 static inline unsigned int i40e_rx_pg_order(struct i40e_ring *ring) in i40e_rx_pg_order()
460 bool i40e_alloc_rx_buffers(struct i40e_ring *rxr, u16 cleaned_count);
[all …]
Di40e_xsk.h25 struct i40e_ring;
34 bool i40e_alloc_rx_buffers_zc(struct i40e_ring *rx_ring, u16 cleaned_count);
35 int i40e_clean_rx_irq_zc(struct i40e_ring *rx_ring, int budget);
37 bool i40e_clean_xdp_tx_irq(struct i40e_vsi *vsi, struct i40e_ring *tx_ring);
40 void i40e_clear_rx_bi_zc(struct i40e_ring *rx_ring);
Di40e_trace.h111 TP_PROTO(struct i40e_ring *ring,
146 TP_PROTO(struct i40e_ring *ring,
154 TP_PROTO(struct i40e_ring *ring,
163 TP_PROTO(struct i40e_ring *ring,
191 TP_PROTO(struct i40e_ring *ring,
199 TP_PROTO(struct i40e_ring *ring,
209 struct i40e_ring *ring),
234 struct i40e_ring *ring),
241 struct i40e_ring *ring),
Di40e_xsk.c9 void i40e_clear_rx_bi_zc(struct i40e_ring *rx_ring) in i40e_clear_rx_bi_zc()
15 static struct xdp_buff **i40e_rx_bi(struct i40e_ring *rx_ring, u32 idx) in i40e_rx_bi()
29 static int i40e_realloc_rx_xdp_bi(struct i40e_ring *rx_ring, bool pool_present) in i40e_realloc_rx_xdp_bi()
61 struct i40e_ring *rx_ring; in i40e_realloc_rx_bi_zc()
197 static int i40e_run_xdp_zc(struct i40e_ring *rx_ring, struct xdp_buff *xdp, in i40e_run_xdp_zc()
201 struct i40e_ring *xdp_ring; in i40e_run_xdp_zc()
240 bool i40e_alloc_rx_buffers_zc(struct i40e_ring *rx_ring, u16 count) in i40e_alloc_rx_buffers_zc()
288 static struct sk_buff *i40e_construct_skb_zc(struct i40e_ring *rx_ring, in i40e_construct_skb_zc()
343 static void i40e_handle_xdp_result_zc(struct i40e_ring *rx_ring, in i40e_handle_xdp_result_zc()
399 i40e_add_xsk_frag(struct i40e_ring *rx_ring, struct xdp_buff *first, in i40e_add_xsk_frag()
[all …]
Di40e_txrx.c22 static void i40e_fdir(struct i40e_ring *tx_ring, in i40e_fdir()
87 struct i40e_ring *tx_ring; in i40e_program_fdir_filter()
680 static void i40e_fd_handle_status(struct i40e_ring *rx_ring, u64 qword0_raw, in i40e_fd_handle_status()
750 static void i40e_unmap_and_free_tx_resource(struct i40e_ring *ring, in i40e_unmap_and_free_tx_resource()
782 void i40e_clean_tx_ring(struct i40e_ring *tx_ring) in i40e_clean_tx_ring()
822 void i40e_free_tx_resources(struct i40e_ring *tx_ring) in i40e_free_tx_resources()
843 u32 i40e_get_tx_pending(struct i40e_ring *ring, bool in_sw) in i40e_get_tx_pending()
873 struct i40e_ring *tx_ring = NULL; in i40e_detect_recover_hung()
927 struct i40e_ring *tx_ring, int napi_budget, in i40e_clean_tx_irq()
1352 static struct i40e_rx_buffer *i40e_rx_bi(struct i40e_ring *rx_ring, u32 idx) in i40e_rx_bi()
[all …]
Di40e.h844 struct i40e_ring **rx_rings;
845 struct i40e_ring **tx_rings;
846 struct i40e_ring **xdp_rings; /* XDP Tx rings */
Di40e_main.c351 struct i40e_ring *tx_ring = NULL; in i40e_tx_timeout()
436 static void i40e_get_netdev_stats_struct_tx(struct i40e_ring *ring, in i40e_get_netdev_stats_struct_tx()
466 struct i40e_ring *ring; in i40e_get_netdev_stats_struct()
870 struct i40e_ring *p; in i40e_update_vsi_stats()
3424 static void i40e_config_xps_tx_ring(struct i40e_ring *ring) in i40e_config_xps_tx_ring()
3446 static struct xsk_buff_pool *i40e_xsk_pool(struct i40e_ring *ring) in i40e_xsk_pool()
3466 static int i40e_configure_tx_ring(struct i40e_ring *ring) in i40e_configure_tx_ring()
3579 static unsigned int i40e_rx_offset(struct i40e_ring *rx_ring) in i40e_rx_offset()
3590 static int i40e_configure_rx_ring(struct i40e_ring *ring) in i40e_configure_rx_ring()
3789 struct i40e_ring *tx_ring, *rx_ring; in i40e_vsi_config_dcb_rings()
[all …]
Di40e_debugfs.c232 struct i40e_ring *rx_ring = READ_ONCE(vsi->rx_rings[i]); in i40e_dbg_dump_vsi_seid()
274 struct i40e_ring *tx_ring = READ_ONCE(vsi->tx_rings[i]); in i40e_dbg_dump_vsi_seid()
314 struct i40e_ring *xdp_ring = READ_ONCE(vsi->xdp_rings[i]); in i40e_dbg_dump_vsi_seid()
531 struct i40e_ring *ring; in i40e_dbg_dump_desc()
Di40e_ethtool.c59 I40E_STAT(struct i40e_ring, _name, _stat)
167 i40e_add_queue_stats(u64 **data, struct i40e_ring *ring) in i40e_add_queue_stats()
2061 struct i40e_ring *tx_rings = NULL, *rx_rings = NULL; in i40e_set_ringparam()
2133 sizeof(struct i40e_ring), GFP_KERNEL); in i40e_set_ringparam()
2172 sizeof(struct i40e_ring), GFP_KERNEL); in i40e_set_ringparam()
2884 struct i40e_ring *rx_ring, *tx_ring; in __i40e_get_coalesce()
2966 struct i40e_ring *rx_ring = vsi->rx_rings[queue]; in i40e_set_itr_per_queue()
2967 struct i40e_ring *tx_ring = vsi->tx_rings[queue]; in i40e_set_itr_per_queue()