mlxsw: spectrum_switchdev: Add a ports bitmap to the mid db
authorNogah Frankel <nogahf@mellanox.com>
Wed, 20 Sep 2017 14:15:02 +0000 (16:15 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Sep 2017 01:03:12 +0000 (18:03 -0700)
commit4cdc35e4ebf2e6b1cf4fe028eb9e711723f9199a
tree8bed300227f95de0a2c897c5529fa9212e25225d
parentdff37b58ca53b1978e02edf6f8c1dd681799342b
mlxsw: spectrum_switchdev: Add a ports bitmap to the mid db

Add a bitmap of ports to the mid struct to hold the ports that are
registered to this mid.

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>
drivers/net/ethernet/mellanox/mlxsw/spectrum.h
drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c