Re: [vpp-dev] vpp router plugin threads? (vpp + router + netlink + FRRouting)

2018-12-13 Thread Ni, Hongjun
Hi Burt and Brian,

VPP has leveraged cmake to compile code after release 18.10, but vppsb still 
use make to compile code.
We tried to port router plugin to VPP, and it can work, but it is not accepted 
by VPP community.
https://gerrit.fd.io/r/#/c/15062/

You need to rework VPPSB’s building system to match VPP’s cmake, to make router 
plugin work.

Thanks,
Hongjun

From: vpp-dev@lists.fd.io [mailto:vpp-dev@lists.fd.io] On Behalf Of Burt 
Silverman
Sent: Friday, December 14, 2018 6:13 AM
To: brian.peter.dick...@gmail.com
Cc: john.bisce...@bahnhof.net; vpp-dev ; 
vppsb-...@lists.fd.io
Subject: Re: [vpp-dev] vpp router plugin threads? (vpp + router + netlink + 
FRRouting)

I just tried building on master of both vpp and vppsb. I just had to add 
#include  to tap_inject_node.c. It seems like that bug has been 
around a long time. I used the directions in vppsb/router/README.md.

Burt
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11601): https://lists.fd.io/g/vpp-dev/message/11601
Mute This Topic: https://lists.fd.io/mt/28729084/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [vpp-dev] vpp router plugin threads? (vpp + router + netlink + FRRouting)

2018-12-13 Thread Burt Silverman
I just tried building on master of both vpp and vppsb. I just had to add
#include  to tap_inject_node.c. It seems like that bug has been
around a long time. I used the directions in vppsb/router/README.md.

Burt
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11600): https://lists.fd.io/g/vpp-dev/message/11600
Mute This Topic: https://lists.fd.io/mt/28729084/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [vpp-dev] IPv6 Neighbor Discovery Proxy

2018-12-13 Thread Ole Troan
Hi Tim,

I have been spending about twenty years trying to convince people not to repeat 
all the wrong things we did with IPv4, proxy-arp being one of them. 

It would be interesting to understand the use case for this?

Cheers 
Ole

> On 13 Dec 2018, at 18:20, Steele, Tim  wrote:
> 
> I see that IPv6 ND proxy was added in VPP 17.04.
>  
> I’ve been experimenting with VPP 18.07.1 and found that ND proxy is only 
> possible for a specific address; it does not appear that proxy can be 
> configured based on matching a prefix. For example,
>  
> vpp# set ip6 nd proxy FortyGigabitEthernet82/0/2 fc00:1234:2345:3456::/64
> unknown input `/64'
> vpp# set ip6 nd proxy FortyGigabitEthernet82/0/2 fc00:1234:2345:3456::/96
> unknown input `/96'
>  
> I’ve checked the latest code in 19.01 and it looks to be the same. Are there 
> plans to support prefix-based ND proxy in the future? If so, any idea of a 
> timeline?
>  
> Regards,
> Tim
>  
>  
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> 
> View/Reply Online (#11595): https://lists.fd.io/g/vpp-dev/message/11595
> Mute This Topic: https://lists.fd.io/mt/28744588/675193
> Group Owner: vpp-dev+ow...@lists.fd.io
> Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [otr...@employees.org]
> -=-=-=-=-=-=-=-=-=-=-=-
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11599): https://lists.fd.io/g/vpp-dev/message/11599
Mute This Topic: https://lists.fd.io/mt/28744588/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [vpp-dev] hi all, which MLX_OFED is ok for vpp 18.01.1?

2018-12-13 Thread Sirshak Das
I have used 4.4-2  for while now on arm64/AArch64 systems using source
compile.
Let me know if you face issues with any specfic version.

Thank you
Sirshak Das
Yang, Liang writes:


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11598): https://lists.fd.io/g/vpp-dev/message/11598
Mute This Topic: https://lists.fd.io/mt/28742410/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [vpp-dev] vppinfra vec alignment

2018-12-13 Thread Dave Barach via Lists.Fd.Io
Thanks for this one... If you can spare the time, please fix the doxygen tag / 
comment in .../src/vppinfra/vec.h...

From: vpp-dev@lists.fd.io  On Behalf Of Dave Wallace
Sent: Thursday, December 13, 2018 12:33 PM
To: dmar...@me.com; Mohammed Alshohayeb 
Cc: vpp-dev@lists.fd.io
Subject: Re: [vpp-dev] vppinfra vec alignment

I have submitted a patch [1] to update the documentation per this email thread.

Thanks,
-daw-

[1] https://gerrit.fd.io/r/16467
On 12/12/2018 4:54 PM, Damjan Marion via Lists.Fd.Io wrote:
That should be corrected to:

Users may specify the alignment for first data element via the vec*_aligned 
macros.

Other elementa will be alligned only is data structure is alligned, i.e. By 
CLIB_CACHELINE_ALIGN_MARK(...) macro...
—
Damjan

On Dec 12, 2018, at 2:04 PM, Mohammed Alshohayeb 
mailto:moshoha...@gmail.com>> wrote:
Hello everyone,

