mbox series

[iproute2,net-next,0/3] support for vxlan vni filtering

Message ID 20220501001205.33782-1-roopa@nvidia.com (mailing list archive)
Headers show
Series support for vxlan vni filtering | expand

Message

Roopa Prabhu May 1, 2022, 12:12 a.m. UTC
This series adds bridge command to manage
recently added vnifilter on a collect metadata
vxlan (external) device. Also includes per vni stats
support.

examples:
$bridge vni add dev vxlan0 vni 400

$bridge vni add dev vxlan0 vni 200 group 239.1.1.101

$bridge vni del dev vxlan0 vni 400

$bridge vni show

$bridge -s vni show


Nikolay Aleksandrov (1):
  bridge: vni: add support for stats dumping

Roopa Prabhu (2):
  bridge: vxlan device vnifilter support
  ip: iplink_vxlan: add support to set vnifiltering flag on vxlan device

 bridge/Makefile       |   2 +-
 bridge/br_common.h    |   2 +
 bridge/bridge.c       |   1 +
 bridge/monitor.c      |  28 ++-
 bridge/vni.c          | 439 ++++++++++++++++++++++++++++++++++++++++++
 include/libnetlink.h  |   9 +
 ip/iplink_vxlan.c     |  23 ++-
 lib/libnetlink.c      |  20 ++
 man/man8/bridge.8     |  77 +++++++-
 man/man8/ip-link.8.in |   9 +
 10 files changed, 606 insertions(+), 4 deletions(-)
 create mode 100644 bridge/vni.c

Comments

David Ahern May 6, 2022, 3:26 a.m. UTC | #1
On 4/30/22 5:12 PM, Roopa Prabhu wrote:
> This series adds bridge command to manage
> recently added vnifilter on a collect metadata
> vxlan (external) device. Also includes per vni stats
> support.
> 
> examples:
> $bridge vni add dev vxlan0 vni 400
> 
> $bridge vni add dev vxlan0 vni 200 group 239.1.1.101
> 
> $bridge vni del dev vxlan0 vni 400
> 
> $bridge vni show
> 
> $bridge -s vni show
> 
> 

hey Roopa: sorry for the delay; traveling. The patches have a number of
new uses of matches(). We are not taking any more of those; please
convert to strcmp. The rest looks fine to me.
Roopa Prabhu May 8, 2022, 3:45 a.m. UTC | #2
On 5/5/22 20:26, David Ahern wrote:
> On 4/30/22 5:12 PM, Roopa Prabhu wrote:
>> This series adds bridge command to manage
>> recently added vnifilter on a collect metadata
>> vxlan (external) device. Also includes per vni stats
>> support.
>>
>> examples:
>> $bridge vni add dev vxlan0 vni 400
>>
>> $bridge vni add dev vxlan0 vni 200 group 239.1.1.101
>>
>> $bridge vni del dev vxlan0 vni 400
>>
>> $bridge vni show
>>
>> $bridge -s vni show
>>
>>
> hey Roopa: sorry for the delay; traveling. The patches have a number of
> new uses of matches(). We are not taking any more of those; please
> convert to strcmp. The rest looks fine to me.
>
will do, thanks David