rocker: add ndo_bridge_setlink/getlink support for learning policy
authorScott Feldman <sfeldma@gmail.com>
Fri, 28 Nov 2014 13:34:30 +0000 (14:34 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 3 Dec 2014 04:01:26 +0000 (20:01 -0800)
commit5111f80cbc759bed12941678bd029fca76512815
treeee636dc6018b81c8dfa20e15387a621bade24709
parentce76ca689dfe0bafba21b0dc002c7f92eb629fd8
rocker: add ndo_bridge_setlink/getlink support for learning policy

Rocker ports will use new "swdev" hwmode for bridge port offload policy.
Current supported policy settings are BR_LEARNING and BR_LEARNING_SYNC.
User can turn on/off device port FDB learning and syncing to bridge.

Signed-off-by: Scott Feldman <sfeldma@gmail.com>
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/rocker/rocker.c
drivers/net/ethernet/rocker/rocker.h