Hi,

You're seeing this issue because vpp_echo is trying to use the old
connection mechanism. The configuration I typically run with is the
following [1]
And launching vpp_echo with :
./vpp_echo socket-name /var/run/vpp.sock server uri tcp://10.0.1.1/1234
./vpp_echo socket-name /var/run/vpp.sock client uri tcp://10.0.1.1/1234

Hope this helps

Cheers
-Nathan

[1] /etc/vpp/startup.conf
unix {
  interactive
  log /var/log/vpp/vpp.log
  cli-listen /var/run/vppcli.sock
  exec /etc/vpp/vpp1.conf
}
api-segment { prefix vpp1 }
cpu { workers 0 }
socksvr { socket-name /var/run/vpp.sock }
session {
  evt_qs_memfd_seg
  enable
}
plugins {
    plugin dpdk_plugin.so { disable }
}



Le mer. 1 juil. 2020 à 16:29, <sadhanakesa...@gmail.com> a écrit :

> [Edited Message Follows]
> Hi Team,
> I am trying to explore tcp user space in my vm using vpp hoststack.
> I install and brought up vpp with attached startup1 conf and vpp1 conf.
> 1. executed the vpp with start config :
>
> sudo
> /auto/home.nas04/skesavan/vpp/build-root/install-vpp_debug-native/vpp/bin/vpp
> -c /etc/vpp/startup.conf
>
> -bash-4.2$ cat /etc/vpp/vpp1.conf
>
> session enable
>
> create host-interface name vpp1
>
> set int ip address host-vpp1 10.0.0.1/24
>
> set int state host-vpp1 up
>
>
> 2.displayed interfaces
>
> -bash-4.2$ sudo
> /auto/home.nas04/skesavan/vpp/build-root/install-vpp_debug-native/vpp/bin/vppctl
> show int
>
>               Name               Idx    State  MTU (L3/IP4/IP6/MPLS)
> Counter          Count
>
> local0                            0     down          0/0/0/0
>
>
> 2.-bash-4.2$ sudo
> /auto/home.nas04/skesavan/vpp/build-root/install-vpp_debug-native/vpp/bin/vpp_echo
> server uri tcp://10.0.0.1/24
>
> vl_api_sock_init_shm_reply_t_handler:363: failed to init shmem
>
> Segmentation fault
>
> Is there anything I am missing obvious?
>
> 
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#16856): https://lists.fd.io/g/vpp-dev/message/16856
Mute This Topic: https://lists.fd.io/mt/75236261/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to