]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita1962e575c3376d731d5c40c2bc8cd8776600ca6
treec6cb1651e1a85504d663ff1e53a314d6e466b10e
parent5e77a849e52fde8581212068ca9485a676b0f90b
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