summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMahesh Bandewar <maheshb@google.com>2017-03-27 11:37:35 -0700
committerDavid S. Miller <davem@davemloft.net>2017-03-27 21:11:50 -0700
commitc4adfc822bf5d8e97660b6114b5a8892530ce8cb (patch)
tree4196bad4914a2b43bb9d319213c5de78f0a113bd /tools/perf/scripts/python/export-to-postgresql.py
parentde77ecd4ef02ca783f7762e04e92b3d0964be66b (diff)
bonding: make speed, duplex setting consistent with link state
bond_update_speed_duplex() retrieves speed and duplex settings. There is a possibility of failure in retrieving these values but caller has to assume it's always successful. This leads to having inconsistent slave link settings. If these (speed, duplex) values cannot be retrieved, then keeping the link UP causes problems. The updated bond_update_speed_duplex() returns 0 on success if it retrieves sane values for speed and duplex. On failure it returns 1 and marks the link down. Signed-off-by: Mahesh Bandewar <maheshb@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions