net/mlx5e: Add CONFIG_MLX5_EN_RXNFC for ethtool rx nfc
[sfrench/cifs-2.6.git] / drivers / net / ethernet / mellanox / mlx5 / core / Kconfig
index c032319f1cb90b4569cf76caabb8d03007ef44c5..1ff5f12ab12d2f3a53cf385c11bf4fd61235758e 100644 (file)
@@ -3,7 +3,7 @@
 #
 
 config MLX5_CORE
-       tristate "Mellanox Technologies ConnectX-4 and Connect-IB core driver"
+       tristate "Mellanox 5th generation network adapters (ConnectX series) core driver"
        depends on MAY_USE_DEVLINK
        depends on PCI
        imply PTP_1588_CLOCK
@@ -27,13 +27,24 @@ config MLX5_FPGA
           sandbox-specific client drivers.
 
 config MLX5_CORE_EN
-       bool "Mellanox Technologies ConnectX-4 Ethernet support"
+       bool "Mellanox 5th generation network adapters (ConnectX series) Ethernet support"
        depends on NETDEVICES && ETHERNET && INET && PCI && MLX5_CORE
        depends on IPV6=y || IPV6=n || MLX5_CORE=m
+       select PAGE_POOL
        default n
        ---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
@@ -68,7 +79,7 @@ config MLX5_CORE_EN_DCB
          If unsure, set to Y
 
 config MLX5_CORE_IPOIB
-       bool "Mellanox Technologies ConnectX-4 IPoIB offloads support"
+       bool "Mellanox 5th generation network adapters (connectX series) IPoIB offloads support"
        depends on MLX5_CORE_EN
        default n
        ---help---
@@ -85,3 +96,15 @@ config MLX5_EN_IPSEC
          Build support for IPsec cryptography-offload accelaration in the NIC.
          Note: Support for hardware with this capability needs to be selected
          for this option to become available.
+
+config MLX5_EN_TLS
+       bool "TLS cryptography-offload accelaration"
+       depends on MLX5_CORE_EN
+       depends on TLS_DEVICE
+       depends on TLS=y || MLX5_CORE=m
+       depends on MLX5_ACCEL
+       default n
+       ---help---
+         Build support for TLS cryptography-offload accelaration in the NIC.
+         Note: Support for hardware with this capability needs to be selected
+         for this option to become available.