/Linux-v5.10/drivers/net/ethernet/intel/ice/ |
D | ice_txrx.h | 156 struct ice_ring *tx_ring; 261 struct ice_ring { struct 263 struct ice_ring *next; /* pointer to next ring in q_vector */ argument 314 static inline bool ice_ring_uses_build_skb(struct ice_ring *ring) in ice_ring_uses_build_skb() argument 319 static inline void ice_set_ring_build_skb_ena(struct ice_ring *ring) in ice_set_ring_build_skb_ena() 324 static inline void ice_clear_ring_build_skb_ena(struct ice_ring *ring) in ice_clear_ring_build_skb_ena() 329 static inline bool ice_ring_is_xdp(struct ice_ring *ring) in ice_ring_is_xdp() 336 struct ice_ring *ring; 360 static inline unsigned int ice_rx_pg_order(struct ice_ring *ring) in ice_rx_pg_order() 373 bool ice_alloc_rx_bufs(struct ice_ring *rxr, u16 cleaned_count); [all …]
|
D | ice_xsk.h | 14 int ice_clean_rx_irq_zc(struct ice_ring *rx_ring, int budget); 15 bool ice_clean_tx_irq_zc(struct ice_ring *xdp_ring, int budget); 17 bool ice_alloc_rx_bufs_zc(struct ice_ring *rx_ring, u16 count); 19 void ice_xsk_clean_rx_ring(struct ice_ring *rx_ring); 20 void ice_xsk_clean_xdp_ring(struct ice_ring *xdp_ring); 31 ice_clean_rx_irq_zc(struct ice_ring __always_unused *rx_ring, in ice_clean_rx_irq_zc() 38 ice_clean_tx_irq_zc(struct ice_ring __always_unused *xdp_ring, in ice_clean_tx_irq_zc() 45 ice_alloc_rx_bufs_zc(struct ice_ring __always_unused *rx_ring, in ice_alloc_rx_bufs_zc()
|
D | ice_txrx_lib.h | 40 static inline void ice_xdp_ring_update_tail(struct ice_ring *xdp_ring) in ice_xdp_ring_update_tail() 49 void ice_finalize_xdp_rx(struct ice_ring *rx_ring, unsigned int xdp_res); 50 int ice_xmit_xdp_buff(struct xdp_buff *xdp, struct ice_ring *xdp_ring); 51 int ice_xmit_xdp_ring(void *data, u16 size, struct ice_ring *xdp_ring); 52 void ice_release_rx_desc(struct ice_ring *rx_ring, u16 val); 54 ice_process_skb_fields(struct ice_ring *rx_ring, 58 ice_receive_skb(struct ice_ring *rx_ring, struct sk_buff *skb, u16 vlan_tag);
|
D | ice_txrx_lib.c | 11 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() 83 ice_rx_csum(struct ice_ring *ring, struct sk_buff *skb, in ice_rx_csum() 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() 208 int ice_xmit_xdp_ring(void *data, u16 size, struct ice_ring *xdp_ring) in ice_xmit_xdp_ring() 260 int ice_xmit_xdp_buff(struct xdp_buff *xdp, struct ice_ring *xdp_ring) in ice_xmit_xdp_buff() 279 void ice_finalize_xdp_rx(struct ice_ring *rx_ring, unsigned int xdp_res) in ice_finalize_xdp_rx() 285 struct ice_ring *xdp_ring = in ice_finalize_xdp_rx()
|
D | ice_base.h | 9 int ice_setup_rx_ctx(struct ice_ring *ring); 18 ice_vsi_cfg_txq(struct ice_vsi *vsi, struct ice_ring *ring, 28 u16 rel_vmvf_num, struct ice_ring *ring, 31 ice_fill_txq_meta(struct ice_vsi *vsi, struct ice_ring *ring,
|
D | ice_xsk.c | 70 ice_qvec_dis_irq(struct ice_vsi *vsi, struct ice_ring *rx_ring, in ice_qvec_dis_irq() 107 struct ice_ring *ring; in ice_qvec_cfg_msix() 150 struct ice_ring *tx_ring, *rx_ring; in ice_qp_dis() 177 struct ice_ring *xdp_ring = vsi->xdp_rings[q_idx]; in ice_qp_dis() 207 struct ice_ring *tx_ring, *rx_ring; in ice_qp_ena() 231 struct ice_ring *xdp_ring = vsi->xdp_rings[q_idx]; in ice_qp_ena() 413 bool ice_alloc_rx_bufs_zc(struct ice_ring *rx_ring, u16 count) in ice_alloc_rx_bufs_zc() 459 static void ice_bump_ntc(struct ice_ring *rx_ring) in ice_bump_ntc() 478 ice_construct_skb_zc(struct ice_ring *rx_ring, struct ice_rx_buf *rx_buf) in ice_construct_skb_zc() 509 ice_run_xdp_zc(struct ice_ring *rx_ring, struct xdp_buff *xdp) in ice_run_xdp_zc() [all …]
|
D | ice_txrx.c | 34 struct ice_ring *tx_ring; in ice_prgm_fdir_fltr() 108 ice_unmap_and_free_tx_buf(struct ice_ring *ring, struct ice_tx_buf *tx_buf) in ice_unmap_and_free_tx_buf() 135 static struct netdev_queue *txring_txq(const struct ice_ring *ring) in txring_txq() 144 void ice_clean_tx_ring(struct ice_ring *tx_ring) in ice_clean_tx_ring() 183 void ice_free_tx_ring(struct ice_ring *tx_ring) in ice_free_tx_ring() 203 static bool ice_clean_tx_irq(struct ice_ring *tx_ring, int napi_budget) in ice_clean_tx_irq() 328 int ice_setup_tx_ring(struct ice_ring *tx_ring) in ice_setup_tx_ring() 369 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() [all …]
|
D | ice_dcb_lib.h | 31 ice_tx_prepare_vlan_flags_dcb(struct ice_ring *tx_ring, 52 ice_set_cgd_num(struct ice_tlan_ctx *tlan_ctx, struct ice_ring *ring) in ice_set_cgd_num() 98 ice_tx_prepare_vlan_flags_dcb(struct ice_ring __always_unused *tx_ring, in ice_tx_prepare_vlan_flags_dcb()
|
D | ice_base.c | 146 struct ice_ring *ring; in ice_free_q_vector() 206 static u16 ice_calc_q_handle(struct ice_vsi *vsi, struct ice_ring *ring, u8 tc) in ice_calc_q_handle() 226 ice_setup_tx_ctx(struct ice_ring *ring, struct ice_tlan_ctx *tlan_ctx, u16 pf_q) in ice_setup_tx_ctx() 283 int ice_setup_rx_ctx(struct ice_ring *ring) in ice_setup_rx_ctx() 589 struct ice_ring *tx_ring = vsi->tx_rings[q_id]; in ice_vsi_map_rings_to_vectors() 606 struct ice_ring *rx_ring = vsi->rx_rings[q_id]; in ice_vsi_map_rings_to_vectors() 635 ice_vsi_cfg_txq(struct ice_vsi *vsi, struct ice_ring *ring, in ice_vsi_cfg_txq() 803 u16 rel_vmvf_num, struct ice_ring *ring, in ice_vsi_stop_tx_ring() 860 ice_fill_txq_meta(struct ice_vsi *vsi, struct ice_ring *ring, in ice_fill_txq_meta()
|
D | ice.h | 245 struct ice_ring **rx_rings; /* Rx ring array */ 246 struct ice_ring **tx_rings; /* Tx ring array */ 325 struct ice_ring **xdp_rings; /* XDP ring array */ 505 static inline void ice_set_ring_xdp(struct ice_ring *ring) in ice_set_ring_xdp() 517 static inline struct xsk_buff_pool *ice_xsk_pool(struct ice_ring *ring) in ice_xsk_pool()
|
D | ice_lib.h | 88 void ice_update_tx_ring_stats(struct ice_ring *ring, u64 pkts, u64 bytes); 90 void ice_update_rx_ring_stats(struct ice_ring *ring, u64 pkts, u64 bytes);
|
D | ice_lib.c | 1243 struct ice_ring *ring; in ice_vsi_alloc_rings() 1262 struct ice_ring *ring; in ice_vsi_alloc_rings() 1707 ice_vsi_cfg_txqs(struct ice_vsi *vsi, struct ice_ring **rings) in ice_vsi_cfg_txqs() 1955 u16 rel_vmvf_num, struct ice_ring **rings) in ice_vsi_stop_tx_rings() 3041 ice_update_ring_stats(struct ice_ring *ring, struct ice_ring_container *cont, in ice_update_ring_stats() 3056 void ice_update_tx_ring_stats(struct ice_ring *tx_ring, u64 pkts, u64 bytes) in ice_update_tx_ring_stats() 3069 void ice_update_rx_ring_stats(struct ice_ring *rx_ring, u64 pkts, u64 bytes) in ice_update_rx_ring_stats()
|
D | ice_main.c | 51 static u16 ice_get_tx_pending(struct ice_ring *ring) in ice_get_tx_pending() 91 struct ice_ring *tx_ring = vsi->tx_rings[i]; in ice_check_for_hang_subtask() 2266 struct ice_ring *xdp_ring; in ice_xdp_alloc_setup_rings() 2363 struct ice_ring *xdp_ring = vsi->xdp_rings[q_id]; in ice_prepare_xdp_rings() 2437 struct ice_ring *ring; in ice_destroy_xdp_rings() 2532 struct ice_ring *rx_ring = vsi->rx_rings[i]; in ice_xdp_setup_prog() 5255 ice_fetch_u64_stats_per_ring(struct ice_ring *ring, u64 *pkts, u64 *bytes) in ice_fetch_u64_stats_per_ring() 5277 ice_update_vsi_tx_ring_stats(struct ice_vsi *vsi, struct ice_ring **rings, in ice_update_vsi_tx_ring_stats() 5284 struct ice_ring *ring; in ice_update_vsi_tx_ring_stats() 5304 struct ice_ring *ring; in ice_update_vsi_ring_stats() [all …]
|
D | ice_dcb_lib.c | 197 struct ice_ring *tx_ring, *rx_ring; in ice_vsi_cfg_dcb_rings() 795 ice_tx_prepare_vlan_flags_dcb(struct ice_ring *tx_ring, in ice_tx_prepare_vlan_flags_dcb()
|
D | ice_ethtool.c | 587 static int ice_diag_send(struct ice_ring *tx_ring, u8 *data, u16 size) in ice_diag_send() 640 static int ice_lbtest_receive_frames(struct ice_ring *rx_ring) in ice_lbtest_receive_frames() 679 struct ice_ring *tx_ring, *rx_ring; in ice_loopback_test() 1345 struct ice_ring *ring; in ice_get_ethtool_stats() 2734 struct ice_ring *tx_rings = NULL, *rx_rings = NULL; in ice_set_ringparam() 2736 struct ice_ring *xdp_rings = NULL; in ice_set_ringparam()
|
D | ice_virtchnl_pf.c | 2688 struct ice_ring *ring = vsi->tx_rings[vf_q_id]; in ice_vc_dis_qs_msg()
|