diff options
author | Ido Schimmel <idosch@nvidia.com> | 2023-12-17 10:32:36 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-12-20 11:27:20 +0000 |
commit | e37a11fca41864c9f652ff81296b82e6f65a4242 (patch) | |
tree | 55b397a396e3d3d3d83ff5a1c607447783760fe2 /net | |
parent | b6895d0ac9d7a3d29f9f238a2688b3b66da71692 (diff) |
bridge: add MDB state mask uAPI attribute
Currently, the 'state' field in 'struct br_port_msg' can be set to 1 if
the MDB entry is permanent or 0 if it is temporary. Additional states
might be added in the future.
In a similar fashion to 'NDA_NDM_STATE_MASK', add an MDB state mask uAPI
attribute that will allow the upcoming bulk deletion API to bulk delete
MDB entries with a certain state or any state.
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Petr Machata <petrm@nvidia.com>
Acked-by: Nikolay Aleksandrov <razor@blackwall.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions