]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Remove leftovers from old XSK queues enumeration
authorTariq Toukan <tariqt@nvidia.com>
Mon, 14 Nov 2022 09:56:11 +0000 (11:56 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Tue, 22 Nov 2022 02:14:35 +0000 (18:14 -0800)
commitae6a76786f9d55e19fe40fc8d39e81f8f74c5184
treeb00fab111446792cb7905c8b695116c277bfdd06
parent75bf23a22e271845874b67dfadb1819701706fb6
net/mlx5e: Remove leftovers from old XSK queues enumeration

Before the cited commit, for N channels, a dedicated set of N queues was
created to support XSK, in indices [N, 2N-1], doubling the number of
queues.

In addition, changing the number of channels was prohibited, as it would
shift the indices.

Remove these two leftovers, as we moved XSK to a new queueing scheme,
starting from index 0.

Fixes: 1e019f1e58de ("net/mlx5e: xsk: Use queue indices starting from 0 for XSK queues")
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Reviewed-by: Gal Pressman <gal@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c