]> git.baikalelectronics.ru Git - kernel.git/commit
net: bridge: multicast: add EHT host handling functions
authorNikolay Aleksandrov <nikolay@nvidia.com>
Wed, 20 Jan 2021 14:51:55 +0000 (16:51 +0200)
committerJakub Kicinski <kuba@kernel.org>
Sat, 23 Jan 2021 03:39:56 +0000 (19:39 -0800)
commit722949a8df862543a1f857e30d380bb8b78ac890
treebb83ca18740a33c083b432d8af6ef993c1a384ee
parent56d4a6516165c0a5e6176d5ca53bf9f7292e8bca
net: bridge: multicast: add EHT host handling functions

Add functions to create, destroy and lookup an EHT host. These are
per-host entries contained in the eht_host_tree in net_bridge_port_group
which are used to store a list of all sources (S,G) entries joined for that
group by each host, the host's current filter mode and total number of
joined entries.
No functional changes yet, these would be used in later patches.

Signed-off-by: Nikolay Aleksandrov <nikolay@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/bridge/Makefile
net/bridge/br_multicast.c
net/bridge/br_multicast_eht.c [new file with mode: 0644]