From: Scott Feldman Date: Sun, 10 May 2015 16:48:04 +0000 (-0700) Subject: switchdev: add new switchdev_port_bridge_getlink X-Git-Tag: omap-for-v4.3/legacy-v2-signed~163^2~320^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8793d0a664a8;p=pandora-kernel.git 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 Acked-by: Jiri Pirko Signed-off-by: David S. Miller --- Reading git-diff-tree failed