aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
authorJarod Wilson <[email protected]>2020-08-13 10:09:00 -0400
committerDavid S. Miller <[email protected]>2020-08-14 20:39:33 -0700
commit4ca0d9ac3fd8f9f90b72a15d8da2aca3ffb58418 (patch)
tree16d6448241f3ae317e330f58e9217b7cf3a9716f /scripts/gdb/linux/modules.py
parent10a3b7c1c35e061d426d1e6a0d0c9ef434bae143 (diff)
bonding: show saner speed for broadcast mode
Broadcast mode bonds transmit a copy of all traffic simultaneously out of all interfaces, so the "speed" of the bond isn't really the aggregate of all interfaces, but rather, the speed of the slowest active interface. Also, the type of the speed field is u32, not unsigned long, so adjust that accordingly, as required to make min() function here without complaining about mismatching types. Fixes: bb5b052f751b ("bond: add support to read speed and duplex via ethtool") CC: Jay Vosburgh <[email protected]> CC: Veaceslav Falico <[email protected]> CC: Andy Gospodarek <[email protected]> CC: "David S. Miller" <[email protected]> CC: [email protected] Acked-by: Jay Vosburgh <[email protected]> Signed-off-by: Jarod Wilson <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions