[vpp-dev] Masking IP addresses for HQoS

2018-11-22 Thread Usama Ahmad
Hi, I want to ask if I can somehow classify a single IP address and then apply desired QoS abilities. For what I understand I can only apply a 64 bit mask with a window of 4096 buckets. I’m following this guide and trying to use

Re: [vpp-dev] Request: please add "real" pcap ability #vpp

2018-11-22 Thread Jerome Tollet via Lists.Fd.Io
I tried in the past and that was working fine. Jerome De : Brian Dickson Date : vendredi 23 novembre 2018 à 07:44 À : Jerome Tollet Cc : "vpp-dev@lists.fd.io" Objet : Re: [vpp-dev] Request: please add "real" pcap ability #vpp On Thu, Nov 22, 2018 at 8:18 AM Jerome Tollet (jtollet)

Re: [vpp-dev] Request: please add "real" pcap ability #vpp

2018-11-22 Thread Brian Dickson
On Thu, Nov 22, 2018 at 8:18 AM Jerome Tollet (jtollet) wrote: > Hi Peter, > (It's actually Brian, BTW.) > Did you try creating a pg interface and spanning packet from your port to > this interface? > I didn't, there wasn't a lot of documentation that would have pointed in that direction.

Re: [vpp-dev] Request: please add "real" pcap ability #vpp

2018-11-22 Thread Jerome Tollet via Lists.Fd.Io
Hi Peter, Did you try creating a pg interface and spanning packet from your port to this interface? Jerome De : au nom de "brian.peter.dick...@gmail.com" Date : jeudi 22 novembre 2018 à 00:58 À : "vpp-dev@lists.fd.io" Objet : [vpp-dev] Request: please add "real" pcap ability #vpp Hi, dev

[vpp-dev] vppcom: why __vcl_worker_index is thread local? #vpp

2018-11-22 Thread at . manuel
Hello all, Having that index in the thread context is breaking run-time of multi-threaded applications. Most of them accept connections in a main loop and process data in a thread by passing the socket descriptor. I understand that there is no data protections across the interface library..but,

Re: [vpp-dev] Enabling unit tests in VPP job for ARM and make test failures

2018-11-22 Thread Juraj Linkeš
Hi Folks, There's another approach we could try and that is we could exclude the currently failing tests and run just what passes so that we can prevent other failures creeping up on us. Of course, we would remove the exclusions when the failures are fixed. I've put together a patch that

Re: [vpp-dev] Difference between PRE_INPUT and INPUT nodes

2018-11-22 Thread Prashant Upadhyaya
Thanks Dave ! I got it working with your suggestions :) Regards -Prashant On Thu, Nov 22, 2018 at 7:31 PM Dave Barach (dbarach) wrote: > > Try setting the node state to VLIB_NODE_STATE_DISABLED on the main thread: > > Vlib_node_state_state (vlib_mains[0] or _global_main, ...): > > > /** \brief

Re: [vpp-dev] Difference between PRE_INPUT and INPUT nodes

2018-11-22 Thread Dave Barach via Lists.Fd.Io
Try setting the node state to VLIB_NODE_STATE_DISABLED on the main thread: Vlib_node_state_state (vlib_mains[0] or _global_main, ...): /** \brief Set node dispatch state. @param vm vlib_main_t pointer, varies by thread @param node_index index of the node @param new_state new state for node,

Re: [vpp-dev] Difference between PRE_INPUT and INPUT nodes

2018-11-22 Thread Prashant Upadhyaya
Thanks Dave. I used the VLIB_NODE_TYPE_INPUT, but I now observe that, in presence of worker threads, my main thread is going to 100 % cpu utilization as well. Without my new node, the main thread does not go to 100 % cpu utilization. I want the polling to happen only in worker threads (or the main

Re: [vpp-dev] Difference between PRE_INPUT and INPUT nodes

2018-11-22 Thread Dave Barach via Lists.Fd.Io
Use VLIB_NODE_TYPE_INPUT. Pre-input nodes - of which there is one - exist to make sure that a certain epoll(...) call happens at the top of the loop. D. -Original Message- From: vpp-dev@lists.fd.io On Behalf Of Prashant Upadhyaya Sent: Thursday, November 22, 2018 7:41 AM To:

Re: 答复: [vpp-dev] about sctp

2018-11-22 Thread Marco Varlese
Dear Liu, The reason why I asked you to take a look at the "test_sctp.py" is to see how things are setup and execute the exact steps in the CLI. You'll see things work. You cannot remove the MTU code because that's used to initialize the PMTU and calculate initially the MSS to be sent to the other

[vpp-dev] Difference between PRE_INPUT and INPUT nodes

2018-11-22 Thread Prashant Upadhyaya
Hi, What is the difference between -- .type = VLIB_NODE_TYPE_PRE_INPUT and .type = VLIB_NODE_TYPE_INPUT when the -- .state = VLIB_NODE_STATE_POLLING Typically when should the PRE_INPUT be used and when the INPUT, would appreciate any advice on this. My usecase needs to do a high speed polling.

Re: [vpp-dev] Muliticore Performance test

2018-11-22 Thread kyunghwan kim
Korian While modifying num-mbufs(num-mbufs 128000) and performing Performance tests, I also faced the same Bug. We are testing bi-direction with 40Gbps. "One port Rx frame is 1" Do you have any other doubts? vpp# show interface Name IdxState MTU

[vpp-dev] Regarding page table address NULL in dpdk_pool_create

2018-11-22 Thread Alok Makhariya
Hi I have a situation where in some scenarios when VPP is restarted after a crash, the VPP which is coming up itself crashes with the following backtrace. This does not happen always. Any hints on what could cause this would be appreciated. Backtrace (gdb) bt #0 0x2b688139c207 in raise