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

Followup commit
79ce39be1d63 ("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