[PATCH] UBUNTU: [Config] Bluefield: Enable CONFIG_NET_DEVLINK

Bodong Wang bodong at nvidia.com
Tue Apr 12 16:25:17 UTC 2022


BugLink: https://bugs.launchpad.net/bugs/1968751

Devlink is needed for all switch offload features. At least one
network vendor is needed to enable devlink, as mlx5_core wasn't
in sync with devlink, enable BNXT to expose DEVLINK option. BNXT
won't be probed inside Bluefield.

Signed-off-by: Bodong Wang <bodong at nvidia.com>
---
 debian.bluefield/config/config.common.ubuntu | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/debian.bluefield/config/config.common.ubuntu b/debian.bluefield/config/config.common.ubuntu
index 21dbeae..fbdc820 100644
--- a/debian.bluefield/config/config.common.ubuntu
+++ b/debian.bluefield/config/config.common.ubuntu
@@ -2758,6 +2758,7 @@ CONFIG_NET_CLS_RSVP6=m
 CONFIG_NET_CLS_TCINDEX=m
 CONFIG_NET_CLS_U32=m
 CONFIG_NET_CORE=y
+CONFIG_NET_DEVLINK=y
 # CONFIG_NET_DROP_MONITOR is not set
 # CONFIG_NET_DSA is not set
 CONFIG_NET_EGRESS=y
@@ -2849,7 +2850,11 @@ CONFIG_NET_UDP_TUNNEL=m
 # CONFIG_NET_VENDOR_ARC is not set
 # CONFIG_NET_VENDOR_ATHEROS is not set
 # CONFIG_NET_VENDOR_AURORA is not set
-# CONFIG_NET_VENDOR_BROADCOM is not set
+CONFIG_BNXT=m
+# CONFIG_BNXT_SRIOV is not set
+# CONFIG_BNXT_FLOWER_OFFLOAD is not set
+# CONFIG_BNXT_DCB is not set
+# CONFIG_BNXT_HWMON is not set
 # CONFIG_NET_VENDOR_BROCADE is not set
 # CONFIG_NET_VENDOR_CADENCE is not set
 # CONFIG_NET_VENDOR_CAVIUM is not set
-- 
1.8.3.1




More information about the kernel-team mailing list