diff options
author | Ivan Vecera <ivecera@redhat.com> | 2016-09-01 11:28:59 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-09-01 09:57:40 -0700 |
commit | aabdd09d535073c35f746e46c3a5d3286088be3a (patch) | |
tree | eb59f19de673bae4e5a27d8f9842ea0418391e7c /drivers/hwmon/hwmon.c | |
parent | 561ed23331dfefea4c8eec616463ee4d0c8fa4b7 (diff) |
tg3: Fix for disallow tx coalescing time to be 0
The recent commit 087d7a8c9174 "tg3: Fix for diasllow rx coalescing
time to be 0" disallow to set Rx coalescing time to be 0 as this stops
generating interrupts for the incoming packets. I found the zero
Tx coalescing time stops generating interrupts for outgoing packets
as well and fires Tx watchdog later. To avoid this, don't allow to set
Tx coalescing time to 0 and also remove subsequent checks that become
senseless.
Cc: satish.baddipadige@broadcom.com
Cc: siva.kallam@broadcom.com
Cc: michael.chan@broadcom.com
Signed-off-by: Ivan Vecera <ivecera@redhat.com>
Acked-by: Siva Reddy Kallam <siva.kallam@broadcom.com>
Acked-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/hwmon/hwmon.c')
0 files changed, 0 insertions, 0 deletions