Re: [vpp-dev] rx-miss while sending packets to Interface (IMPORTANT)

2021-09-28 Thread Akash S R
Hello, I have tried increasing the workers from 2 to 5 and rx/tx queues from 1024 (default) to 2048 ,also decreasing till 256 but of no use. As you told, vector is very high (> 100). Please let us know if there is any other way or reason for the same. Thread 1 vpp_wk_0 (lcore 2) Time 41.3, 10 se

[vpp-dev] upcoming change in nat44-ed static mapping API

2021-09-28 Thread Klement Sekera via lists.fd.io
Hi Matt/vpp-dev, I’m reaching out after discussion with Andrew regarding an upcoming change in behaviour of an API. Currently, when nat44_ed_add_del_static_mapping[_v2] is called, the supplied u8 protocol value is taken and silently converted into NAT_PROTOCOL_(TCP|UDP|ICMP|OTHER). Part of upco

Re: [vpp-dev] rx-miss while sending packets to Interface (IMPORTANT)

2021-09-28 Thread Akash S R
Thanks mate, that makes sense. Will check it out and get back . Thanks, Akash On Tue, Sep 28, 2021, 16:00 Benoit Ganne (bganne) wrote: > Rx-miss means the NIC must drop packets on RX because the rx queue was > full, usually because VPP cannot keep up with the incoming packet rate. > You can ch

Re: [vpp-dev] rx-miss while sending packets to Interface (IMPORTANT)

2021-09-28 Thread Benoit Ganne (bganne) via lists.fd.io
Rx-miss means the NIC must drop packets on RX because the rx queue was full, usually because VPP cannot keep up with the incoming packet rate. You can check it with the output of 'show run'. If you see a big average vector size (100 or more) it means VPP is busy. To improve that you must increase

Re: [vpp-dev] What the meaning of array fields in CGNAT stats?

2021-09-28 Thread Ole Troan
Hi, If you look at f.ex https://git.fd.io/vpp/tree/src/plugins/nat/nat44-ed/nat44_ed_in2out.c#n1199 You will see that the counter dimensions are thread and interface. Best regards, Ole > On 28 Sep 2021, at 11:11, Юрий Иванов wrote: > > Hi, > Many metrics are self explanatory others have descr

[vpp-dev] rx-miss while sending packets to Interface (IMPORTANT)

2021-09-28 Thread Akash S R
Hello mates, Its been a long time, me , raising a query out here to you guys :) (Nah, Please ignore this junk.) I have a question on rx-miss. Whenever we fire packets at some high rate, say 1GBPS or more, I get rx-miss on the interface with some packet count. I referred to a link below from the V

Re: [vpp-dev] AVF interface creation fails on VFs with configured VLAN with newer i40e drivers

2021-09-28 Thread Juraj Linkeš
> -Original Message- > From: vpp-dev@lists.fd.io On Behalf Of Damjan Marion > via lists.fd.io > Sent: Wednesday, September 15, 2021 5:54 PM > To: Juraj Linkeš > Cc: vpp-dev ; Lijian Zhang > Subject: Re: [vpp-dev] AVF interface creation fails on VFs with configured > VLAN > with newer

[vpp-dev] What the meaning of array fields in CGNAT stats?

2021-09-28 Thread Юрий Иванов
Hi, Many metrics are self explanatory others have description prefix, but NAT lacks of description. I'm writing basic metrics collector plugin for vpp stats with one worker. So, output shows two arrays for main and additional thread. Can somebody explain what's the meaning of array counters, I se

[vpp-dev] Making ACL plugin thread safe

2021-09-28 Thread Satya Murthy
Hi VPP-experts, We are exploring ways to make the ACL plugin thread safe and need your inputs on the same. As of today, most of the ACL apis (acl-add/del and acl-lookup-context-add/del) take thread barrier lock, due to which synchronization is automatically achieved for the workers, who are tr