Re: [vpp-dev] How to enable Mellanox compilation in VPP 21.01

2021-04-15 Thread chetan bhasin
Hi Mohammed , After applying the patch you have mentioned , I am no longer facing the compilation issue. Thanks for your support. With Static RDMA linking , do we need to do anything extra while bringing our application on the server having Mellanox Nic ? Thanks & Regards, Chetan On Wed, Apr 1

Re: [vpp-dev] dst mac-address look up?

2021-04-15 Thread hemant via lists.fd.io
I tried the following. In my test_plugin.py file, I added this line which has is_add =1, and flags = IP_NEIGHBOR_FLAG_STATIC self.vapi.ip_neighbor_add_del(self.pg1.sw_if_index, '00:25:90:eb:e8:ed', '2002::2',

Re: [vpp-dev] TX Queue Placement

2021-04-15 Thread Feng Gao
Hi Macros, please see inline On Thu, Apr 15, 2021 at 8:44 PM wrote: > > Hi Feng, > > I do see some drops , as the following output shows: > > > rx bytes65008551 > tx packets6222947195 > tx bytes 7707890251578 > drops1932271 > ip4

Re: [vpp-dev] Feature Arcs

2021-04-15 Thread Dave Barach
Vnet_feature_arc_start initializes b->current_config_index and next0 if and only if features are active on the arc. Take a look at src/vnet/ip/ip_punt_drop.h, which explicitly (and correctly!) sets next0...next3 to zero, or src/vnet/dpo/dvr_dpo.c which sets next0..1 to zero. As in: if no featu

Re: [vpp-dev] Feature Arcs

2021-04-15 Thread Catalin Vasile
Hi, I've went through wiki before asking the questions. 2. Does ".next_nodes" from VLIB_REGISTER_NODE() restrain to which nodes the .function() primitive may send it to? >>> DB: explicit .next_nodes are used to divert packets off a given feature >>> arc. Typical use-case: send non-compliant f

[vpp-dev] dst mac-address look up?

2021-04-15 Thread hemant via lists.fd.io
I read this link: https://fdio-vpp.readthedocs.io/en/latest/gettingstarted/developers/fib20/ar pentries.html At the end of the page, I see text that says "key for which is {interface, next-hop, link-type}." I have the data for the above key, but what API do I use to find destination mac-add

Re: [vpp-dev] Clock time in pcap

2021-04-15 Thread Dave Barach
The proposed fix won’t work correctly with multiple threads. Instead, please address the issue in pcap_write(...) by adding an offset argument and passing the required offset as f64 seconds since the epoch: f64 seconds_since_vpp_started = vlib_time_now(vm); f64 seconds_since_the_ep

Re: [vpp-dev] Memory requirements for CGN

2021-04-15 Thread Marcos - Mgiga
Hi Filip, Is it correct to think that "out of ports" error is a consequence of this limitation in number of simultaneous sessions? Best Regars Marcos De: vpp-dev@lists.fd.io Em nome de Filip Varga via lists.fd.io Enviada em: quinta-feira, 15 de abril de 2021 10:47 Para: mar...@mgig

[vpp-dev] Clock time in pcap

2021-04-15 Thread srinimurthy43
Hello Team, I observe that timestamp captured in pcap collected on VPP with below command captures the time since VPP started rather than the clock time. "pcap trace rx tx max 1 intfc any file rxt.pcap" Further looking into code(version 20.05), I observe that time since VPP restarted is bei

Re: [vpp-dev] vpp_stats.py 03/18 changes cause issue

2021-04-15 Thread hemant via lists.fd.io
Thanks, Tianyu. I am using Ubuntu 18.04 as well. Hemant From: Tianyu Li Sent: Wednesday, April 14, 2021 10:51 PM To: vpp-dev@lists.fd.io; hem...@mnkcg.com Cc: nd ; Govindarajan Mohandoss ; Lijian Zhang Subject: Re: [vpp-dev] vpp_stats.py 03/18 changes cause issue We also spotted the

Re: [vpp-dev] Memory requirements for CGN

2021-04-15 Thread Filip Varga via lists.fd.io
Hi Marcos, Q1. Yes exactly. Q2. Yes there is difference between 20.05 and master. DET44 was previously one of the many features of NAT plugin now it is separate plugin. Still there was never possibility to change any inner configuration of memory allocation through API/CLI. NAT plugin was neve

Re: [vpp-dev] TX Queue Placement

2021-04-15 Thread Marcos - Mgiga
Hi Feng, I do see some drops , as the following output shows: rx bytes65008551 tx packets6222947195 tx bytes 7707890251578 drops1932271 ip4 2291263868 rx-miss 9976 tx-error1990 In

Re: [vpp-dev] Feature Arcs

2021-04-15 Thread Dave Barach
Please see https://fd.io/docs/vpp/master/gettingstarted/developers/featurearcs.html. Also, see inline below From: vpp-dev@lists.fd.io On Behalf Of Catalin Vasile Sent: Thursday, April 15, 2021 6:17 AM To: vpp-dev@lists.fd.io Subject: [vpp-dev] Feature Arcs Hi, I'm trying to grasp how f

[vpp-dev] Feature Arcs

2021-04-15 Thread Catalin Vasile
Hi, I'm trying to grasp how features arcs are done in the code. And have a couple of questions 1. Is a feature a representation of a node ? 2. Does ".next_nodes" from VLIB_REGISTER_NODE() restrain to which nodes the .function() primitive may send it to? 3. I'm trying to grasp how the feature ar

Re: [vpp-dev] vpp 19.01 nat-det-expire-walk not running

2021-04-15 Thread Xuo Guoto via lists.fd.io
Some more info in this issue: None of the periodic threads execute when this happens, for example the suspended count of fib-walk remains at 316497 for 180 seconds. Same for other threads too. Please see the output of following command to get the full picture. date; vppctl sh run | grep -E 'ne