From: Vivien Didelot Date: Thu, 6 Aug 2015 05:44:05 +0000 (-0400) Subject: net: dsa: mv88e6xxx: extend fid mask X-Git-Tag: omap-for-v4.3/fixes-rc1~110^2~212^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=368b1d9c10acf99a855961ae6a1430591ee55f03;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed