commit | 085b53c8beabf9b379762f73aaac562d6c428923 | [log] [tgz] |
---|---|---|
author | Nikolay Aleksandrov <nikolay@nvidia.com> | Tue Sep 22 10:30:22 2020 +0300 |
committer | David S. Miller <davem@davemloft.net> | Wed Sep 23 13:24:34 2020 -0700 |
tree | 47ff6948d5c9e1c54c3b8f469ae8c4435ceab483 | |
parent | 8f8cb77e0b22d9044d8d57ab3bb18ea8d0474752 [diff] |
net: bridge: mcast: add sg_port rhashtable To speedup S,G forward handling we need to be able to quickly find out if a port is a member of an S,G group. To do that add a global S,G port rhashtable with key: source addr, group addr, protocol, vid (all br_ip fields) and port pointer. Signed-off-by: Nikolay Aleksandrov <nikolay@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>