Re: [vpp-dev] VPP and RCU?

2018-10-30 Thread Honnappa Nagarahalli
> > > > > >> Hi Stephen, > > >> > > >> No, we don’t support RCU. Wouldn’t rw-locks be enough to support your > usecases? > > >> > > >> Florin > > >> > > >>> On Oct 29, 2018, at 12:40 PM, Stephen Hemminger > wrote: > > >>> > > >>> Is it possible to do Read Copy Update with VPP? Either using > >

Re: [vpp-dev] NAT44 && vxlan tunnel conflict

2018-10-30 Thread wangchuan...@163.com
I want to use the vpp as the data forwarding center through vxlan tunnel, and the server-PC VPP running on can be SSH-login at remote PC. PC2 <-> PC1 disconnected after add NAT (tapSSH - TenGigabitEthernet8/0/0). My current main doubts is that how can I limit the NAT44 only work at SSH(port 22

Re: [vpp-dev] difference between tap device and veth

2018-10-30 Thread carlito nueno
Thank you! On Tue, Oct 30, 2018 at 12:42 PM Damjan Marion wrote: > > > > > On 30 Oct 2018, at 19:35, Carlito Nueno wrote: > > > > Got it. > > Just to clarify, does tapv2 use vhost-net backend? > > yes > > > Is is correct/sufficient way to use it? > > create tap id 0 host-ip4-addr 10.20.2/24

[vpp-dev] 18.10 release artifacts

2018-10-30 Thread Michal Cmarada via Lists.Fd.Io
Hi vpp-devs, I was preparing honeycomb release and while building it I found out that there are some artifacts missing in nexus repository for 18.10. https://nexus.fd.io/content/repositories/fd.io.release/io/fd/vpp/ . most of them were deployed ok, but some of them are missing e.g.

Re: [vpp-dev] difference between tap device and veth

2018-10-30 Thread Damjan Marion via Lists.Fd.Io
> On 30 Oct 2018, at 19:35, Carlito Nueno wrote: > > Got it. > Just to clarify, does tapv2 use vhost-net backend? yes > Is is correct/sufficient way to use it? > create tap id 0 host-ip4-addr 10.20.2/24 host-if-name testtap yes -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent

Re: [vpp-dev] difference between tap device and veth

2018-10-30 Thread carlito nueno
Got it. Just to clarify, does tapv2 use vhost-net backend? Is is correct/sufficient way to use it? create tap id 0 host-ip4-addr 10.20.2/24 host-if-name testtap Thanks On Sat, Oct 27, 2018 at 1:49 AM Damjan Marion wrote: > > > Tap (with vhost-net backend) is faster and it is real interface from

[vpp-dev] Sample plugin documentation out of date

2018-10-30 Thread Stephen Hemminger
I was playing around with sample plugin, it looks like the documentation is out of date with current VPP especially autoconf etc. Could someone walkthrough the documentation and make sure the example works. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply

Re: [vpp-dev] VPP and RCU?

2018-10-30 Thread Stephen Hemminger
On Mon, 29 Oct 2018 14:58:07 -0700 Florin Coras wrote: > > On Oct 29, 2018, at 1:42 PM, Stephen Hemminger > > wrote: > > > > On Mon, 29 Oct 2018 13:20:27 -0700 > > Florin Coras wrote: > > > >> Hi Stephen, > >> > >> No, we don’t support RCU. Wouldn’t rw-locks be enough to support your >

Re: [vpp-dev] Snooping non-IP packets

2018-10-30 Thread Dave Barach via Lists.Fd.Io
When you register a feature node on the "device-input" arc, that node will receive EVERY packet on all interfaces which have the feature enabled... -Original Message- From: vpp-dev@lists.fd.io On Behalf Of Prashant Upadhyaya Sent: Monday, October 29, 2018 10:11 PM To: Damjan Marion

[vpp-dev] How to modify cache sizes in VPP to measure cache hit rates

2018-10-30 Thread Arijit Pramanik
Hi, Could anyone provide some help on how to limit the cache sizes to check the hit rate for benchmarking VPP's performance? And how do we refresh the memory statistics on vpp while testing with packet generators for each run? Thanks in advance. Arijit. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive

Re: [vpp-dev] Snooping non-IP packets

2018-10-30 Thread Prashant Upadhyaya
Thanks Damjan ! Just to be sure, when I use the device-input feature arc thus -- VNET_FEATURE_INIT (myfeature, static) = { .arc_name = "device-input", .node_name = "mynode", .runs_before = VNET_FEATURES ("ethernet-input"), }; I get to see only the non-IP packets inside

Re: [vpp-dev] AF_PACKET performance question

2018-10-30 Thread Damjan Marion via Lists.Fd.Io
nothing obvious on my mind... -- Damjan > On 30 Oct 2018, at 13:25, Xuekun wrote: > > Yes, I know. I’m also doing the performance comparison between tapv2 vs. > af_packet. > I just found below strange problem, and would like to know why?  > > Thanks. > > <>From: Damjan Marion >

Re: [vpp-dev] AF_PACKET performance question

2018-10-30 Thread Xuekun
Yes, I know. I’m also doing the performance comparison between tapv2 vs. af_packet. I just found below strange problem, and would like to know why?  Thanks. From: Damjan Marion Sent: Tuesday, October 30, 2018 8:18 PM To: Hu, Xuekun Cc: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] AF_PACKET

Re: [vpp-dev] NAT44 && vxlan tunnel conflict

2018-10-30 Thread Dave Barach via Lists.Fd.Io
Please send the exact config you used, and the relevant packet tracer output. From: wangchuan...@163.com Sent: Tuesday, October 30, 2018 1:13 AM To: Dave Barach (dbarach) ; vpp-dev Subject: Re: RE: [vpp-dev] NAT44 && vxlan tunnel conflict The attempt failed! Adding static mapping to bvi or

Re: [vpp-dev] AF_PACKET performance question

2018-10-30 Thread Damjan Marion via Lists.Fd.Io
If you are interested in performance, i suggest using tap interface instead of af_packet. With tap (by using vhost-net backend) there is no memcpy involved, kernel puts buffer data straight into VPP buffers... -- Damjan > On 30 Oct 2018, at 13:07, Xuekun wrote: > > Hi, All > > Recently I

[vpp-dev] AF_PACKET performance question

2018-10-30 Thread Xuekun
Hi, All Recently I found a big performance difference (~5Gbps vs. ~300Mbps by iperf3) between two settings, which AF_PACKET related. The testing topology: Two servers are directly connected through 10G link; One is running VPP on the 10G NIC and AF_PACKET interface. And the iperf client