From patchwork Tue Apr 12 16:25:17 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bodong Wang X-Patchwork-Id: 1616345 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4KdB0c2NY6z9sCD for ; Wed, 13 Apr 2022 02:25:34 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1neJKW-0002oh-I0; Tue, 12 Apr 2022 16:25:24 +0000 Received: from mail-il-dmz.mellanox.com ([193.47.165.129] helo=mellanox.co.il) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1neJKV-0002oa-4f for kernel-team@lists.ubuntu.com; Tue, 12 Apr 2022 16:25:23 +0000 Received: from Internal Mail-Server by MTLPINE1 (envelope-from bodong@nvidia.com) with SMTP; 12 Apr 2022 19:25:19 +0300 Received: from sw-mtx-016.mtx.labs.mlnx. (sw-mtx-016.mtx.labs.mlnx [10.9.150.102]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 23CGPHIx013508; Tue, 12 Apr 2022 19:25:18 +0300 From: Bodong Wang To: kernel-team@lists.ubuntu.com Subject: [PATCH] UBUNTU: [Config] Bluefield: Enable CONFIG_NET_DEVLINK Date: Tue, 12 Apr 2022 11:25:17 -0500 Message-Id: <1649780717-20982-1-git-send-email-bodong@nvidia.com> X-Mailer: git-send-email 1.8.3.1 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: vlad@nvidia.com, bodong@nvidia.com, alex.kaluzhny@canonical.com MIME-Version: 1.0 Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" 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 Acked-by: Tim Gardner Acked-by: Zachary Tahenakos --- 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