diff options
| author | Nikolay Aleksandrov <nikolay@nvidia.com> | 2021-03-15 20:13:42 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2021-03-16 21:57:57 +0300 |
| commit | e09cf582059ef4c1e5c496d6494fe4e26482530f (patch) | |
| tree | 5056e1dd6420ad0f3381c7bcd73af225afc9037d /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 6aa2c371c729a3e3f8c7d4e08e0ff10e706b81d3 (diff) | |
| download | linux-e09cf582059ef4c1e5c496d6494fe4e26482530f.tar.xz | |
net: bridge: mcast: factor out common allow/block EHT handling
We hande EHT state change for ALLOW messages in INCLUDE mode and for
BLOCK messages in EXCLUDE mode similarly - create the new set entries
with the proper filter mode. We also handle EHT state change for ALLOW
messages in EXCLUDE mode and for BLOCK messages in INCLUDE mode in a
similar way - delete the common entries (current set and new set).
Factor out all the common code as follows:
- ALLOW/INCLUDE, BLOCK/EXCLUDE: call __eht_create_set_entries()
- ALLOW/EXCLUDE, BLOCK/INCLUDE: call __eht_del_common_set_entries()
The set entries creation can be reused in __eht_inc_exc() as well.
Signed-off-by: Nikolay Aleksandrov <nikolay@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
