diff options
author | Vivien Didelot <[email protected]> | 2015-09-04 14:34:12 -0400 |
---|---|---|
committer | David S. Miller <[email protected]> | 2015-09-15 12:04:21 -0700 |
commit | 7fb5e755153d7b40dd321f7c766dbd4e76c66711 (patch) | |
tree | e3e8914a2e82c2f16b3e147def3190e5074aa11d /lib/mpi/mpiutil.c | |
parent | 37705b731500b0ce9fb4ead21a7cdfc241a401fe (diff) |
net: dsa: mv88e6xxx: rework ATU Flush operation
These Marvell switches have 4 operations to flush or (re)move, all or
only non-static MAC addresses, from the entire set of databases or from
just a particular one.
The value of the EntryState bits will determine if the operation is
either a Flush (0x0) or a Move (0xF).
When moving entries from one port to another, entries will be removed if
the destination port is 0xF.
This patch renames these operations for consistency, add a new generic
_mv88e6xxx_atu_flush_move function, and change _mv88e6xxx_flush_fid to
use it.
Signed-off-by: Vivien Didelot <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions