Skip to content

[action] [PR:1857] vpp: Change NO_LINUX_NL default to y#122

Merged
mssonicbld merged 1 commit into
Azure:202603from
mssonicbld:cherry/msft-202603/1857
Apr 21, 2026
Merged

[action] [PR:1857] vpp: Change NO_LINUX_NL default to y#122
mssonicbld merged 1 commit into
Azure:202603from
mssonicbld:cherry/msft-202603/1857

Conversation

@mssonicbld

Copy link
Copy Markdown
Collaborator

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: Sonic Build Admin sonicbld@microsoft.com

### 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: Sonic Build Admin <sonicbld@microsoft.com>
@mssonicbld

Copy link
Copy Markdown
Collaborator Author

Original PR: sonic-net/sonic-sairedis#1857

@mssonicbld

Copy link
Copy Markdown
Collaborator Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines could not run because the pipeline triggers exclude this branch/path.

@mssonicbld
mssonicbld merged commit db4d968 into Azure:202603 Apr 21, 2026
5 checks passed
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.

1 participant