diff options
author | Saeed Mahameed <saeedm@mellanox.com> | 2018-07-11 12:02:42 -0700 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2018-08-13 12:50:17 -0700 |
commit | fe6d86b3c3165e6c55d6b0049a13d3b65371163a (patch) | |
tree | 76357780af00c37262053afcb563a93de00b0030 /drivers/net/ethernet/mellanox/mlx5/core/Kconfig | |
parent | cff2b1e3e83286e569466663b35bf0ae23afcbcf (diff) | |
download | linux-stable-fe6d86b3c3165e6c55d6b0049a13d3b65371163a.tar.gz linux-stable-fe6d86b3c3165e6c55d6b0049a13d3b65371163a.tar.bz2 linux-stable-fe6d86b3c3165e6c55d6b0049a13d3b65371163a.zip |
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>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/Kconfig')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlx5/core/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/Kconfig b/drivers/net/ethernet/mellanox/mlx5/core/Kconfig index 7a84dd07ced2..1ff5f12ab12d 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/Kconfig +++ b/drivers/net/ethernet/mellanox/mlx5/core/Kconfig @@ -35,6 +35,16 @@ config MLX5_CORE_EN ---help--- Ethernet support in Mellanox Technologies ConnectX-4 NIC. +config MLX5_EN_RXNFC + bool "Mellanox MLX5 ethernet rx nfc flow steering support" + depends on MLX5_CORE_EN + default y + ---help--- + Mellanox MLX5 ethernet rx nfc flow steering support + Enables ethtool receive network flow classification, which allows user defined + flow rules to direct traffic into arbitrary rx queue via ethtool set/get_rxnfc + API. + config MLX5_MPFS bool "Mellanox Technologies MLX5 MPFS support" depends on MLX5_CORE_EN |