From what I understand and see that the vec_*_aligned restriction is for the 
vector hdr/userhdr not the individual elements, however, 
this
 page says

Typically, the user header is not present. User headers allow for other data 
structures to be built atop vppinfra vectors. Users may specify the alignment 
for data elements via the vec*_aligned macros.

Am i correct in my assumption?
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11587): https://lists.fd.io/g/vpp-dev/message/11587
Mute This Topic: https://lists.fd.io/mt/28735587/675642
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  
[dmar...@me.com]
-=-=-=-=-=-=-=-=-=-=-=-



-=-=-=-=-=-=-=-=-=-=-=-

Links: You receive all messages sent to this group.



View/Reply Online (#11588): https://lists.fd.io/g/vpp-dev/message/11588

Mute This Topic: https://lists.fd.io/mt/28735587/675079

Group Owner: vpp-dev+ow...@lists.fd.io

Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  
[dwallac...@gmail.com]

-=-=-=-=-=-=-=-=-=-=-=-

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11597): https://lists.fd.io/g/vpp-dev/message/11597
Mute This Topic: https://lists.fd.io/mt/28735587/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [vpp-dev] vppinfra vec alignment

2018-12-13 Thread Dave Wallace
I have submitted a patch [1] to update the documentation per this email 
thread.


Thanks,
-daw-

[1] https://gerrit.fd.io/r/16467

On 12/12/2018 4:54 PM, Damjan Marion via Lists.Fd.Io wrote:

That should be corrected to:

Users may specify the alignment for* first data element *via the 
vec*_aligned macros.


Other elementa will be alligned only is data structure is alligned, 
i.e. By CLIB_CACHELINE_ALIGN_MARK(...) macro...


—
Damjan

On Dec 12, 2018, at 2:04 PM, Mohammed Alshohayeb > wrote:



Hello everyone,

From what I understand and see that the vec_*_aligned restriction is 
for the vector hdr/userhdr not the individual elements, however, this 
 page 
says


Typically, the user header is not present. User headers allow for 
other data structures to be built atop vppinfra vectors. Users may 
specify the alignment for*data elements *via the vec*_aligned macros.


Am i correct in my assumption?
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11587): https://lists.fd.io/g/vpp-dev/message/11587
Mute This Topic: https://lists.fd.io/mt/28735587/675642
Group Owner: vpp-dev+ow...@lists.fd.io 
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [dmar...@me.com 
]

-=-=-=-=-=-=-=-=-=-=-=-


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11588): https://lists.fd.io/g/vpp-dev/message/11588
Mute This Topic: https://lists.fd.io/mt/28735587/675079
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [dwallac...@gmail.com]
-=-=-=-=-=-=-=-=-=-=-=-


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11596): https://lists.fd.io/g/vpp-dev/message/11596
Mute This Topic: https://lists.fd.io/mt/28735587/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[vpp-dev] IPv6 Neighbor Discovery Proxy

2018-12-13 Thread Steele, Tim
I see that IPv6 ND proxy was added in VPP 17.04.

I've been experimenting with VPP 18.07.1 and found that ND proxy is only 
possible for a specific address; it does not appear that proxy can be 
configured based on matching a prefix. For example,

vpp# set ip6 nd proxy FortyGigabitEthernet82/0/2 fc00:1234:2345:3456::/64
unknown input `/64'
vpp# set ip6 nd proxy FortyGigabitEthernet82/0/2 fc00:1234:2345:3456::/96
unknown input `/96'

I've checked the latest code in 19.01 and it looks to be the same. Are there 
plans to support prefix-based ND proxy in the future? If so, any idea of a 
timeline?

Regards,
Tim


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11595): https://lists.fd.io/g/vpp-dev/message/11595
Mute This Topic: https://lists.fd.io/mt/28744588/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [vpp-dev] Any tricks in IP reassembly ?

2018-12-13 Thread pvinci
Can you provide the code?  Personally, I would be interested in seeing your 
approach.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11594): https://lists.fd.io/g/vpp-dev/message/11594
Mute This Topic: https://lists.fd.io/mt/28718629/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[vpp-dev] hi all, which MLX_OFED is ok for vpp 18.01.1?

2018-12-13 Thread Yang, Liang

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11593): https://lists.fd.io/g/vpp-dev/message/11593
Mute This Topic: https://lists.fd.io/mt/28742410/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [vpp-dev] Any tricks in IP reassembly ?

2018-12-13 Thread Klement Sekera via Lists.Fd.Io
The test framework spawns vpp with only one main thread and no workers.
I had a patch which uses also worker threads but it never made it to
git. It's grossly outdated by now.

Anyhow, I don't think that's really possible with the current packet
geneator implementation.

Quoting pvi...@vinciconsulting.com (2018-12-12 18:50:11)
>Hi Klement.
> 
>Is there a way to write a test case that documents that behavior?  Does
>the test framework have the ability to split fragments across threads?
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11592): https://lists.fd.io/g/vpp-dev/message/11592
Mute This Topic: https://lists.fd.io/mt/28718629/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-