diff options
author | Nogah Frankel <nogahf@mellanox.com> | 2017-09-20 16:15:06 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-09-20 18:03:12 -0700 |
commit | 73b433e803d2a3547ee38d1fb2a0bc6f3b03a6d9 (patch) | |
tree | 6d8c5b67750ab6867b7f2a2b74f25845a9ff2cd6 /Documentation | |
parent | 5f9abc597cdd7a63433b7ebfcf26ee2746a76638 (diff) | |
download | linux-73b433e803d2a3547ee38d1fb2a0bc6f3b03a6d9.tar.bz2 |
mlxsw: spectrum_switchdev: Attach mid id allocation to HW write
Attach mid getting and releasing mid id to the HW write / remove, and add
a flag to indicate whether the mid is in the HW. It is done because mid id
is also HW index to this mid.
This change allows adding in the following patches the ability to have a
mid in the mdb cache but not in the HW. It will be useful for being able
to disable the multicast.
It means that the mdb is being written / delete to the HW in the mid
allocation / removing function, not after them.
Signed-off-by: Nogah Frankel <nogahf@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions