aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorJianhua Xie <[email protected]>2014-11-19 16:48:58 +0800
committerDavid S. Miller <[email protected]>2014-11-19 19:10:16 -0500
commitcb8dda90c28e2a13a007ef675a25db6a79991630 (patch)
tree120f279fb6d84f807dcfeb3fb7b829e14cf1e590 /tools/perf/scripts/python/event_analyzing_sample.py
parentdaaf427c6ab392bedcd018e326b2ffa1e1110cd6 (diff)
bonding: change AD_LINK_SPEED_BITMASK to enum to suport more speed
Port Key was determined as 16 bits according to the link speed, duplex and user key (which is yet not supported). In the old speed field, 5 bits are for speed [1|10|100|1000|10000]Mbps as below: -------------------------------------------------------------- Port key :| User key | Speed | Duplex| -------------------------------------------------------------- 16 6 1 0 This patch keeps the old layout, but changes AD_LINK_SPEED_BITMASK from bit type to an enum type. In this way, the speed field can expand speed type from 5 to 32. CC: Jay Vosburgh <[email protected]> CC: Veaceslav Falico <[email protected]> CC: Andy Gospodarek <[email protected]> CC: David S. Miller <[email protected]> Signed-off-by: Jianhua Xie <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions