]> 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)
commit404a515c1c277243c8b56ffa4301d4223ee84589
tree88c0705a064f1389043b81fc652116078dee5915
parentb44e75fd1d54880523474d09c1540736fe19b50d
net/mlx5e: IPoIB, Improve ethtool rxnfc callback structure in IPoIB

Followup commit
5ff7d3bce7a4 ("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