bonding: fill-up LAG changeupper info struct and pass it along
authorJiri Pirko <jiri@mellanox.com>
Thu, 3 Dec 2015 11:12:14 +0000 (12:12 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Dec 2015 16:49:26 +0000 (11:49 -0500)
commit41f0b0496466d6e0e8245f94a79889234cde5e3c
treec6cb1651e1a85504d663ff1e53a314d6e466b10e
parent8fd728566a354f7bc9cb6e781f185b8c39cf505b
bonding: fill-up LAG changeupper info struct and pass it along

Initialize netdev_lag_upper_info structure by TX type according to
current bonding mode and pass it along via netdev_master_upper_dev_link.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c