diff options
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2015-08-10 16:09:47 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-08-11 22:03:18 +0300 |
commit | 194fea7bd8786e2b9332df3c6b21b53f15e5fa5a (patch) | |
tree | a6775720e871625e5f5cefa6bd069e7b815ee30f /include/net/dsa.h | |
parent | a08df0f0f745400249b0a95c704e569a4dd84fd7 (diff) | |
download | linux-194fea7bd8786e2b9332df3c6b21b53f15e5fa5a.tar.xz |
net: dsa: mv88e6xxx: extend fid mask
The driver currently manages one FID per port (or bridge group), with a
mask of DSA_MAX_PORTS bits, where 0 means that the FID is in use.
The Marvell 88E6xxx switches support up to 4094 FIDs (from 1 to 0xfff;
FID 0 means that multiple address databases are not being used).
This patch changes the fid_mask for an fid_bitmap of 4096 bits.
>From now on, FIDs 1 to num_ports are reserved for non-bridged ports and
bridge groups (a bridge group gets the FID of its first member). The
remaining bits will be reserved for VLAN entries.
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/dsa.h')
0 files changed, 0 insertions, 0 deletions