Re: [vpp-dev] Linking external libraries to VPP executable

2020-01-03 Thread Damjan Marion via Lists.Fd.Io
> On 3 Jan 2020, at 08:13, siddarth rai wrote: > > Hi, > > My plugin is linked to an external lib. > When my plugin calls the init function of that external lib, it runs into > some problems with symbols (presumably the external lib init function calls a > dlopen to load some other files) >

Re: [vpp-dev] Linking external libraries to VPP executable

2020-01-03 Thread Dave Barach via Lists.Fd.Io
There should be no need to change anything except what your plugin links against. As Damjan wrote: unless you’re more specific – name the symbols involved, where they’re defined, etc. - we can’t help you. Dave From: vpp-dev@lists.fd.io On Behalf Of siddarth rai Sent: Friday, January 3, 2020 2

[vpp-dev] Check in ip4_local_inline()

2020-01-03 Thread Nitin Saxena
Hi, I am sending UDP termination packets to VPP interface with single source IP. I find that fib lookup is happening for every packet, even if source IP for current packet is same as last packet. Is it expected behavior? Following patch seems to avoid lookup for every packet. Thanks, Nitin di

[vpp-dev] Coverity run FAILED as of 2020-01-03 14:00:24 UTC

2020-01-03 Thread Noreply Jenkins
Coverity run failed today. Current number of outstanding issues are 2 Newly detected: 2 Eliminated: 2 More details can be found at https://scan.coverity.com/projects/fd-io-vpp/view_defects -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#15031): ht

Re: [vpp-dev] Check in ip4_local_inline()

2020-01-03 Thread Dave Barach via Lists.Fd.Io
Ask yourself how often there will be precisely one source (or dst) IP address in this path. Optimizing a specific lab/benchmark case may or may not make sense. D. From: vpp-dev@lists.fd.io On Behalf Of Nitin Saxena Sent: Friday, January 3, 2020 8:02 AM To: vpp-dev@lists.fd.io Subject: [vpp-dev

[vpp-dev] Contiv VPP - Run time debug log is not printing in vpp prompt

2020-01-03 Thread Mohamed feroz Abdul majeeth
Hi vpp-dev, I am working in contiv vpp & kubernetes. I faced issue like runtime debug message is not printing in vpp command prompt(vppctl), contiv vpp is redirecting the debug message to "system activity log" (/var/log/message). Below are node runtime function (sample_node_fn). I am not able see

Re: [vpp-dev] Linking external libraries to VPP executable

2020-01-03 Thread Burt Silverman
Also, for the sake of completeness, it might be a good idea to spell out the tool chain being used, Siddarth. Burt On Fri, Jan 3, 2020 at 7:58 AM Dave Barach via Lists.Fd.Io wrote: > There should be no need to change anything except what your plugin links > against. > > > > As Damjan wrote: unl

Re: [vpp-dev] Check in ip4_local_inline()

2020-01-03 Thread Balaji Venkatraman via Lists.Fd.Io
Hi Nitin, Isn’t ip_lookup based of destination ip, Could you verify if the lookup happens on every packet when ‘destination ip’ is the same? -- Regards, Balaji. From: on behalf of "Dave Barach via Lists.Fd.Io" Reply-To: "Dave Barach (dbarach)" Date: Friday, January 3, 2020 at 6:38 AM To: Ni

Re: [vpp-dev] Check in ip4_local_inline()

2020-01-03 Thread Nitin Saxena
Hi Dave, Thanks. I agree with your point that there is less chance of consecutive packets having same source IP. However both functions: ip4_local_check_src(), ip4_local_check_src_x2() already have the trick to avoid fib lookup for consecutive packets having same source IP. Correct me if I am

Re: [vpp-dev] Check in ip4_local_inline()

2020-01-03 Thread Nitin Saxena
Thanks Balaji. Destination IP lookup happens in ip4-lookup node. The source IP getting checked in ip4-local for uRPF functionality Thanks, Nitin From: Balaji Venkatraman (balajiv) Sent: Friday, January 3, 2020 8:39 PM To: Nitin Saxena Cc: Dave Barach (dbarach) ; vpp-dev@lists.fd.io Subject: [E

Re: [vpp-dev] #vpp #bond How to config bond mode in vpp?

2020-01-03 Thread steven luong via Lists.Fd.Io
DPDK bonding is no longer supported in 19.08. However, you can use VPP native bonding to accomplish the same thing. create bond mode active-backup load-balance l34 set interface state BondEthernet0 up bond add BondEthernet0 GigabitEthernet1/0/0 bond add BondEthernet0 GigabitEthernet1/0/1 Steven

Re: [vpp-dev] Check in ip4_local_inline()

2020-01-03 Thread Florin Coras
Hi Nitin, I believe your observation is correct. Adding Neale in case we missed something. Regards, Florin > On Jan 3, 2020, at 10:32 AM, Nitin Saxena wrote: > > Hi Dave, > > Thanks. > > I agree with your point that there is less chance of consecutive packets > having same source IP. H

[vpp-dev] Help Request to explain output of vpp_get_stats

2020-01-03 Thread sunny cupertino
Hi All, I am new to VPP and am using vpp_get_stats to check some counters on the interfaces. if I run the command, I get the following output: vpp version used: vpp v19.04.1-release [root@idn_upf_ntsn /]# vpp_get_stats dump if/names if/drops$ [0]: local0 /if/names [1]: host-eth /if/names [2]: t

Re: [vpp-dev] Help Request to explain output of vpp_get_stats

2020-01-03 Thread Ole Troan
Hi Sunny, > I am new to VPP and am using vpp_get_stats to check some counters on the > interfaces. > if I run the command, I get the following output: > vpp version used: vpp v19.04.1-release > > [root@idn_upf_ntsn /]# vpp_get_stats dump if/names if/drops$ > [0]: local0 /if/names > [1]: host-

Re: [vpp-dev] Help Request to explain output of vpp_get_stats

2020-01-03 Thread sunny cupertino
Hi Ole, Many Thanks for your quick response. it explains why I see different numbers when the works threads number is changed in startup.conf. I will have a look at vpptop as well. Best Regards, On Fri, Jan 3, 2020 at 11:45 AM wrote: > Hi Sunny, > > > I am new to VPP and am using vpp_get_stats

Re: [vpp-dev] why VAT can not link libvnet.so library ?

2020-01-03 Thread Pei, Yulong
Hello Dave, I noticed that you are maintainer of VPP API TEST (VAT), could you help me about this issue ? Best Regards Yulong Pei From: vpp-dev@lists.fd.io On Behalf Of Pei, Yulong Sent: Tuesday, December 31, 2019 5:47 PM To: vpp-dev@lists.fd.io Subject: [vpp-dev] why VAT can not link libvnet

[vpp-dev] multipath dpo buckets is wrong.

2020-01-03 Thread abbas ali chezgi via Lists.Fd.Io
when adding multipath route with 2 path for a prefix it shows dpo-load-balance correctly.but when update it to 3 path it shows 16 paths with duplicate paths in dpo.-- vppctl show ip fib 10.1.1.0-- ipv