aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMichal Kubeček <[email protected]>2012-04-17 02:02:06 +0000
committerDavid S. Miller <[email protected]>2012-04-19 15:25:02 -0400
commitf31c7937c2548bfa73da5074808c29617a932e29 (patch)
tree97a9a4fbe102eb894e6dd1a15f65e87852d8ae09 /tools/perf/scripts/python
parentbf1ac5ca6f0dede02635588704d216da474b4baa (diff)
bonding: start slaves with link down for ARP monitor
Initialize slave device link state as down if ARP monitor is active and net_carrier_ok() returns zero. Also shift initial value of its last_arp_tx so that it doesn't immediately cause fake detection of "up" state. When ARP monitoring is used, initializing the slave device with up link state can cause ARP monitor to detect link failure before the device is really up (with igb driver, this can take more than two seconds). Signed-off-by: Michal Kubecek <[email protected]> Signed-off-by: Jay Vosburgh <[email protected]> Signed-off-by: Flavio Leitner <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions