From b67f7713a1fb8ea41ecf45e699709ef4a2fdc16c Mon Sep 17 00:00:00 2001 From: yue-fred-gao <132678244+yue-fred-gao@users.noreply.github.com> Date: Thu, 6 Feb 2025 15:21:31 -0500 Subject: [PATCH 1/2] Fix tunnel_term plugin missing in azure pipeline build --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 23e3bf9..7c79c6c 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -85,7 +85,7 @@ stages: git clone https://github.com/sonic-net/sonic-platform-vpp.git mkdir repo git clone https://gerrit.fd.io/r/vpp repo - cp -vr sonic-platform-vpp/vppbld/plugins/* repo/src/packages + cp -vr sonic-platform-vpp/vppbld/plugins/* repo/src/plugins/ cd repo git apply ../sonic-platform-vpp/vppbld/vpp.patch make UNATTENDED=y PLATFORM=vpp install-deps install-ext-deps From ee5c3d6022db05272f2b83244d99ccc1ce3c3c95 Mon Sep 17 00:00:00 2001 From: yue-fred-gao <132678244+yue-fred-gao@users.noreply.github.com> Date: Thu, 27 Mar 2025 15:20:53 -0400 Subject: [PATCH 2/2] Update start.sh Increase huge page count --- docker-syncd-vpp/start.sh | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/docker-syncd-vpp/start.sh b/docker-syncd-vpp/start.sh index 40178f1..41eca73 100755 --- a/docker-syncd-vpp/start.sh +++ b/docker-syncd-vpp/start.sh @@ -1,14 +1,3 @@ #!/usr/bin/env bash -HWSKU_DIR=/usr/share/sonic/hwsku - -mkdir -p /etc/sai.d/ - -# Create/Copy the sai.profile to /etc/sai.d/sai.profile -if [ -f $HWSKU_DIR/sai.profile.j2 ]; then - sonic-cfggen -d -t $HWSKU_DIR/sai.profile.j2 > /etc/sai.d/sai.profile -else - if [ -f $HWSKU_DIR/sai.profile ]; then - cp $HWSKU_DIR/sai.profile /etc/sai.d/sai.profile - fi -fi +sysctl vm.nr_hugepages=512