diff options
author | Saeed Mahameed <saeedm@mellanox.com> | 2019-05-07 12:59:38 -0700 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2019-05-17 13:16:48 -0700 |
commit | 8f0916c6dc5cd5e3bc52416fa2a9ff4075080180 (patch) | |
tree | c167bf9f9f9f1644eae53b8901a7a6cfde6c8567 /net/netlink | |
parent | 299a11957a5f2408cd8d9261cc45688bb5541ae7 (diff) | |
download | linux-stable-8f0916c6dc5cd5e3bc52416fa2a9ff4075080180.tar.gz linux-stable-8f0916c6dc5cd5e3bc52416fa2a9ff4075080180.tar.bz2 linux-stable-8f0916c6dc5cd5e3bc52416fa2a9ff4075080180.zip |
net/mlx5e: Fix ethtool rxfh commands when CONFIG_MLX5_EN_RXNFC is disabled
ethtool user spaces needs to know ring count via ETHTOOL_GRXRINGS when
executing (ethtool -x) which is retrieved via ethtool get_rxnfc callback,
in mlx5 this callback is disabled when CONFIG_MLX5_EN_RXNFC=n.
This patch allows only ETHTOOL_GRXRINGS command on mlx5e_get_rxnfc() when
CONFIG_MLX5_EN_RXNFC is disabled, so ethtool -x will continue working.
Fixes: fe6d86b3c316 ("net/mlx5e: Add CONFIG_MLX5_EN_RXNFC for ethtool rx nfc")
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'net/netlink')
0 files changed, 0 insertions, 0 deletions