# SPDX-License-Identifier: GPL-2.0-only
#
# Mellanox driver configuration
#
config [31mCONFIG_MLX5_CORE[0m
tristate "Mellanox 5th generation network adapters (ConnectX series) core driver"
depends on [31mCONFIG_PCI[0m
select [31mCONFIG_NET_DEVLINK[0m
imply [31mCONFIG_PTP_1588_CLOCK[0m
imply [31mCONFIG_VXLAN[0m
imply [31mCONFIG_MLXFW[0m
imply [31mCONFIG_PCI_HYPERV_INTERFACE[0m
default n
---help---
Core driver for low level functionality of the ConnectX-4 and
Connect-IB cards by Mellanox Technologies.
config [31mCONFIG_MLX5_ACCEL[0m
bool
config [31mCONFIG_MLX5_FPGA[0m
bool "Mellanox Technologies Innova support"
depends on [31mCONFIG_MLX5_CORE[0m
select [31mCONFIG_MLX5_ACCEL[0m
---help---
Build support for the Innova family of network cards by Mellanox
Technologies. Innova network cards are comprised of a ConnectX chip
and an [31mCONFIG_FPGA[0m chip on one board. If you select this option, the
mlx5_core driver will include the Innova [31mCONFIG_FPGA[0m core and allow building
sandbox-specific client drivers.
config [31mCONFIG_MLX5_CORE_EN[0m
bool "Mellanox 5th generation network adapters (ConnectX series) Ethernet support"
depends on [31mCONFIG_NETDEVICES[0m && [31mCONFIG_ETHERNET[0m && [31mCONFIG_INET[0m && [31mCONFIG_PCI[0m && [31mCONFIG_MLX5_CORE[0m
select [31mCONFIG_PAGE_POOL[0m
select [31mCONFIG_DIMLIB[0m
default n
---help---
Ethernet support in Mellanox Technologies ConnectX-4 NIC.
config [31mCONFIG_MLX5_EN_ARFS[0m
bool "Mellanox MLX5 ethernet accelerated receive flow steering (ARFS) support"
depends on [31mCONFIG_MLX5_CORE_EN[0m && [31mCONFIG_RFS_ACCEL[0m
default y
---help---
Mellanox MLX5 ethernet hardware-accelerated receive flow steering support,
Enables ethernet netdevice arfs support and ntuple filtering.
config [31mCONFIG_MLX5_EN_RXNFC[0m
bool "Mellanox MLX5 ethernet rx nfc flow steering support"
depends on [31mCONFIG_MLX5_CORE_EN[0m
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 [31mCONFIG_MLX5_MPFS[0m
bool "Mellanox Technologies MLX5 MPFS support"
depends on [31mCONFIG_MLX5_CORE_EN[0m
default y
---help---
Mellanox Technologies Ethernet Multi-Physical Function Switch (MPFS)
support in ConnectX NIC. MPFs is required for when multi-PF configuration
is enabled to allow passing user configured unicast [31mCONFIG_MAC[0m addresses to the
requesting PF.
config [31mCONFIG_MLX5_ESWITCH[0m
bool "Mellanox Technologies MLX5 SRIOV E-Switch support"
depends on [31mCONFIG_MLX5_CORE_EN[0m && [31mCONFIG_NET_SWITCHDEV[0m
default y
---help---
Mellanox Technologies Ethernet SRIOV [31mCONFIG_E[0m-Switch support in ConnectX NIC.
[31mCONFIG_E[0m-Switch provides internal SRIOV packet steering and switching for the
enabled VFs and PF in two available modes:
Legacy SRIOV mode (L2 mac vlan steering based).
Switchdev mode (eswitch offloads).
config [31mCONFIG_MLX5_CORE_EN_DCB[0m
bool "Data Center Bridging (DCB) Support"
default y
depends on [31mCONFIG_MLX5_CORE_EN[0m && [31mCONFIG_DCB[0m
---help---
Say Y here if you want to use Data Center Bridging ([31mCONFIG_DCB[0m) in the
driver.
If set to N, will not be able to configure QoS and ratelimit attributes.
This flag is depended on the kernel's [31mCONFIG_DCB[0m support.
If unsure, set to Y
config [31mCONFIG_MLX5_CORE_IPOIB[0m
bool "Mellanox 5th generation network adapters (connectX series) IPoIB offloads support"
depends on [31mCONFIG_MLX5_CORE_EN[0m
default n
---help---
MLX5 IPoIB offloads & acceleration support.
config [31mCONFIG_MLX5_FPGA_IPSEC[0m
bool "Mellanox Technologies IPsec Innova support"
depends on [31mCONFIG_MLX5_CORE[0m
depends on [31mCONFIG_MLX5_FPGA[0m
default n
help
Build IPsec support for the Innova family of network cards by Mellanox
Technologies. Innova network cards are comprised of a ConnectX chip
and an [31mCONFIG_FPGA[0m chip on one board. If you select this option, the
mlx5_core driver will include the Innova [31mCONFIG_FPGA[0m core and allow building
sandbox-specific client drivers.
config [31mCONFIG_MLX5_EN_IPSEC[0m
bool "IPSec XFRM cryptography-offload accelaration"
depends on [31mCONFIG_MLX5_CORE_EN[0m
depends on [31mCONFIG_XFRM_OFFLOAD[0m
depends on [31mCONFIG_INET_ESP_OFFLOAD[0m || [31mCONFIG_INET6_ESP_OFFLOAD[0m
depends on [31mCONFIG_MLX5_FPGA_IPSEC[0m
default n
help
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 [31mCONFIG_MLX5_FPGA_TLS[0m
bool "Mellanox Technologies TLS Innova support"
depends on [31mCONFIG_TLS_DEVICE[0m
depends on [31mCONFIG_TLS[0m=y || [31mCONFIG_MLX5_CORE[0m=m
depends on [31mCONFIG_MLX5_FPGA[0m
default n
help
Build [31mCONFIG_TLS[0m support for the Innova family of network cards by Mellanox
Technologies. Innova network cards are comprised of a ConnectX chip
and an [31mCONFIG_FPGA[0m chip on one board. If you select this option, the
mlx5_core driver will include the Innova [31mCONFIG_FPGA[0m core and allow building
sandbox-specific client drivers.
config [31mCONFIG_MLX5_TLS[0m
bool "Mellanox Technologies TLS Connect-X support"
depends on [31mCONFIG_MLX5_CORE_EN[0m
depends on [31mCONFIG_TLS_DEVICE[0m
depends on [31mCONFIG_TLS[0m=y || [31mCONFIG_MLX5_CORE[0m=m
select [31mCONFIG_MLX5_ACCEL[0m
default n
help
Build [31mCONFIG_TLS[0m support for the Connect-X family of network cards by Mellanox
Technologies.
config [31mCONFIG_MLX5_EN_TLS[0m
bool "TLS cryptography-offload accelaration"
depends on [31mCONFIG_MLX5_CORE_EN[0m
depends on [31mCONFIG_MLX5_FPGA_TLS[0m || [31mCONFIG_MLX5_TLS[0m
default y
help
Build support for [31mCONFIG_TLS[0m cryptography-offload accelaration in the NIC.
Note: Support for hardware with this capability needs to be selected
for this option to become available.
config [31mCONFIG_MLX5_SW_STEERING[0m
bool "Mellanox Technologies software-managed steering"
depends on [31mCONFIG_MLX5_CORE_EN[0m && [31mCONFIG_MLX5_ESWITCH[0m
default y
help
Build support for software-managed steering in the NIC.