diff options
author | Jakub Kicinski <[email protected]> | 2023-06-06 18:08:25 -0700 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-06-07 21:53:11 -0700 |
commit | 649c3fed36730a53447d8f479c14e431363563b6 (patch) | |
tree | a408a7c5b0572856b576588636bcb9e0413b7c43 /tools/perf/scripts/python | |
parent | c9d99cfa66dfff4350e064adb98367cb922accf8 (diff) |
eth: bnxt: fix the wake condition
The down condition should be the negation of the wake condition,
IOW when I moved it from:
if (cond && wake())
to
if (__netif_txq_completed_wake(cond))
Cond should have been negated. Flip it now.
This bug leads to occasional crashes with netconsole.
It may also lead to queue never waking up in case BQL is not enabled.
Reported-by: David Wei <[email protected]>
Fixes: 08a096780d92 ("bnxt: use new queue try_stop/try_wake macros")
Reviewed-by: Michael Chan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions