On Thu, Feb 5, 2015 at 1:23 PM, David Miller [off-list ref] wrote:
From: Scott Feldman <redacted>
Date: Wed, 4 Feb 2015 23:13:07 -0800
quoted
I'd like to see this patch reverted so we can have a more
comprehensive discussion/solution. With this patch applied, the only
user (rocker) of NETDEV_SWITCH_FDB_ADD is broken. So please undo this
patch so rocker isn't broken and let's work on a knob to suit both
modes: 1) let bridge manage aging, 2) let device manage aging.
Patch reverted.
I now see why rocker is broken. Sorry for the churn.
As Scott/Roopa suggested, a new flag IFLA_BRPORT_AGING_SYNC (similar
to IFLA_BRPORT_LEARNING_SYNC) can be defined and stored in
net_bridge_port->flags when user configures it. Some thing like below.
$ sudo bridge link set dev swp1 ageing_sync on self
And bridge ageing logic does not age externally learnt entry *only* if
IFLA_BRPORT_AGING_SYNC flag on fdb entry's net_bridge_port is set.
This ensures that existing behavior continues to be default behavior
and is of no harm to rocker.
Please let me know your comments on above approach.
--
Regards,
Siva Mannem.