Re: [vpp-dev] VPP v22.02 not coming up

2022-06-02 Thread Andrew Yourtchenko
FWIW - I tested the “official” 22.02 artifacts using 
https://github.com/ayourtch/vpp-relops/tree/master/docker-tests during the 
release and it worked the same as the previous releases (I might not be loading 
the dpdk plugin during the testing though)

--a

> On 2 Jun 2022, at 14:28, Chinmaya Aggarwal  wrote:
> 
> Hi,
> 
> Based on our latest findings for the issue that I was facing regarding dpdk{} 
> and linux-cp{} sections being present in startup.conf and VPP not coming up, 
> we found out that if we provide plugin path in the startup.conf, then I don't 
> face this issue anymore and everything seems to be working:-
>  
> plugins {
>path /usr/lib/vpp_plugins/
>plugin linux_cp_plugin.so { enable }
>plugin linux_nl_plugin.so { enable }
> }
>  
> The previous release that we were on i.e. 21.06, we need not require to 
> configure this "path" attribute. Why do we need to configure it now?
> 
> Thanks and Regards,
> Chinmaya Agarwal. 
> 
> 

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#21497): https://lists.fd.io/g/vpp-dev/message/21497
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]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [vpp-dev] VPP v22.02 not coming up

2022-06-02 Thread Chinmaya Aggarwal
Hi,

Based on our latest findings for the issue that I was facing regarding dpdk{} 
and linux-cp{} sections being present in startup.conf and VPP not coming up, we 
found out that if we provide plugin path in the startup.conf, then I don't face 
this issue anymore and everything seems to be working:-

plugins {
path /usr/lib/vpp_plugins/
plugin linux_cp_plugin.so { enable }
plugin linux_nl_plugin.so { enable }
}

The previous release that we were on i.e. 21.06, we need not require to 
configure this "path" attribute. Why do we need to configure it now?

Thanks and Regards,
Chinmaya Agarwal.

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#21496): https://lists.fd.io/g/vpp-dev/message/21496
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]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [vpp-dev] VPP v22.02 not coming up

2022-05-25 Thread Sudhir CR via lists.fd.io
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
:00:08.0 dev :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 :0b:00.0 {
  }
dev :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 
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 :00:08.0 dev :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
> :00:08.0 dev :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 T

Re: [vpp-dev] VPP v22.02 not coming up

2022-05-25 Thread Akash S R
Hi Chinmaya,

1) Check whether the interfaces are bound to dpdk. Grep this on code and
find out the reasin for this. Mostly it will be due to this.

2) Leave a line after socket-mem or comment socket-mem and give only dev
 in the next 2 lines and not with space. (just a try)

Regards ,
Akash S R

On Wed, May 25, 2022, 17:30 Chinmaya Aggarwal 
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 :00:08.0 dev :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
> :00:08.0 dev :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.
>
> 
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#21457): https://lists.fd.io/g/vpp-dev/message/21457
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]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [vpp-dev] VPP v22.02 not coming up

2022-05-25 Thread Chinmaya Aggarwal
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 :00:08.0 dev :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 
:00:08.0 dev :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.

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#21456): https://lists.fd.io/g/vpp-dev/message/21456
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]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [vpp-dev] VPP v22.02 not coming up

2022-05-24 Thread Guangming
Hi,

I have compiled VPP v22.02 on Centos 8.4. I was able to compile it. But when I 
installed it and modified /etc/vpp/startup.conf, vpp service is not able to 
come up. I added below sections in /etc/vpp/startup.conf:-

dpdk {
socket-mem 1024 dev :00:08.0 dev :00:09.0 dev :00:0a.0 dev 
:00:0b.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

## 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
interface-auto-create
}

VPP service log is showing error for the highlighted sections:-

vlib_call_all_config_functions: unknown input `dpdk  socket-mem 1024 dev 
:00:08.0 dev :00:09.0 '

vlib_call_all_config_functions: unknown input `linux-cp  default netns 
dataplane interface-auto-create '

I have compiled VPP with all the plugins mentioned above. In 
"/usr/lib/vpp_plugins/" I can see .so files i.e dpdk_plugin.so, 
linux_cp_plugin.so, linux_nl_plugin.so

