diff options
author | Maor Gottlieb <[email protected]> | 2020-04-30 22:21:36 +0300 |
---|---|---|
committer | Saeed Mahameed <[email protected]> | 2020-05-01 12:15:37 -0700 |
commit | 29d5bbccb3a171eb146c94efeb3d752fad3ddf7d (patch) | |
tree | 1d2db7995f0a56250d659289aaa452f2510fa55e /include/linux/overflow.h | |
parent | c071d91d2a89b0dac1354673810b36453aed62c4 (diff) |
bonding: Add helper function to get the xmit slave in rr mode
Add helper function to get the xmit slave when bond is in round
robin mode. Change bond_xmit_slave_id to bond_get_slave_by_id, then
the logic for find the next slave for transmit could be used
both by the xmit flow and the .ndo to get the xmit slave.
Signed-off-by: Maor Gottlieb <[email protected]>
Reviewed-by: Jiri Pirko <[email protected]>
Reviewed-by: Jay Vosburgh <[email protected]>
Acked-by: David S. Miller <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'include/linux/overflow.h')
0 files changed, 0 insertions, 0 deletions