]> git.baikalelectronics.ru Git - kernel.git/commit
bnxt: apply computed clamp value for coalece parameter
authorJonathan Lemon <jonathan.lemon@gmail.com>
Tue, 10 Dec 2019 16:39:46 +0000 (08:39 -0800)
committerJakub Kicinski <jakub.kicinski@netronome.com>
Fri, 13 Dec 2019 23:32:44 +0000 (15:32 -0800)
commit6adc4601c2a1ac87b4ab8ed0cb55db6efd0264e8
tree4356bcf6a310423f089e110c884d562786e23404
parent692b93af71fb6795887affd6a281e4f91407489f
bnxt: apply computed clamp value for coalece parameter

After executing "ethtool -C eth0 rx-usecs-irq 0", the box becomes
unresponsive, likely due to interrupt livelock.  It appears that
a minimum clamp value for the irq timer is computed, but is never
applied.

Fix by applying the corrected clamp value.

Fixes: 74706afa712d ("bnxt_en: Update interrupt coalescing logic.")
Signed-off-by: Jonathan Lemon <jonathan.lemon@gmail.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
drivers/net/ethernet/broadcom/bnxt/bnxt.c