net/mlx5e: Add CONFIG_MLX5_EN_ARFS for accelerated flow steering support
[sfrench/cifs-2.6.git] / drivers / net / ethernet / mellanox / mlx5 / core / Kconfig
index 7a84dd07ced2524178eeffb1b45dec7f1b98a604..01f9ba1a2098a0c5f79ff9ecc336974ed0a6d0d4 100644 (file)
@@ -35,6 +35,24 @@ config MLX5_CORE_EN
        ---help---
          Ethernet support in Mellanox Technologies ConnectX-4 NIC.
 
+config MLX5_EN_ARFS
+       bool "Mellanox MLX5 ethernet accelerated receive flow steering (ARFS) support"
+       depends on MLX5_CORE_EN && RFS_ACCEL
+       default y
+       ---help---
+         Mellanox MLX5 ethernet hardware-accelerated receive flow steering support,
+         Enables ethernet netdevice arfs support and ntuple filtering.
+
+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