/drivers/net/ethernet/intel/ice/ |
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() 63 static inline void ice_xsk_clean_rx_ring(struct ice_ring *rx_ring) { } in ice_xsk_clean_rx_ring() 64 static inline void ice_xsk_clean_xdp_ring(struct ice_ring *xdp_ring) { } in ice_xsk_clean_xdp_ring()
|
D | ice_txrx.h | 157 struct ice_ring *tx_ring; 254 struct ice_ring { struct 256 struct ice_ring *next; /* pointer to next ring in q_vector */ argument 315 static inline bool ice_ring_uses_build_skb(struct ice_ring *ring) in ice_ring_uses_build_skb() argument 320 static inline void ice_set_ring_build_skb_ena(struct ice_ring *ring) in ice_set_ring_build_skb_ena() 325 static inline void ice_clear_ring_build_skb_ena(struct ice_ring *ring) in ice_clear_ring_build_skb_ena() 330 static inline bool ice_ring_is_xdp(struct ice_ring *ring) in ice_ring_is_xdp() 342 struct ice_ring *ring; 371 static inline unsigned int ice_rx_pg_order(struct ice_ring *ring) in ice_rx_pg_order() 384 bool ice_alloc_rx_bufs(struct ice_ring *rxr, u16 cleaned_count); [all …]
|
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() 69 ice_rx_hash(struct ice_ring *rx_ring, union ice_32b_rx_flex_desc *rx_desc, in ice_rx_hash() 96 ice_rx_csum(struct ice_ring *ring, struct sk_buff *skb, in ice_rx_csum() 181 ice_process_skb_fields(struct ice_ring *rx_ring, in ice_process_skb_fields() 206 ice_receive_skb(struct ice_ring *rx_ring, struct sk_buff *skb, u16 vlan_tag) in ice_receive_skb() 220 int ice_xmit_xdp_ring(void *data, u16 size, struct ice_ring *xdp_ring) in ice_xmit_xdp_ring() 272 int ice_xmit_xdp_buff(struct xdp_buff *xdp, struct ice_ring *xdp_ring) in ice_xmit_xdp_buff() 291 void ice_finalize_xdp_rx(struct ice_ring *rx_ring, unsigned int xdp_res) in ice_finalize_xdp_rx() 297 struct ice_ring *xdp_ring = in ice_finalize_xdp_rx()
|
D | ice_xsk.c | 72 ice_qvec_dis_irq(struct ice_vsi *vsi, struct ice_ring *rx_ring, in ice_qvec_dis_irq() 109 struct ice_ring *ring; in ice_qvec_cfg_msix() 149 struct ice_ring *tx_ring, *rx_ring; in ice_qp_dis() 174 struct ice_ring *xdp_ring = vsi->xdp_rings[q_idx]; in ice_qp_dis() 206 struct ice_ring *tx_ring, *rx_ring; in ice_qp_ena() 230 struct ice_ring *xdp_ring = vsi->xdp_rings[q_idx]; in ice_qp_ena() 379 bool ice_alloc_rx_bufs_zc(struct ice_ring *rx_ring, u16 count) in ice_alloc_rx_bufs_zc() 428 static void ice_bump_ntc(struct ice_ring *rx_ring) in ice_bump_ntc() 447 ice_construct_skb_zc(struct ice_ring *rx_ring, struct xdp_buff **xdp_arr) in ice_construct_skb_zc() 478 ice_run_xdp_zc(struct ice_ring *rx_ring, struct xdp_buff *xdp) in ice_run_xdp_zc() [all …]
|
D | ice_trace.h | 118 TP_PROTO(struct ice_ring *ring, struct ice_tx_desc *desc, 138 TP_PROTO(struct ice_ring *ring, \ 148 TP_PROTO(struct ice_ring *ring, union ice_32b_rx_flex_desc *desc), 164 TP_PROTO(struct ice_ring *ring, union ice_32b_rx_flex_desc *desc), 169 TP_PROTO(struct ice_ring *ring, union ice_32b_rx_flex_desc *desc, 189 TP_PROTO(struct ice_ring *ring, union ice_32b_rx_flex_desc *desc, 195 TP_PROTO(struct ice_ring *ring, struct sk_buff *skb), 213 TP_PROTO(struct ice_ring *ring, struct sk_buff *skb), \
|
D | ice_txrx.c | 35 struct ice_ring *tx_ring; in ice_prgm_fdir_fltr() 109 ice_unmap_and_free_tx_buf(struct ice_ring *ring, struct ice_tx_buf *tx_buf) in ice_unmap_and_free_tx_buf() 136 static struct netdev_queue *txring_txq(const struct ice_ring *ring) in txring_txq() 145 void ice_clean_tx_ring(struct ice_ring *tx_ring) in ice_clean_tx_ring() 184 void ice_free_tx_ring(struct ice_ring *tx_ring) in ice_free_tx_ring() 204 static bool ice_clean_tx_irq(struct ice_ring *tx_ring, int napi_budget) in ice_clean_tx_irq() 332 int ice_setup_tx_ring(struct ice_ring *tx_ring) in ice_setup_tx_ring() 373 void ice_clean_rx_ring(struct ice_ring *rx_ring) in ice_clean_rx_ring() 433 void ice_free_rx_ring(struct ice_ring *rx_ring) in ice_free_rx_ring() 456 int ice_setup_rx_ring(struct ice_ring *rx_ring) in ice_setup_rx_ring() [all …]
|
D | ice_base.h | 9 int ice_vsi_cfg_rxq(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_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() 122 static inline void ice_set_cgd_num(struct ice_tlan_ctx *tlan_ctx, struct ice_ring *ring) { } in ice_set_cgd_num()
|
D | ice_base.c | 151 struct ice_ring *ring; in ice_free_q_vector() 211 static u16 ice_calc_q_handle(struct ice_vsi *vsi, struct ice_ring *ring, u8 tc) in ice_calc_q_handle() 229 static void ice_cfg_xps_tx_ring(struct ice_ring *ring) in ice_cfg_xps_tx_ring() 251 ice_setup_tx_ctx(struct ice_ring *ring, struct ice_tlan_ctx *tlan_ctx, u16 pf_q) in ice_setup_tx_ctx() 317 static unsigned int ice_rx_offset(struct ice_ring *rx_ring) in ice_rx_offset() 333 static int ice_setup_rx_ctx(struct ice_ring *ring) in ice_setup_rx_ctx() 445 int ice_vsi_cfg_rxq(struct ice_ring *ring) in ice_vsi_cfg_rxq() 671 struct ice_ring *tx_ring = vsi->tx_rings[q_id]; in ice_vsi_map_rings_to_vectors() 688 struct ice_ring *rx_ring = vsi->rx_rings[q_id]; in ice_vsi_map_rings_to_vectors() 717 ice_vsi_cfg_txq(struct ice_vsi *vsi, struct ice_ring *ring, in ice_vsi_cfg_txq() [all …]
|
D | ice_lib.h | 17 int ice_vsi_cfg_single_txq(struct ice_vsi *vsi, struct ice_ring **tx_rings, u16 q_idx); 96 void ice_update_tx_ring_stats(struct ice_ring *ring, u64 pkts, u64 bytes); 98 void ice_update_rx_ring_stats(struct ice_ring *ring, u64 pkts, u64 bytes);
|
D | ice_ptp.h | 177 ice_ptp_rx_hwtstamp(struct ice_ring *rx_ring, 205 ice_ptp_rx_hwtstamp(struct ice_ring *rx_ring, in ice_ptp_rx_hwtstamp()
|
D | ice.h | 266 struct ice_ring **rx_rings; /* Rx ring array */ 267 struct ice_ring **tx_rings; /* Tx ring array */ 340 struct ice_ring **xdp_rings; /* XDP ring array */ 560 static inline void ice_set_ring_xdp(struct ice_ring *ring) in ice_set_ring_xdp() 572 static inline struct xsk_buff_pool *ice_xsk_pool(struct ice_ring *ring) in ice_xsk_pool()
|
D | ice_lib.c | 1293 struct ice_ring *ring; in ice_vsi_alloc_rings() 1314 struct ice_ring *ring; in ice_vsi_alloc_rings() 1724 int ice_vsi_cfg_single_txq(struct ice_vsi *vsi, struct ice_ring **tx_rings, u16 q_idx) in ice_vsi_cfg_single_txq() 1780 ice_vsi_cfg_txqs(struct ice_vsi *vsi, struct ice_ring **rings, u16 count) in ice_vsi_cfg_txqs() 2071 u16 rel_vmvf_num, struct ice_ring **rings, u16 count) in ice_vsi_stop_tx_rings() 3383 static void ice_update_ring_stats(struct ice_ring *ring, u64 pkts, u64 bytes) in ice_update_ring_stats() 3395 void ice_update_tx_ring_stats(struct ice_ring *tx_ring, u64 pkts, u64 bytes) in ice_update_tx_ring_stats() 3408 void ice_update_rx_ring_stats(struct ice_ring *rx_ring, u64 pkts, u64 bytes) in ice_update_rx_ring_stats()
|
D | ice_dcb_lib.c | 197 struct ice_ring *tx_ring, *rx_ring; in ice_vsi_cfg_dcb_rings() 820 ice_tx_prepare_vlan_flags_dcb(struct ice_ring *tx_ring, in ice_tx_prepare_vlan_flags_dcb()
|
D | ice_main.c | 65 static u16 ice_get_tx_pending(struct ice_ring *ring) in ice_get_tx_pending() 105 struct ice_ring *tx_ring = vsi->tx_rings[i]; in ice_check_for_hang_subtask() 2410 struct ice_ring *xdp_ring; in ice_xdp_alloc_setup_rings() 2507 struct ice_ring *xdp_ring = vsi->xdp_rings[q_id]; in ice_prepare_xdp_rings() 2592 struct ice_ring *ring; in ice_destroy_xdp_rings() 2650 struct ice_ring *rx_ring = vsi->rx_rings[i]; in ice_vsi_rx_napi_schedule() 5706 ice_fetch_u64_stats_per_ring(struct ice_ring *ring, u64 *pkts, u64 *bytes) in ice_fetch_u64_stats_per_ring() 5728 ice_update_vsi_tx_ring_stats(struct ice_vsi *vsi, struct ice_ring **rings, in ice_update_vsi_tx_ring_stats() 5735 struct ice_ring *ring; in ice_update_vsi_tx_ring_stats() 5778 struct ice_ring *ring = READ_ONCE(vsi->rx_rings[i]); in ice_update_vsi_ring_stats() [all …]
|
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() 680 struct ice_ring *tx_ring, *rx_ring; in ice_loopback_test() 1322 struct ice_ring *ring; in ice_get_ethtool_stats() 2708 struct ice_ring *tx_rings = NULL, *rx_rings = NULL; in ice_set_ringparam() 2710 struct ice_ring *xdp_rings = NULL; in ice_set_ringparam()
|
D | ice_ptp.c | 1028 ice_ptp_rx_hwtstamp(struct ice_ring *rx_ring, in ice_ptp_rx_hwtstamp()
|
D | ice_virtchnl_pf.c | 3330 struct ice_ring *ring = vsi->tx_rings[vf_q_id]; in ice_vc_dis_qs_msg()
|