diff options
author | Scott Feldman <sfeldma@gmail.com> | 2015-05-10 09:48:04 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-05-12 18:43:55 -0400 |
commit | 8793d0a664a8a2c5e18e929c1f995c784c105705 (patch) | |
tree | 8342ff461ce9775a9c9bb7cd67124dae18703141 /drivers | |
parent | 8508025c598bdee33d9afa153e9c00c7771e7d63 (diff) |
switchdev: add new switchdev_port_bridge_getlink
Like bridge_setlink, add switchdev wrapper to handle bridge_getlink and
call into port driver to get port attrs. For now, only BR_LEARNING and
BR_LEARNING_SYNC are returned. To add more, we'll probably want to break
away from ndo_dflt_bridge_getlink() and build the netlink skb directly in
the switchdev code.
Signed-off-by: Scott Feldman <sfeldma@gmail.com>
Acked-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions