aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorGrygorii Strashko <[email protected]>2017-11-30 18:21:17 -0600
committerDavid S. Miller <[email protected]>2017-12-01 16:36:32 -0500
commitb5d31f29402791d9d4fadddb2f2d507fefd95939 (patch)
treeda16a058b9449b8ea98202663e4b6c3d367dd500 /tools/perf/scripts/python/export-to-sqlite.py
parentd0aef029b53c70d6261ef9d4bd827c861d51a8ef (diff)
net: ethernet: ti: ale: optimize ale entry mask bits configuartion
The ale->params.ale_ports parameter can be used to deriver values for all ale entry mask bits: port_mask_bits, port_mask_bits, port_num_bits. Hence, calculate above values and drop all hardcoded values. For port_num_bits calcualtion use order_base_2() API. Signed-off-by: Grygorii Strashko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions