Re: [PATCH net-next v5 16/21] switchdev: add new switchdev_port_bridge_getlink
From: Jiri Pirko <jiri@resnulli.us>
Date: 2015-05-07 15:48:38
From: Jiri Pirko <jiri@resnulli.us>
Date: 2015-05-07 15:48:38
Tue, May 05, 2015 at 07:34:52PM CEST, sfeldma@gmail.com wrote:
From: Scott Feldman <redacted> 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 <redacted>
Acked-by: Jiri Pirko <jiri@resnulli.us>