Re: [vpp-dev] Change how "unix exec" executes cli scripts

2022-05-11 Thread jiangxiaoming
[Edited Message Follows] Hi Damjan, Currently command: define also has some problem. In cli file have the following content: cat /tmp/a.cli: define IP1 192.168.200.11 show macro ping $IP1 in vpp cli will fail with the output: IP1 192.168.200.11 ping: expecting IP4/IP6 address `$IP1'.

Re: [vpp-dev] Change how "unix exec" executes cli scripts

2022-05-11 Thread jiangxiaoming
Hi Damjan, Currently command: define also has some problem. In cli file have the following content: cat /tmp/a.cli: ``` define IP1 192.168.200.11 show macro ping $IP1 ``` in vpp cli will fail with the output: ``` IP1 192.168.200.11 ping: expecting IP4/IP6 address `$IP1'. Usage: ping { | ipv4

[vpp-dev] Need help with VPP remote GDB debugging #vpp

2022-05-11 Thread mustafa
Hi, I have been able to setup VPP for debugging in GDB in the linux host but could not accomplish the same with GDP server for remote debugging. I followed these links: https://www.youtube.com/watch?v=Oe3FTGVEcgQ https://fd.io/docs/vpp/v2101/gettingstarted/developers/running_vpp.html But these

Re: [vpp-dev] Change how "unix exec" executes cli scripts

2022-05-11 Thread Damjan Marion via lists.fd.io
I didn’t hear back from anybody, so let me elaborate this change a bit. It is clear that current behaviour is broken, as some CLI handlers which work well in interactive mode simply eat rest of the content of exec file. As result of that I can see people submitting patches to fix CLI handlers

Re: [vpp-dev] Segmentation fault when dpdk number-rx-queues > 1 in startup.conf

2022-05-11 Thread Damjan Marion via lists.fd.io
> On 06.05.2022., at 11:33, Xu, Ting wrote: > > Hi, Damjan > > I look into the code. The bad commit is > ce4083ce48958d9d3956e8317445a5552780af1a (“dpdk: offloads cleanup”), and the > previous commit is correct, so I compare these two. Since they use the same > DPDK version, I check the

[vpp-dev] single gateway showing up in netlink message when dual gateway is configured with ip route command

2022-05-11 Thread magesh parthasarathy
Hi I am trying to configure dual gateways with ip route command. Ip route show command shows the dual gateway information. I got a vpp stack that is running. The communication of route entries between Linux kernel and vpp stack is through netlink messages. On parsing the netlink message, sent