summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/hisilicon/hns/hns_enet.c
diff options
context:
space:
mode:
authorDaode Huang <huangdaode@hisilicon.com>2016-09-29 18:09:10 +0100
committerDoug Ledford <dledford@redhat.com>2016-10-03 11:40:57 -0400
commit6771cbf9446121cb7b64810395391712a03b899d (patch)
tree0acca7d166363fcc732a633e6bbab09ca1bca6e9 /drivers/net/ethernet/hisilicon/hns/hns_enet.c
parent0e97cd4e4632e385b3bf7edcf0c803de0487212a (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 <huangdaode@hisilicon.com> Reviewed-by: Yisen Zhuang <yisen.zhuang@huawei.com> Signed-off-by: Salil Mehta <salil.mehta@huawei.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/net/ethernet/hisilicon/hns/hns_enet.c')
0 files changed, 0 insertions, 0 deletions