Skip to content

vpp: Change NO_LINUX_NL default to y#1857

Merged
yue-fred-gao merged 1 commit into
sonic-net:masterfrom
yue-fred-gao:no_linux_nl_default_y
Apr 20, 2026
Merged

vpp: Change NO_LINUX_NL default to y#1857
yue-fred-gao merged 1 commit into
sonic-net:masterfrom
yue-fred-gao:no_linux_nl_default_y

Conversation

@yue-fred-gao

Copy link
Copy Markdown
Contributor

why

sonic-vpp has been running with NO_LINUX_NL = y for a long time. This is the mode that has been tested. It relies on vpp-cfg-init script to set the env: https://github.com/sonic-net/sonic-platform-vpp/blob/4b1268df9bf31b8b3b7bca50a7365024baccd424/sonic-platform-modules-vpp/files/etc/config-setup/factory-default-hooks.d/10-01-vpp-cfg-init#L71-L73

The saivpp code has the default value equivalent to NO_LINUX_NL = n. This is not consistent with the default value we are using through above script.

For other platforms that are using vpp data plane, we should make the default value to y so unless it is needed, those platforms do not need to create /etc/sonic/vpp/syncd_vpp_env for setting this flag.

what this PR does

change default value nbr_active to true, which is derived from NO_LINUX_NL=y env. If the env is not set, it is default to y.

Signed-off-by: Yue Gao <yuega2@cisco.com>
@mssonicbld

Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

yue-fred-gao added a commit to yue-fred-gao/sonic-buildimage that referenced this pull request Apr 17, 2026
Signed-off-by: Yue Gao <yuega2@cisco.com>
yue-fred-gao added a commit to yue-fred-gao/sonic-buildimage that referenced this pull request Apr 17, 2026
@aronovic

Copy link
Copy Markdown
Contributor

Looks OK.

@aronovic aronovic left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All good.

@yue-fred-gao
yue-fred-gao merged commit acd8360 into sonic-net:master Apr 20, 2026
19 checks passed
@yue-fred-gao yue-fred-gao changed the title Change NO_LINUX_NL default to y vpp: Change NO_LINUX_NL default to y Apr 20, 2026
justin-wong-ce pushed a commit to justin-wong-ce/sonic-sairedis that referenced this pull request Apr 20, 2026
Signed-off-by: Yue Gao <yuega2@cisco.com>
Signed-off-by: Justin Wong <jvwong@arista.com>
@mssonicbld

Copy link
Copy Markdown
Collaborator

Cherry-pick PR to msft-202603: Azure/sonic-sairedis.msft#122

yue-fred-gao added a commit to yue-fred-gao/sonic-buildimage that referenced this pull request Apr 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants