diff options
| author | Maciej Fijalkowski <[email protected]> | 2023-01-31 20:45:05 +0000 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2023-02-01 22:30:27 +0000 |
| commit | f4db7b314dd54ab9335bb449640484a6f27baf28 (patch) | |
| tree | 78b45799378075ffc261fc2266bbe7c3f7b9c703 /drivers/net/ethernet/intel/ice/ice_ethtool.c | |
| parent | ice: Add support for XDP multi-buffer on Tx side (diff) | |
| download | kernel-f4db7b314dd54ab9335bb449640484a6f27baf28.tar.gz kernel-f4db7b314dd54ab9335bb449640484a6f27baf28.zip | |
ice: Remove next_{dd,rs} fields from ice_tx_ring
Now that both ZC and standard XDP data paths stopped using Tx logic
based on next_dd and next_rs fields, we can safely remove these fields
and shrink Tx ring structure.
Signed-off-by: Maciej Fijalkowski <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Reviewed-by: Alexander Lobakin <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_ethtool.c')
| -rw-r--r-- | drivers/net/ethernet/intel/ice/ice_ethtool.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/intel/ice/ice_ethtool.c b/drivers/net/ethernet/intel/ice/ice_ethtool.c index 3798a89284e6..1adbcb4786c2 100644 --- a/drivers/net/ethernet/intel/ice/ice_ethtool.c +++ b/drivers/net/ethernet/intel/ice/ice_ethtool.c @@ -3046,8 +3046,6 @@ ice_set_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring, /* clone ring and setup updated count */ xdp_rings[i] = *vsi->xdp_rings[i]; xdp_rings[i].count = new_tx_cnt; - xdp_rings[i].next_dd = ICE_RING_QUARTER(&xdp_rings[i]) - 1; - xdp_rings[i].next_rs = ICE_RING_QUARTER(&xdp_rings[i]) - 1; xdp_rings[i].desc = NULL; xdp_rings[i].tx_buf = NULL; err = ice_setup_tx_ring(&xdp_rings[i]); |
