bridge: add brport flags to dflt bridge_getlink
authorScott Feldman <sfeldma@gmail.com>
Fri, 28 Nov 2014 13:34:25 +0000 (14:34 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 3 Dec 2014 04:01:24 +0000 (20:01 -0800)
commit2c3c031c8f8930861815fa1685d7c5e8ccec047c
tree4c056c1c531e69f758bcf2c51d072f60ff01d2ab
parent345cd494a324c149ef7293f4bedf2d7131a6de7c
bridge: add brport flags to dflt bridge_getlink

To allow brport device to return current brport flags set on port.  Add
returned flags to nested IFLA_PROTINFO netlink msg built in dflt getlink.
With this change, netlink msg returned for bridge_getlink contains the port's
offloaded flag settings (the port's SELF settings).

Signed-off-by: Scott Feldman <sfeldma@gmail.com>
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Acked-by: Andy Gospodarek <gospo@cumulusnetworks.com>
Acked-by: Thomas Graf <tgraf@suug.ch>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_main.c
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
include/linux/rtnetlink.h
net/core/rtnetlink.c