diff options
| author | Michael Chan <[email protected]> | 2017-11-03 07:32:39 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-11-03 12:33:31 +0000 |
| commit | b153cbc507946f52d5aa687fd64f45d82cb36a3b (patch) | |
| tree | eb6905bbf94ebf3e9f9fe79d8c199ca73d9b3a11 /lib/dynamic_queue_limits.c | |
| parent | bnxt_en: fix typo in bnxt_set_coalesce (diff) | |
| download | kernel-b153cbc507946f52d5aa687fd64f45d82cb36a3b.tar.gz kernel-b153cbc507946f52d5aa687fd64f45d82cb36a3b.zip | |
bnxt_en: Fix IRQ coalescing regression.
Recent IRQ coalescing clean up has removed a guard-rail for the max DMA
buffer coalescing value. This is a 6-bit value and must not be 0. We
already have a check for 0 but 64 is equivalent to 0 and will cause
non-stop interrupts. Fix it by adding the proper check.
Fixes: f8503969d27b ("bnxt_en: Refactor and simplify coalescing code.")
Reported-by: Andy Gospodarek <[email protected]>
Signed-off-by: Michael Chan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/dynamic_queue_limits.c')
0 files changed, 0 insertions, 0 deletions
