aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorSomnath Kotur <[email protected]>2017-10-13 11:38:00 +0530
committerDoug Ledford <[email protected]>2017-10-18 10:24:12 -0400
commita0ddc2ec8f2912a738165b0ce47b9d945a9e3709 (patch)
treea30c4e0df9e0420c6dcfcb805c790cad10698b1a /tools/perf/scripts/python/net_dropmonitor.py
parent6a28d5a92cdda1e290f333c95fc020d1b93a729c (diff)
bnxt_re: Fix incorrect usage of test_bit()
test_bit() takes a bit number while the 'flags' field in struct bnxt_qplib_rcfw was using actual BIT position converted values. Fix this by assigning bit numbers and use consistent APIs all the flag values. Also logging a message in case of failure. Thanks to Dan Carpenter for pointing this out. Suggested-by: Dan Carpenter <[email protected]> Signed-off-by: Somnath Kotur <[email protected]> Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions