Skip to content

Commit 5f31ccf

Browse files
authored
changes for updating the vpp release to 202510 (#206)
* changes for updating the vpp release to 202510 * address the PR comments
1 parent 7df876c commit 5f31ccf

File tree

4 files changed

+12
-11
lines changed

4 files changed

+12
-11
lines changed

docker-syncd-vpp/conf/startup.conf.tmpl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ cpu {
7777
## Set logical CPU core where main thread runs, if main core is not set
7878
## VPP will use core 1 if available
7979
# main-core 1
80+
main-core 2
8081

8182
## Set logical CPU core(s) where worker threads are running
8283
# corelist-workers 2-3,18-19

vppbld/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ $(addprefix $(DEST)/, $(MAIN_TARGET)):
5353

5454
build_locally: repo_clone
5555
pushd $(VPP_REPO_DIR)
56-
make UNATTENDED=y PLATFORM=vpp install-dep && CUSTOM_VERSION=$(VPP_VERSION_SONIC) make UNATTENDED=y PLATFORM=vpp -j4 pkg-deb
56+
make UNATTENDED=y PLATFORM=vpp DPDK_MLX4_PMD=n DPDK_MLX5_PMD=n DPDK_MLX5_COMMON_PMD=n install-dep && make PLATFORM=vpp DPDK_MLX4_PMD=n DPDK_MLX5_PMD=n DPDK_MLX5_COMMON_PMD=n install-ext-deps && CUSTOM_VERSION=$(VPP_VERSION_SONIC) make UNATTENDED=y PLATFORM=vpp -j4 DPDK_MLX4_PMD=n DPDK_MLX5_PMD=n DPDK_MLX5_COMMON_PMD=n pkg-deb
5757
pushd build-root
5858
@for target in *_$(CONFIGURED_ARCH).deb; do \
5959
cp $$target $(DEST)/

vppbld/vpp.patch

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
diff --git a/Makefile b/Makefile
2-
index 6bd4ab611..128b462e5 100644
2+
index 593ea4e98..736fb6704 100644
33
--- a/Makefile
44
+++ b/Makefile
5-
@@ -96,7 +96,7 @@ DEB_DEPENDS += libffi-dev python3-ply libunwind-dev
5+
@@ -104,7 +104,7 @@ DEB_DEPENDS += python3-ply libunwind-dev
66
DEB_DEPENDS += cmake ninja-build python3-jsonschema python3-yaml
77
DEB_DEPENDS += python3-venv # ensurepip
88
DEB_DEPENDS += python3-dev python3-pip
@@ -11,25 +11,25 @@ index 6bd4ab611..128b462e5 100644
1111
# DEB_DEPENDS += enchant # for docs
1212
DEB_DEPENDS += python3-virtualenv
1313
DEB_DEPENDS += libssl-dev
14-
@@ -105,7 +105,7 @@ DEB_DEPENDS += iperf3 # for 'make test TEST=vcl'
15-
DEB_DEPENDS += nasm
14+
@@ -112,7 +112,7 @@ DEB_DEPENDS += libelf-dev libpcap-dev # for libxdp (af_xdp)
15+
DEB_DEPENDS += iperf3 # for 'make test TEST=vcl'
1616
DEB_DEPENDS += iperf ethtool # for 'make test TEST=vm_vpp_interfaces'
1717
DEB_DEPENDS += libpcap-dev
1818
-DEB_DEPENDS += tshark
1919
+#DEB_DEPENDS += tshark
2020
DEB_DEPENDS += jq # for extracting test summary from .json report (hs-test)
21-
22-
LIBFFI=libffi6 # works on all but 20.04 and debian-testing
21+
DEB_DEPENDS += libiberty-dev
22+
DEB_DEPENDS += nasm libnuma-dev # for make-ext-deps
2323
diff --git a/build/external/packages/xdp-tools.mk b/build/external/packages/xdp-tools.mk
24-
index 57f5e0ae8..73e35b90b 100644
24+
index a692aacf1..0265b8eaf 100644
2525
--- a/build/external/packages/xdp-tools.mk
2626
+++ b/build/external/packages/xdp-tools.mk
2727
@@ -25,7 +25,7 @@ define xdp-tools_config_cmds
2828
endef
2929

3030
define xdp-tools_build_cmds
31-
- @cd ${xdp-tools_src_dir} && $(MAKE) CC=gcc V=1 BUILD_STATIC_ONLY=y > $(xdp-tools_build_log)
32-
+ @cd ${xdp-tools_src_dir} && $(MAKE) CC=gcc FORCE_SUBDIR_LIBBPF=1 V=1 BUILD_STATIC_ONLY=y > $(xdp-tools_build_log)
31+
- @cd ${xdp-tools_src_dir} && $(MAKE) CC=gcc V=1 BUILD_STATIC_ONLY=y PREFIX='$(xdp-tools_install_dir)' > $(xdp-tools_build_log)
32+
+ @cd ${xdp-tools_src_dir} && $(MAKE) CC=gcc FORCE_SUBDIR_LIBBPF=1 V=1 BUILD_STATIC_ONLY=y PREFIX='$(xdp-tools_install_dir)' > $(xdp-tools_build_log)
3333
endef
3434

3535
define xdp-tools_install_cmds

vppbld/vpp_version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
9543e29708524accce591eab3aa23270ab44ae1a
1+
435fda042e68ef90734ef5b3530c0a5b911a3bf8

0 commit comments

Comments
 (0)