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

Bodong Wang bodong at nvidia.com
Tue Apr 12 16:30:18 UTC 2022


On 4/12/2022 11:25 AM, Bodong Wang wrote:
> 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

Tim/Alex, I believe the config file was changed when merging from my 
pull request. My original patch is here: 
~bodong-wang/ubuntu/+source/linux-bluefield - [no description] 
(launchpad.net) 
<https://git.launchpad.net/~bodong-wang/ubuntu/+source/linux-bluefield/commit/?h=nvidia-devlink&id=09a66fe06ab223b63bbbdc6b6d2fa4472cb84411>

This blocks us from build and releasing, can you apply as critical fix 
and rebuild the deb packages?





More information about the kernel-team mailing list