]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: vxlan interface handling changes
authorSharath Ramamurthy <sramamurthy@nvidia.com>
Tue, 27 Jul 2021 08:20:55 +0000 (13:50 +0530)
committerStephen Worley <sworley@nvidia.com>
Mon, 13 Feb 2023 23:12:04 +0000 (18:12 -0500)
commit96c25556a1c1660d2a4f852ff7ab14e698d4387c
treee1c1be513efbe0c24d290fbc16621db1a28be0d3
parent0adeb5fdf46fe23a85924d04f2f02ee0be3cce6a
zebra: vxlan interface handling changes

This change modifies zebra_vxlan_if_up/down/add/update and del functionality
to be per vni based.

zebra_vxlan_if_add/update/del and zebra_vxlan_if_up/down now handles
the vni operations based on vxlan device type (single or traditional vxlan device).

zebra_vxlan_if_vni_table_add_update
- This function handles the vlan-vni map update received from the netlink
  interface to single vxlan device vni_table hash table.

zebra_vxlan_if_vni_mcast_group_update
- This function handles the new multicast group update received from
  the netlink interface to single vxlan device vni_table hash table.

For traditional vxlan interfaces, the vni and mcast group
handling follows the traditional approach.

Signed-off-by: Sharath Ramamurthy <sramamurthy@nvidia.com>
zebra/zebra_vxlan.h
zebra/zebra_vxlan_if.c
zebra/zebra_vxlan_if.h