Re: [vpp-dev] Rx stuck to 0 after a while

2018-05-28 Thread Andrew Yourtchenko
Dear Rubina, Thanks for catching and reporting this! I suspect what might be happening is my recent change of using two unidirectional sessions in bihash vs. the single one triggered a race, whereby as the owning worker is deleting the session, the non-owning worker is trying to update it. That

Re: [vpp-dev] show trace caused "out of memory"

2018-05-28 Thread xulang
Hi, Below is part of my startup.conf. The default heapsize is 512M, so I set 2G heapsize for 4 CPU cores. But it does not work, nothing changed, any ideas? main-core 1 ## Set logical CPU core(s) where worker threads are running corelist-workers 2-3 heapsize { 2G } Regards 在

Re: [vpp-dev] show trace caused "out of memory"

2018-05-28 Thread xulang
Hi all, my mistake, it is working. Regards 在 2018-05-29 09:41:16,"xulang" 写道: Hi, Below is part of my startup.conf. The default heapsize is 512M, so I set 2G heapsize for 4 CPU cores. But it does not work, nothing changed, any ideas? main-core 1 ## Set logical CPU core(s) where

[vpp-dev] show trace caused "out of memory"

2018-05-28 Thread xulang
Hi all, When we only use one CPU core, the cmd "show trace max 5000" works well. But it will crash when we use four CPU cores because of "out of memory". Below are some information, any guides? root@vBRAS:~# cat /proc/meminfo MemTotal:4028788 kB MemFree: 585636 kB MemAvailable:

Re: [vpp-dev] dot1ad tag

2018-05-28 Thread Mehran Memarnejad
Does the efp-filter work base on the second tag?? As far as I experiment, I realized that each subinterface recieves packets with tags equal to their subinterface number, e.g. GigabitEthernet1/0/0.200 will receieves packets with inner tags(802.1q) of 200, which is customer' vlan tag. I think that

[vpp-dev] dot1ad tag

2018-05-28 Thread Mehran Memarnejad
Hi, According to Wikipedia's page for 802.1ad : "A tag stack creates a mechanism for Internet Service Providers to encapsulate customer single-tagged 802.1Q traffic with a single tag, the final frame being a QinQ frame. The outer tag is used to identify

[vpp-dev] dot1ad tag

2018-05-28 Thread Mehran Memarnejad
Does the efp-filter work base on the second tag?? As far as I experiment, I realized that each subinterface receives packets with tags equal to their subinterface number, e.g. GigabitEthernet1/0/0.200 will receives packets with inner tags(802.1q) of 200, which is customer' vlan tag. I think that I

[vpp-dev] Does vcl_epoll_wait() support client concurrent request ? #vnet

2018-05-28 Thread muziding
HI, I developed a simple http server by vcl_epoll. When there are multiple client requests at the same time , the http server will have some errors, such as vcl_epoll_wait() will return unready session. so, I have some questions about VCL: Is VCL still in development ? Is VCL currently  

Re: [vpp-dev] show trace caused "out of memory"

2018-05-28 Thread Kingwel Xie
Hi, You should increase heap size. In startup.conf, heapsize 1g or something like that. When running in multi-core environment, vpp definitely need more memory, because some global variables have to be expanded to have multiple copies - per worker thread. F.g., Interface Counters, Error

Re: [vpp-dev] dot1ad tag

2018-05-28 Thread Mehran Memarnejad
Hi, According to Wikipedia's page for 802.1ad: "A tag stack creates a mechanism for Internet Service Providers to encapsulate customer single-tagged 802.1Q traffic with a single tag, the final frame being a QinQ frame. The outer tag is

[vpp-dev] dot1ad tag

2018-05-28 Thread Mehran Memarnejad
Does the efp-filter work base on the second tag?? As far as I experiment, I realized that each subinterface receives packets with tags equal to their subinterface number, e.g. GigabitEthernet1/0/0.200 will receives packets with inner tags(802.1q) of 200, which is customer' vlan tag. I think that I

[vpp-dev] dot1ad tag

2018-05-28 Thread Mehran Memarnejad
Hi, According to Wikipedia's page for 802.1ad : "A tag stack creates a mechanism for Internet Service Providers to encapsulate customer single-tagged 802.1Q traffic with a single tag, the final frame being a QinQ frame. The outer tag is used to identify

Re: [vpp-dev] show trace caused "out of memory"

2018-05-28 Thread xulang
Hi, Thanks, what is the default heapsize? So we need to prepare extra PHY memory, right? Regards 在 2018-05-28 19:10:30,"Kingwel Xie" 写道: Hi, You should increase heap size. In startup.conf, heapsize 1g or something like that. When running in multi-core

Re: [vpp-dev] vpp input '\b' problem

2018-05-28 Thread Ray Kinsella
The VPP CLI is really for debug purposes only. What are you trying to configure that has such a long command? Ray K On 24/05/2018 03:31, 贾铁振 wrote: When VPP cli configuring multi line content, then continuously input '\b', or press' backspace '/' backspace 'continuously, the CLI cursor can

[vpp-dev] Rx stuck to 0 after a while

2018-05-28 Thread Rubina Bianchi
Hi I run vpp v18.07-rc0~237-g525c9d0f with only 2 interface in stateful acl (permit+reflect) and generated sfr traffic using trex v2.27. My rx will become 0 after a short while, about 300 sec in my machine. Here is vpp status: root@MYRB:~# service vpp status * vpp.service - vector packet

Re: [vpp-dev] dot1ad tag

2018-05-28 Thread John Lo (loj)
With L2 bridging, all packets being forwarded in a bridge domain (BD) is expected to have the same 1st VLAN tag (or no VLAN tag). This also applies to QinQ packets being forwarded in a service provider bridge where the top dot1ad tag is expected to have the same ID while the 2nd dot1q tag can