Re: [PATCH net-next 4/4] net: dsa: mv88e6xxx: refactor FDB routines

2015-08-04 Thread Andrew Lunn
On Tue, Aug 04, 2015 at 02:33:38AM -0400, Vivien Didelot wrote: > Refactor mv88e6xxx_port_fdb_{add,del,getnext} to respect the new DSA > switch driver FDB access routines. > > The Marvell 88E6xxx switches support up to 4094 FIDs (from 1 to 0xfff; > FID 0 means that multiple address databases are n

[PATCH net-next 4/4] net: dsa: mv88e6xxx: refactor FDB routines

2015-08-03 Thread Vivien Didelot
Refactor mv88e6xxx_port_fdb_{add,del,getnext} to respect the new DSA switch driver FDB access routines. The Marvell 88E6xxx switches support up to 4094 FIDs (from 1 to 0xfff; FID 0 means that multiple address databases are not being used). So change the fid_mask for a fid_bitmap of 4096 bits. FID