]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Use net_prefetchw instead of prefetchw in MPWQE TX datapath
authorMaxim Mikityanskiy <maximmi@mellanox.com>
Fri, 29 Jan 2021 16:43:31 +0000 (18:43 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Fri, 12 Mar 2021 23:29:31 +0000 (15:29 -0800)
commitebfc903bcb42da65e13d5b55186be6073a173742
tree299afcef4d59544b499539f269cec0e2bcb27bfe
parenta97378b5499c32acc36ed9271a3414a7d46826ce
net/mlx5e: Use net_prefetchw instead of prefetchw in MPWQE TX datapath

Commit 96239817ce92 ("net/mlx5e: RX, Add a prefetch command for small
L1_CACHE_BYTES") switched to using net_prefetchw at all places in mlx5e.
In the same time frame, commit 8fd8b87182ff ("net/mlx5e: Enhanced TX
MPWQE for SKBs") added one more usage of prefetchw. When these two
changes were merged, this new occurrence of prefetchw wasn't replaced
with net_prefetchw.

This commit fixes this last occurrence of prefetchw in
mlx5e_tx_mpwqe_session_start, making the same change that was done in
mlx5e_xdp_mpwqe_session_start.

Signed-off-by: Maxim Mikityanskiy <maximmi@mellanox.com>
Reviewed-by: Saeed Mahameed <saeedm@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en_tx.c