]> www.infradead.org Git - users/jedix/linux-maple.git/commit
eth: mlx5: allow disabling queues when RSS contexts exist
authorJakub Kicinski <kuba@kernel.org>
Sat, 10 Aug 2024 05:37:19 +0000 (22:37 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 Aug 2024 13:16:24 +0000 (14:16 +0100)
commita7f6f56f604a396f91d891321edb29f286a80069
tree231b358f6e6b86272ed3894d33ec3bdc41b02e56
parentf203fd85e6669d72fb3bfa3ce485a9642a4a9583
eth: mlx5: allow disabling queues when RSS contexts exist

Since commit 24ac7e544081 ("ethtool: use the rss context XArray
in ring deactivation safety-check") core will prevent queues from
being disabled while being used by additional RSS contexts.
The safety check is no longer necessary, and core will do a more
accurate job of only rejecting changes which can actually break
things.

Reviewed-by: Gal Pressman <gal@nvidia.com>
Reviewed-by: Joe Damato <jdamato@fastly.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c