]> 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)
commit1c36c78ac7c9baeb2fc16c592d7f81a39ec737e2
treebb83ca18740a33c083b432d8af6ef993c1a384ee
parent2165dbe438312b767101ac3d8b17536857534ed5
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]