Skip to content

Commit 08f876a

Browse files
idoschdavem330
authored andcommitted
vxlan: Enable MDB support
Now that the VXLAN MDB control and data paths are in place we can expose the VXLAN MDB functionality to user space. Set the VXLAN MDB net device operations to the appropriate functions, thereby allowing the rtnetlink code to reach the VXLAN driver. Signed-off-by: Ido Schimmel <[email protected]> Reviewed-by: Nikolay Aleksandrov <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 0f83e69 commit 08f876a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/net/vxlan/vxlan_core.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3083,6 +3083,9 @@ static const struct net_device_ops vxlan_netdev_ether_ops = {
30833083
.ndo_fdb_del = vxlan_fdb_delete,
30843084
.ndo_fdb_dump = vxlan_fdb_dump,
30853085
.ndo_fdb_get = vxlan_fdb_get,
3086+
.ndo_mdb_add = vxlan_mdb_add,
3087+
.ndo_mdb_del = vxlan_mdb_del,
3088+
.ndo_mdb_dump = vxlan_mdb_dump,
30863089
.ndo_fill_metadata_dst = vxlan_fill_metadata_dst,
30873090
};
30883091

0 commit comments

Comments
 (0)