On Tue, Jul 01, 2025 at 03:06:25PM +0800, Jiawen Wu wrote:
When setting "ethtool -L eth0 combined 1", the number of RX/TX queue is changed to be 1. RSS is disabled at this moment, and the indices of FDIR have not be changed in wx_set_rss_queues(). So the combined count still shows the previous value. This issue was introduced when supporting FDIR. Fix it for those devices that support FDIR.
Fixes: 34744a7749b3 ("net: txgbe: add FDIR info to ethtool ops") Cc: stable@vger.kernel.org Signed-off-by: Jiawen Wu jiawenwu@trustnetic.com Reviewed-by: Simon Horman horms@kernel.org
v1 -> v2:
- fix it in wx_set_rss_queues()
FTR, v2 is somewhat different to v1, where I provided my tag. But I agree with Jakub's review of v1 and that this is a good solution. So please feel free to keep my tag.
...