Hi Chinmaya, Below errors comes when vpp fails to parse startup.conf parameters like "socket-mem" , "linux-cp". seems these options are deprecated in 22.02 version .
vlib_call_all_config_functions: unknown input `dpdk socket-mem 1024 dev 0000:00:08.0 dev 0000:00:09.0 ' vlib_call_all_config_functions: unknown input `linux-cp default netns dataplane interface-auto-create ' To confirm the same and unblock yourself you can comment "socket-mem" and "linux-cp" options in startup.conf and try. like below dpdk { # socket-mem 16384,16384 dev 0000:0b:00.0 { } dev 0000:0b:00.1 { } } Later you can go through the vpp source code to know what new options/changes are done in this area. Thanks and Regards, Sudhir On Wed, May 25, 2022 at 5:30 PM Chinmaya Aggarwal <chinmaya.agar...@hsc.com> wrote: > Hi, > > As per the suggestions, I modified /etc/vpp/startup.conf file but I am > still facing the same issues. Below is the modified contents of the file:- > > dpdk { > socket-mem 1024 dev 0000:00:08.0 dev 0000:00:09.0 > } > > plugins { > ## Adjusting the plugin path depending on where the VPP plugins are > # path > /ws/vpp/build-root/install-vpp-native/vpp/lib/vpp_plugins > ## Add additional directory to the plugin path > # add-path /tmp/vpp_plugins > > ## Disable all plugins by default and then selectively enable > specific plugins > plugin default { disable } > plugin dpdk_plugin.so { enable } > # plugin acl_plugin.so { enable } > plugin linux_cp_plugin.so { enable } > plugin linux_nl_plugin.so { enable } > ## Enable all plugins by default and then selectively disable > specific plugins > # plugin dpdk_plugin.so { disable } > # plugin acl_plugin.so { disable } > } > > linux-cp { > default netns dataplane > } > > Same issue is seen:- > > vlib_call_all_config_functions: unknown input `dpdk socket-mem 1024 dev > 0000:00:08.0 dev 0000:00:09.0 ' > > vlib_call_all_config_functions: unknown input `linux-cp default netns > dataplane interface-auto-create ' > > Also, I followed below steps for compiling VPP v22.02:- > > a) Cloning the repository > > git clone -b stable/2202 https://gerrit.fd.io/r/vpp > > b) Cherry picking commits (after stable/2202) for linux-cp and linux-nl > plugin from master branch > > git cherry-pick 616447c392311791e630a604a07a2c7e47dbb7d6 > git cherry-pick 307ff11acbe811b7834f58a5bd14dd3038c991cd > git cherry-pick ffd7a9876e5038ad96af1d5dbbb0283c5fe6ab27 > git cherry-pick 09cdea643aa181d833df15b8c96c3a812320761a > git cherry-pick 53f8a272a63444b61b700690a2f438fa5066f37b > git cherry-pick adac308aa8033de28ec9e627af2ed517f37aba6a > git cherry-pick 87e92c6586747a790ae514effb79b86a3e53958e > git cherry-pick 3819205bdb5ac0217b54f074d7645efa5356b561 > git cherry-pick aebfc285a89be20f68e5599b8d67dda8f20888a5 > git cherry-pick bc91e86674d446e024a957318d42a3bbd3280bf1 > git cherry-pick f4795a9bd8f488c5d32f9b171aa1d195bb4b8186 > git cherry-pick 2286f937d9a805324a8e46ba5a17198c039ba91a > git cherry-pick 7e721954d4ea31a26ad44872acc199c91b9595e6 > git cherry-pick 7e647358af812d207004be00eef1d0396ab9f138 > git cherry-pick d373ebef012b1fe94c3df0b92e8c27f90cf782f9 > git cherry-pick 30bb344ab6c82d742d2e5a79f62f8d4868db16f1 > git cherry-pick 7d6f7d0d67face9889e43bdb5f71f352294b918a > git cherry-pick 1c5b127d2247b68f362b3caac8ff229406fab4d0 > git cherry-pick 851215a04ff53df2eb153133e3f47f514facde3a > git cherry-pick fbc4ad5fd4a48c49c492912fe75e33a2dbb41dab > git cherry-pick 6120441f9fbfd275e3993712b92eeb80da652767 > git cherry-pick 3bad8b62d87513c5f4004c3172551c8785c78e65 > git cherry-pick 8abbdf509bbd20c5325c8637f78f502aeeb77af3 > > c) Enabling MLX5 > > vim build/external/packages/dpdk.mk > > DPDK_MLX5_PMD ?= y > DPDK_MLX5_COMMON_PMD ?= y > > git add . > git commit -m "MLX5 related configuration added" > > d) Install dependencies > > make wipe-release > make install-dep > make install-ext-deps > dnf install libmnl-devel > > e) Build > > make build-release > > f) Memif compilation and copying.so files > cd /opt/vpp > make -C build-root PLATFORM=vpp TAG=vpp libmemif-install > cp /opt/vpp/build-root/install-vpp-native/libmemif/lib/libmemif.so > /usr/lib64 > cd /usr/lib/ > mkdir vpp_plugins > cp > /opt/vpp/build-root/build-vpp-native/vpp/lib64/vpp_plugins/dpdk_plugin.so > /usr/lib/vpp_plugins/ > cp > /opt/vpp/build-root/build-vpp-native/vpp/lib64/vpp_plugins/acl_plugin.so > /usr/lib/vpp_plugins/ > cp > /opt/vpp/build-root/build-vpp-native/vpp/lib64/vpp_plugins/hs_apps_plugin.so > /usr/lib/vpp_plugins/ > > g) Make rpm packages > make pkg-rpm > > h) RPMS packages are created at path /opt/vpp/build-root/ > > Are we missing out something here? We have not faced this issue with the > previous VPP version we were using i.e. v21.06 (compilation steps were > similar). How can we resolve this issue? > > Thanks and Regards, > Chinmaya Agarwal. > > > > -- NOTICE TO RECIPIENT This e-mail message and any attachments are confidential and may be privileged. If you received this e-mail in error, any review, use, dissemination, distribution, or copying of this e-mail is strictly prohibited. Please notify us immediately of the error by return e-mail and please delete this message from your system. For more information about Rtbrick, please visit us at www.rtbrick.com <http://www.rtbrick.com>
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#21458): https://lists.fd.io/g/vpp-dev/message/21458 Mute This Topic: https://lists.fd.io/mt/91312985/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-