net/mlx5e: Add CONFIG_MLX5_EN_RXNFC for ethtool rx nfc
authorSaeed Mahameed <saeedm@mellanox.com>
Wed, 11 Jul 2018 19:02:42 +0000 (12:02 -0700)
committerSaeed Mahameed <saeedm@mellanox.com>
Mon, 13 Aug 2018 19:50:17 +0000 (12:50 -0700)
commitfe6d86b3c3165e6c55d6b0049a13d3b65371163a
tree76357780af00c37262053afcb563a93de00b0030
parentcff2b1e3e83286e569466663b35bf0ae23afcbcf
net/mlx5e: Add CONFIG_MLX5_EN_RXNFC for ethtool rx nfc

Add new mlx5 Kconfig flag to allow selecting ethtool rx nfc support,
and compile out en_fs_ehtool.c if not selected.

Add en/fs.h header file to host all steering declarations and
definitions.

Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Reviewed-by: Moshe Shemesh <moshe@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/Kconfig
drivers/net/ethernet/mellanox/mlx5/core/Makefile
drivers/net/ethernet/mellanox/mlx5/core/en.h
drivers/net/ethernet/mellanox/mlx5/core/en/fs.h [new file with mode: 0644]
drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c