diff options
| author | Daode Huang <[email protected]> | 2016-09-29 18:09:10 +0100 |
|---|---|---|
| committer | Doug Ledford <[email protected]> | 2016-10-03 11:40:57 -0400 |
| commit | 6771cbf9446121cb7b64810395391712a03b899d (patch) | |
| tree | 0acca7d166363fcc732a633e6bbab09ca1bca6e9 /net/lapb/lapb_timer.c | |
| parent | 0e97cd4e4632e385b3bf7edcf0c803de0487212a (diff) | |
net: hns: bug fix about setting coalsecs-usecs to 0
When set rx/tx coalesce usecs to 0, the interrupt coalesce will be
disabled, but there is a interrupt rate limit which set to 1us, it
will cause no interrupt occurs. This patch disable interrupt limit
when sets coalsecs usecs to 0, and restores it to 1 in other case.
Signed-off-by: Daode Huang <[email protected]>
Reviewed-by: Yisen Zhuang <[email protected]>
Signed-off-by: Salil Mehta <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions