]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: IPoIB, Improve ethtool rxnfc callback structure in IPoIB
authorGal Pressman <gal@nvidia.com>
Mon, 11 Apr 2022 12:44:01 +0000 (15:44 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Wed, 18 May 2022 06:41:47 +0000 (23:41 -0700)
commitd73b1597585c5f8e03fc0ce47bfabfbc9ff8619f
tree88c0705a064f1389043b81fc652116078dee5915
parent97eabbdb92e819d626f56c2c14d66fbf7446b786
net/mlx5e: IPoIB, Improve ethtool rxnfc callback structure in IPoIB

Followup commit
84394897ff55 ("net/mlx5e: Improve ethtool rxnfc callback structure")
and handle CONFIG_MLX5_EN_RXNFC enabled/disabled inside the fs layer so
the ethtool callbacks are always available. The fs layer will provide
stubs when CONFIG_MLX5_EN_RXNFC is compiled out.

Signed-off-by: Gal Pressman <gal@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/ipoib/ethtool.c