Can you please help us if we are missing out something?

Thanks and Regards,
Chinmaya Agarwal.

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#21448): https://lists.fd.io/g/vpp-dev/message/21448
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]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [vpp-dev] VPP v22.02 not coming up

2022-05-24 Thread Pim van Pelt
Hoi,

Linux CP's "interface-auto-create" flag is no longer valid. Currently you
can use the following CLI options (see src/plugins/linux-cp/lcp_cli.c):
  .short_help = "lcp create | host-if  "
  .short_help = "lcp lcp-sync [on|enable|off|disable]",
  .short_help = "lcp lcp-auto-subint [on|enable|off|disable]",
  .short_help = "lcp param [del-static-on-link-down
(on|enable|off|disable)] "
  .short_help = "lcp default netns []",
  .short_help = "lcp delete |",
  .short_help = "show lcp [phy ]",

And you can use the following startup.conf options (see
src/plugins/linux-cp/lcp_interface.c):
  if (unformat (input, "default netns %v", &default_ns))
  else if (unformat (input, "lcp-auto-subint"))
  else if (unformat (input, "lcp-sync"))
  else if (unformat (input, "del-static-on-link-down"))
  else if (unformat (input, "del-dynamic-on-link-down"))

Also please be aware that LinuxCP changed substantially between 22.02 and
(upcoming) 22.06. I recommend you use HEAD or the 22.06 release candidate
to benefit from these improvements and changes.


On Tue, May 24, 2022 at 5:08 PM Chinmaya Aggarwal 
wrote:

> Hi,
>
> I have compiled VPP v22.02 on Centos 8.4. I was able to compile it. But
> when I installed it and modified /etc/vpp/startup.conf, vpp service is not
> able to come up. I added below sections in /etc/vpp/startup.conf:-
>
> dpdk {
> socket-mem 1024 dev :00:08.0 dev :00:09.0 dev :00:0a.0 dev
> :00:0b.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
>
> ## 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
>   interface-auto-create
> }
>
> VPP service log is showing error for the highlighted sections:-
>
> vlib_call_all_config_functions: unknown input `dpdk  socket-mem 1024 dev
> :00:08.0 dev :00:09.0 '
>
> vlib_call_all_config_functions: unknown input `linux-cp  default netns
> dataplane interface-auto-create '
>
> I have compiled VPP with all the plugins mentioned above. In
> "/usr/lib/vpp_plugins/" I can see .so files
> i.e dpdk_plugin.so, linux_cp_plugin.so, linux_nl_plugin.so
>
> Can you please help us if we are missing out something?
>
> Thanks and Regards,
> Chinmaya Agarwal.
>
>
>
> 
>
>

-- 
Pim van Pelt 
PBVP1-RIPE - http://www.ipng.nl/

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#21445): https://lists.fd.io/g/vpp-dev/message/21445
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]
-=-=-=-=-=-=-=-=-=-=-=-



[vpp-dev] VPP v22.02 not coming up

2022-05-24 Thread Chinmaya Aggarwal
Hi,

I have compiled VPP v22.02 on Centos 8.4. I was able to compile it. But when I 
installed it and modified /etc/vpp/startup.conf, vpp service is not able to 
come up. I added below sections in /etc/vpp/startup.conf:-

dpdk {
socket-mem 1024 dev :00:08.0 dev :00:09.0 dev :00:0a.0 dev 
:00:0b.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

## 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
interface-auto-create
}

VPP service log is showing error for the highlighted sections:-

vlib_call_all_config_functions: unknown input `dpdk  socket-mem 1024 dev 
:00:08.0 dev :00:09.0 '

vlib_call_all_config_functions: unknown input `linux-cp  default netns 
dataplane interface-auto-create '

I have compiled VPP with all the plugins mentioned above. In 
"/usr/lib/vpp_plugins/" I can see .so files i.e dpdk_plugin.so, 
linux_cp_plugin.so, linux_nl_plugin.so

Can you please help us if we are missing out something?

Thanks and Regards,
Chinmaya Agarwal.

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#21444): https://lists.fd.io/g/vpp-dev/message/21444
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]
-=-=-=-=-=-=-=-=-=-=-=-