Re: [vpp-dev] Crash in qsort

2019-09-14 Thread Dave Barach via Lists.Fd.Io
As far as I know, there are no issues with vec_sort_with_function. It’s been unchanged for many years. We use it in lots of places, and it does not give trouble. Unless someone feeds it a dangling vector reference, or writes a broken element comparison function. If after taking a good hard loo

[vpp-dev] Crash in qsort

2019-09-14 Thread krishnamurthy . mbnr
Hi, I am using the API vec_sort_with_function to sort a vector and I am noticing that it crashes. This API uses qsort function to sort the vector. Are there any knows issues with the implementation of qsort? I did see a couple of messages in this list discussing potential buffer overflow issues

Re: [vpp-dev] Support for shared subnet

2019-09-14 Thread krishnamurthy . mbnr
On Wed, Sep 11, 2019 at 10:20 AM, Burt Silverman wrote: > > Perhaps Krishna could use a total of 2 VLANs rather than 2 VLANs per line > card, and also think in terms of point to point rather than subnets. I > have not thought through whether or how that helps hide the traffic > splitting/load bal

Re: [vpp-dev] Regarding "set interface state down"

2019-09-14 Thread John Lo (loj) via Lists.Fd.Io
I have similar setup with 10GE Intel NIC on bare-metal box running Ubuntu 18.10. I don’t see such an issue in the past up to the current VPP being used which is 19.04 (unless something changed with 19.08 or master). The 10GE port is connected to an IXIA tester and when I set interface state do

[vpp-dev] Regarding "set interface state down"

2019-09-14 Thread milanvpp
Hello, For a physical interface , say 1 Gig or 10 Gig, it looks like the command  "set interface state  TenGig0/x down",  does not bring down the physical link as well, apart from the interface admin-state, so  the remote peer does not actually sense a link down. This is for IXGBE driver, and b