BR_LEARNING_SYNC
br_port->flags = BR_LEARNING | BR_FLOOD | BR_LEARNING_SYNC |
bridge_port->flags = BR_LEARNING | BR_FLOOD | BR_LEARNING_SYNC |
if (!(priv->brport_hw_features & BR_LEARNING_SYNC)) {
if (enable == !!(priv->brport_features & BR_LEARNING_SYNC))
priv->brport_features |= BR_LEARNING_SYNC;
priv->brport_features ^= BR_LEARNING_SYNC;
priv->brport_hw_features |= BR_LEARNING_SYNC;
priv->brport_hw_features &= ~BR_LEARNING_SYNC;
if (priv->brport_features & BR_LEARNING_SYNC) {
if (priv->brport_hw_features & BR_LEARNING_SYNC) {
priv->brport_features ^= BR_LEARNING_SYNC;
priv->brport_features ^= BR_LEARNING_SYNC;
priv->brport_features ^= BR_LEARNING_SYNC;
!(priv->brport_features & BR_LEARNING_SYNC));
if (priv->brport_features & BR_LEARNING_SYNC) {
if (priv->brport_features & BR_LEARNING_SYNC)
(priv->brport_features & BR_LEARNING_SYNC) &&
IFLA_BRPORT_LEARNING_SYNC, BR_LEARNING_SYNC) ||