Home
last modified time | relevance | path

Searched refs:xdp_rings (Results 1 – 13 of 13) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/intel/ice/
Dice_xsk.c42 if (vsi->xdp_rings) in ice_qp_reset_stats()
43 memset(&vsi->xdp_rings[q_idx]->ring_stats->stats, 0, in ice_qp_reset_stats()
44 sizeof(vsi->xdp_rings[q_idx]->ring_stats->stats)); in ice_qp_reset_stats()
55 if (vsi->xdp_rings) in ice_qp_clean_rings()
56 ice_clean_tx_ring(vsi->xdp_rings[q_idx]); in ice_qp_clean_rings()
189 if (vsi->xdp_rings) { in ice_qp_dis()
190 struct ice_tx_ring *xdp_ring = vsi->xdp_rings[q_idx]; in ice_qp_dis()
226 struct ice_tx_ring *xdp_ring = vsi->xdp_rings[q_idx]; in ice_qp_ena()
228 err = ice_vsi_cfg_single_txq(vsi, vsi->xdp_rings, q_idx); in ice_qp_ena()
Dice_ethtool.c3212 struct ice_tx_ring *xdp_rings = NULL; in ice_set_ringparam() local
3273 vsi->xdp_rings[i]->count = new_tx_cnt; in ice_set_ringparam()
3314 vsi->xdp_rings[0]->count, new_tx_cnt); in ice_set_ringparam()
3316 xdp_rings = kcalloc(vsi->num_xdp_txq, sizeof(*xdp_rings), GFP_KERNEL); in ice_set_ringparam()
3317 if (!xdp_rings) { in ice_set_ringparam()
3324 xdp_rings[i] = *vsi->xdp_rings[i]; in ice_set_ringparam()
3325 xdp_rings[i].count = new_tx_cnt; in ice_set_ringparam()
3326 xdp_rings[i].desc = NULL; in ice_set_ringparam()
3327 xdp_rings[i].tx_buf = NULL; in ice_set_ringparam()
3328 err = ice_setup_tx_ring(&xdp_rings[i]); in ice_set_ringparam()
[all …]
Dice_main.c2660 WRITE_ONCE(vsi->xdp_rings[i], xdp_ring); in ice_xdp_alloc_setup_rings()
2675 if (vsi->xdp_rings[i] && vsi->xdp_rings[i]->desc) { in ice_xdp_alloc_setup_rings()
2676 kfree_rcu(vsi->xdp_rings[i]->ring_stats, rcu); in ice_xdp_alloc_setup_rings()
2677 vsi->xdp_rings[i]->ring_stats = NULL; in ice_xdp_alloc_setup_rings()
2678 ice_free_tx_ring(vsi->xdp_rings[i]); in ice_xdp_alloc_setup_rings()
2708 return vsi->xdp_rings[qid % vsi->num_xdp_txq]; in ice_xdp_ring_from_qid()
2740 struct ice_tx_ring *xdp_ring = vsi->xdp_rings[q_id]; in ice_map_xdp_rings()
2783 vsi->xdp_rings = devm_kcalloc(dev, vsi->num_xdp_txq, in ice_prepare_xdp_rings()
2784 sizeof(*vsi->xdp_rings), GFP_KERNEL); in ice_prepare_xdp_rings()
2785 if (!vsi->xdp_rings) in ice_prepare_xdp_rings()
[all …]
Dice.h412 struct ice_tx_ring **xdp_rings; /* XDP ring array */ member
Dice_lib.c2007 return ice_vsi_stop_tx_rings(vsi, ICE_NO_RESET, 0, vsi->xdp_rings, vsi->num_xdp_txq); in ice_vsi_stop_xdp_tx_rings()
2442 if (vsi->xdp_rings) in ice_vsi_decfg()
2544 if (vsi->xdp_rings) { in ice_vsi_release_msix()
Dice_txrx.c633 xdp_ring = vsi->xdp_rings[queue_index]; in ice_xdp_xmit()
639 xdp_ring = vsi->xdp_rings[queue_index]; in ice_xdp_xmit()
Dice_base.c1015 ret = ice_vsi_cfg_txqs(vsi, vsi->xdp_rings, vsi->num_xdp_txq); in ice_vsi_cfg_xdp_txqs()
/linux-6.12.1/drivers/net/ethernet/intel/i40e/
Di40e_xsk.c221 xdp_ring = rx_ring->vsi->xdp_rings[rx_ring->queue_index]; in i40e_run_xdp_zc()
732 if (!vsi->xdp_rings[queue_id]->xsk_pool) in i40e_xsk_wakeup()
735 ring = vsi->xdp_rings[queue_id]; in i40e_xsk_wakeup()
Di40e_main.c486 ring = READ_ONCE(vsi->xdp_rings[i]); in i40e_get_netdev_stats_struct()
943 p = READ_ONCE(vsi->xdp_rings[q]); in i40e_update_vsi_stats()
3352 err = i40e_setup_tx_descriptors(vsi->xdp_rings[i]); in i40e_vsi_setup_tx_resources()
3373 if (vsi->xdp_rings) { in i40e_vsi_free_tx_resources()
3375 if (vsi->xdp_rings[i] && vsi->xdp_rings[i]->desc) in i40e_vsi_free_tx_resources()
3376 i40e_free_tx_resources(vsi->xdp_rings[i]); in i40e_vsi_free_tx_resources()
3749 err = i40e_configure_tx_ring(vsi->xdp_rings[i]); in i40e_vsi_configure_tx()
4239 wr32(hw, I40E_QINT_TQCTL(vsi->xdp_rings[i]->reg_idx), 0); in i40e_vsi_disable_irq()
4561 struct i40e_ring *xdp_ring = vsi->xdp_rings[qp_idx]; in i40e_map_vector_to_qp()
7652 i40e_clean_tx_ring(vsi->xdp_rings[i]); in i40e_down()
[all …]
Di40e_txrx.c2281 xdp_ring = rx_ring->vsi->xdp_rings[rx_ring->queue_index]; in i40e_run_xdp()
2358 rx_ring->vsi->xdp_rings[rx_ring->queue_index]; in i40e_finalize_xdp_rx()
4027 xdp_ring = vsi->xdp_rings[queue_index]; in i40e_xdp_xmit()
Di40e_debugfs.c314 struct i40e_ring *xdp_ring = READ_ONCE(vsi->xdp_rings[i]); in i40e_dbg_dump_vsi_seid()
571 ring = kmemdup(vsi->xdp_rings[ring_id], sizeof(*ring), GFP_KERNEL); in i40e_dbg_dump_desc()
Di40e.h846 struct i40e_ring **xdp_rings; /* XDP Tx rings */ member
Di40e_ethtool.c2113 vsi->xdp_rings[i]->count = new_tx_count; in i40e_set_ringparam()