aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/bonding.h
diff options
context:
space:
mode:
authorMaor Gottlieb <maorg@mellanox.com>2020-04-30 22:21:37 +0300
committerSaeed Mahameed <saeedm@mellanox.com>2020-05-01 12:15:38 -0700
commit5a19f1c1a2a0f7d5fb80b130ab4a15fa99e792d7 (patch)
tree26d93953cdcc93251a24e8b38ab504fd62823fcd /include/net/bonding.h
parentbonding: Add helper function to get the xmit slave in rr mode (diff)
downloadlinux-dev-5a19f1c1a2a0f7d5fb80b130ab4a15fa99e792d7.tar.xz
linux-dev-5a19f1c1a2a0f7d5fb80b130ab4a15fa99e792d7.zip
bonding: Add function to get the xmit slave in active-backup mode
Add helper function to get the xmit slave in active-backup mode. It's only one line function that return the curr_active_slave, but it will used both in the xmit flow and by the new .ndo to get the xmit slave. Signed-off-by: Maor Gottlieb <maorg@mellanox.com> Reviewed-by: Jiri Pirko <jiri@mellanox.com> Reviewed-by: Jay Vosburgh <jay.vosburgh@canonical.com> Acked-by: David S. Miller <davem@davemloft.net> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'include/net/bonding.h')
0 files changed, 0 insertions, 0 deletions