Home
last modified time | relevance | path

Searched refs:ice_tx_ring (Results 1 – 19 of 19) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/intel/ice/
Dice_txrx.h190 struct ice_tx_ring *tx_ring;
334 struct ice_tx_ring *xdp_ring;
349 struct ice_tx_ring { struct
351 struct ice_tx_ring *next; /* pointer to next ring in q_vector */ argument
402 static inline bool ice_ring_ch_enabled(struct ice_tx_ring *ring) in ice_ring_ch_enabled() argument
407 static inline bool ice_ring_is_xdp(struct ice_tx_ring *ring) in ice_ring_is_xdp()
421 struct ice_tx_ring *tx_ring;
472 void ice_clean_tx_ring(struct ice_tx_ring *tx_ring);
474 int ice_setup_tx_ring(struct ice_tx_ring *tx_ring);
476 void ice_free_tx_ring(struct ice_tx_ring *tx_ring);
[all …]
Dice_xsk.h28 void ice_xsk_clean_xdp_ring(struct ice_tx_ring *xdp_ring);
29 bool ice_xmit_zc(struct ice_tx_ring *xdp_ring);
32 static inline bool ice_xmit_zc(struct ice_tx_ring __always_unused *xdp_ring) in ice_xmit_zc()
72 static inline void ice_xsk_clean_xdp_ring(struct ice_tx_ring *xdp_ring) { } in ice_xsk_clean_xdp_ring()
Dice_txrx_lib.h129 static inline void ice_xdp_ring_update_tail(struct ice_tx_ring *xdp_ring) in ice_xdp_ring_update_tail()
144 static inline u32 ice_set_rs_bit(const struct ice_tx_ring *xdp_ring) in ice_set_rs_bit()
156 void ice_finalize_xdp_rx(struct ice_tx_ring *xdp_ring, unsigned int xdp_res, u32 first_idx);
157 int ice_xmit_xdp_buff(struct xdp_buff *xdp, struct ice_tx_ring *xdp_ring);
158 int __ice_xmit_xdp_ring(struct xdp_buff *xdp, struct ice_tx_ring *xdp_ring,
Dice_base.h18 ice_vsi_cfg_txq(struct ice_vsi *vsi, struct ice_tx_ring *ring,
28 u16 rel_vmvf_num, struct ice_tx_ring *ring,
31 ice_fill_txq_meta(struct ice_vsi *vsi, struct ice_tx_ring *ring,
Dice_xsk.c122 struct ice_tx_ring *tx_ring; in ice_qvec_cfg_msix()
164 struct ice_tx_ring *tx_ring; in ice_qp_dis()
189 struct ice_tx_ring *xdp_ring = vsi->xdp_rings[q_idx]; in ice_qp_dis()
222 struct ice_tx_ring *tx_ring; in ice_qp_ena()
246 struct ice_tx_ring *xdp_ring = vsi->xdp_rings[q_idx]; in ice_qp_ena()
616 static u32 ice_clean_xdp_irq_zc(struct ice_tx_ring *xdp_ring) in ice_clean_xdp_irq_zc()
685 struct ice_tx_ring *xdp_ring) in ice_xmit_xdp_tx_zc()
766 struct bpf_prog *xdp_prog, struct ice_tx_ring *xdp_ring) in ice_run_xdp_zc()
851 struct ice_tx_ring *xdp_ring; in ice_clean_rx_irq_zc()
989 static void ice_xmit_pkt(struct ice_tx_ring *xdp_ring, struct xdp_desc *desc, in ice_xmit_pkt()
[all …]
Dice_txrx.c39 struct ice_tx_ring *tx_ring; in ice_prgm_fdir_fltr()
113 ice_unmap_and_free_tx_buf(struct ice_tx_ring *ring, struct ice_tx_buf *tx_buf) in ice_unmap_and_free_tx_buf()
142 static struct netdev_queue *txring_txq(const struct ice_tx_ring *ring) in txring_txq()
151 void ice_clean_tx_ring(struct ice_tx_ring *tx_ring) in ice_clean_tx_ring()
193 void ice_free_tx_ring(struct ice_tx_ring *tx_ring) in ice_free_tx_ring()
217 static bool ice_clean_tx_irq(struct ice_tx_ring *tx_ring, int napi_budget) in ice_clean_tx_irq()
341 int ice_setup_tx_ring(struct ice_tx_ring *tx_ring) in ice_setup_tx_ring()
560 struct bpf_prog *xdp_prog, struct ice_tx_ring *xdp_ring, in ice_run_xdp()
607 struct ice_tx_ring *xdp_ring) in ice_xmit_xdp_ring()
639 struct ice_tx_ring *xdp_ring; in ice_xdp_xmit()
[all …]
Dice_base.c181 struct ice_tx_ring *tx_ring; in ice_free_q_vector()
254 static u16 ice_calc_txq_handle(struct ice_vsi *vsi, struct ice_tx_ring *ring, u8 tc) in ice_calc_txq_handle()
279 static u16 ice_eswitch_calc_txq_handle(struct ice_tx_ring *ring) in ice_eswitch_calc_txq_handle()
299 static void ice_cfg_xps_tx_ring(struct ice_tx_ring *ring) in ice_cfg_xps_tx_ring()
321 ice_setup_tx_ctx(struct ice_tx_ring *ring, struct ice_tlan_ctx *tlan_ctx, u16 pf_q) in ice_setup_tx_ctx()
769 struct ice_tx_ring *tx_ring = vsi->tx_rings[q_id]; in ice_vsi_map_rings_to_vectors()
817 ice_vsi_cfg_txq(struct ice_vsi *vsi, struct ice_tx_ring *ring, in ice_vsi_cfg_txq()
990 u16 rel_vmvf_num, struct ice_tx_ring *ring, in ice_vsi_stop_tx_ring()
1047 ice_fill_txq_meta(struct ice_vsi *vsi, struct ice_tx_ring *ring, in ice_fill_txq_meta()
Dice_dcb_lib.h31 ice_tx_prepare_vlan_flags_dcb(struct ice_tx_ring *tx_ring,
108 ice_tx_prepare_vlan_flags_dcb(struct ice_tx_ring __always_unused *tx_ring, in ice_tx_prepare_vlan_flags_dcb()
Dice_trace.h119 TP_PROTO(struct ice_tx_ring *ring, struct ice_tx_desc *desc,
139 TP_PROTO(struct ice_tx_ring *ring, \
196 TP_PROTO(struct ice_tx_ring *ring, struct sk_buff *skb),
214 TP_PROTO(struct ice_tx_ring *ring, struct sk_buff *skb), \
Dice_lib.h59 int ice_vsi_cfg_single_txq(struct ice_vsi *vsi, struct ice_tx_ring **tx_rings, u16 q_idx);
125 void ice_update_tx_ring_stats(struct ice_tx_ring *ring, u64 pkts, u64 bytes);
Dice_txrx_lib.c253 static u32 ice_clean_xdp_irq(struct ice_tx_ring *xdp_ring) in ice_clean_xdp_irq()
328 int __ice_xmit_xdp_ring(struct xdp_buff *xdp, struct ice_tx_ring *xdp_ring, in __ice_xmit_xdp_ring()
447 void ice_finalize_xdp_rx(struct ice_tx_ring *xdp_ring, unsigned int xdp_res, in ice_finalize_xdp_rx()
Dice.h331 struct ice_tx_ring **tx_rings; /* Tx ring array */
409 struct ice_tx_ring **xdp_rings; /* XDP ring array */
712 static inline void ice_set_ring_xdp(struct ice_tx_ring *ring) in ice_set_ring_xdp()
751 struct ice_tx_ring *ring; in ice_tx_xsk_pool()
Dice_repr.c154 struct ice_tx_ring *tx_ring; in ice_repr_sp_stats64()
Dice_dcb_lib.c217 struct ice_tx_ring *tx_ring; in ice_vsi_cfg_dcb_rings()
923 ice_tx_prepare_vlan_flags_dcb(struct ice_tx_ring *tx_ring, in ice_tx_prepare_vlan_flags_dcb()
Dice_lib.c397 struct ice_tx_ring *ring; in ice_vsi_alloc_ring_stats()
1422 struct ice_tx_ring *ring; in ice_vsi_alloc_rings()
1833 int ice_vsi_cfg_single_txq(struct ice_vsi *vsi, struct ice_tx_ring **tx_rings, u16 q_idx) in ice_vsi_cfg_single_txq()
1889 ice_vsi_cfg_txqs(struct ice_vsi *vsi, struct ice_tx_ring **rings, u16 count) in ice_vsi_cfg_txqs()
2127 u16 rel_vmvf_num, struct ice_tx_ring **rings, u16 count) in ice_vsi_stop_tx_rings()
3511 void ice_update_tx_ring_stats(struct ice_tx_ring *tx_ring, u64 pkts, u64 bytes) in ice_update_tx_ring_stats()
Dice_main.c94 static u16 ice_get_tx_pending(struct ice_tx_ring *ring) in ice_get_tx_pending()
134 struct ice_tx_ring *tx_ring = vsi->tx_rings[i]; in ice_check_for_hang_subtask()
2595 struct ice_tx_ring *xdp_ring; in ice_xdp_alloc_setup_rings()
2709 struct ice_tx_ring *xdp_ring = vsi->xdp_rings[q_id]; in ice_prepare_xdp_rings()
2723 struct ice_tx_ring *ring; in ice_prepare_xdp_rings()
2811 struct ice_tx_ring *ring; in ice_destroy_xdp_rings()
6530 struct ice_tx_ring **rings, u16 count) in ice_update_vsi_tx_ring_stats()
6535 struct ice_tx_ring *ring; in ice_update_vsi_tx_ring_stats()
6990 struct ice_tx_ring *ring = vsi->tx_rings[i]; in ice_vsi_setup_tx_rings()
7840 struct ice_tx_ring *tx_ring = NULL; in ice_tx_timeout()
[all …]
Dice_eswitch.c152 struct ice_tx_ring *tx_ring; in ice_eswitch_remap_rings_to_vectors()
Dice_ethtool.c769 static int ice_diag_send(struct ice_tx_ring *tx_ring, u8 *data, u16 size) in ice_diag_send()
864 struct ice_tx_ring *tx_ring; in ice_loopback_test()
1525 struct ice_tx_ring *tx_ring; in __ice_get_ethtool_stats()
2705 struct ice_tx_ring *xdp_rings = NULL; in ice_set_ringparam()
2706 struct ice_tx_ring *tx_rings = NULL; in ice_set_ringparam()
Dice_virtchnl.c1331 struct ice_tx_ring *ring; in ice_vf_vsi_dis_single_txq()