diff options
author | Maor Gottlieb <maorg@mellanox.com> | 2020-04-30 22:21:35 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2020-05-01 22:15:37 +0300 |
commit | c071d91d2a89b0dac1354673810b36453aed62c4 (patch) | |
tree | cd11ee303e9872956396eb24e3cb1884cef85ba8 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 34b37e204dfc8b20a09bb7b7f4c5e970c87420dd (diff) | |
download | linux-c071d91d2a89b0dac1354673810b36453aed62c4.tar.xz |
bonding: Add helper function to get the xmit slave based on hash
Both xor and 802.3ad modes use bond_xmit_hash to get the xmit slave.
Export the logic to helper function so it could be used in the
following patches by the .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 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions