Re: [PATCH RFC 2/2] net: dsa: bcm_sf2: implement HW bridging operations
From: Andrew Lunn <andrew@lunn.ch>
Date: 2015-02-20 03:55:32
From: Andrew Lunn <andrew@lunn.ch>
Date: 2015-02-20 03:55:32
- we keep the SW bridge fdb in sync with the HW fdb, which leads to:
I don't think this is going to be easy or efficient. At least for the
88e6060 there is no interrupt when there is a change to the
database. So we are going to have to poll. And the only way to figure
out if anything has changed is to read it all out and compare against
the last read.
I suppose we only need to update the SW fdb shortly after the SW
bridge had to perform a flood because it had no entry for the
destination MAC, or after an entry sync'ed into the SW fdb reaches
timeout age.
Andrew