diff options
author | 2020-04-30 22:21:35 +0300 | |
---|---|---|
committer | 2020-05-01 12:15:37 -0700 | |
commit | c071d91d2a89b0dac1354673810b36453aed62c4 (patch) | |
tree | cd11ee303e9872956396eb24e3cb1884cef85ba8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bonding/alb: Add helper functions to get the xmit slave (diff) | |
download | wireguard-linux-c071d91d2a89b0dac1354673810b36453aed62c4.tar.xz wireguard-linux-c071d91d2a89b0dac1354673810b36453aed62c4.zip |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions