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

Add EHT source set and set-entry create, delete and lookup functions.
These allow to manipulate source sets which contain their own host sets
with entries which joined that S,G. We're limiting the maximum number of
tracked S,G entries per host to PG_SRC_ENT_LIMIT (currently 32) which is
the current maximum of S,G entries for a group. There's a per-set timer
which will be used to destroy the whole set later.

Signed-off-by: Nikolay Aleksandrov <nikolay@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/bridge/br_multicast.c
net/bridge/br_multicast_eht.c
net/bridge/br_private_mcast_eht.h