Merge branch 'bridge-mcast-preparations-for-evpn-extensions'
authorJakub Kicinski <kuba@kernel.org>
Thu, 8 Dec 2022 04:05:53 +0000 (20:05 -0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 8 Dec 2022 04:05:54 +0000 (20:05 -0800)
commit5955a948ac3d4e78857726d5e8d4bffb3fc71d4f
treefc671a0d842ad12607d9bfa8f0b4749a87216234
parent16dc16d9f058dce7031ee8b850f10622b8b5fb14
parentf86c3e2c1b5ea5c959ef176541c2f831231fa631
Merge branch 'bridge-mcast-preparations-for-evpn-extensions'

Ido Schimmel says:

====================
bridge: mcast: Preparations for EVPN extensions

This patchset was split from [1] and includes non-functional changes
aimed at making it easier to add additional netlink attributes later on.
Future extensions are available here [2].

The idea behind these patches is to create an MDB configuration
structure into which netlink messages are parsed into. The structure is
then passed in the entry creation / deletion call chain instead of
passing the netlink attributes themselves. The same pattern is used by
other rtnetlink objects such as routes and nexthops.

I initially tried to extend the current code, but it proved to be too
difficult, which is why I decided to refactor it to the extensible and
familiar pattern used by other rtnetlink objects.

Tested using existing selftests and using a new selftest that will be
submitted together with the planned extensions.

[1] https://lore.kernel.org/netdev/20221018120420.561846-1-idosch@nvidia.com/
[2] https://github.com/idosch/linux/commits/submit/mdb_v1
====================

Link: https://lore.kernel.org/r/20221206105809.363767-1-idosch@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>