diff options
author | Yunsheng Lin <linyunsheng@huawei.com> | 2019-05-06 10:48:42 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-05-07 10:37:13 -0700 |
commit | fb00331bb8db4a631b00d6582f94806eba7a4c7f (patch) | |
tree | adf2a7ea6f1ee1c111b2b31445afe5c9a6b4d2ff /drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c | |
parent | net: hns3: unify maybe_stop_tx for TSO and non-TSO case (diff) | |
download | linux-dev-fb00331bb8db4a631b00d6582f94806eba7a4c7f.tar.xz linux-dev-fb00331bb8db4a631b00d6582f94806eba7a4c7f.zip |
net: hns3: use napi_schedule_irqoff in hard interrupts handlers
napi_schedule_irqoff is introduced to be used from hard interrupts
handlers or when irqs are already masked, see:
https://lists.openwall.net/netdev/2014/10/29/2
So this patch replaces napi_schedule with napi_schedule_irqoff.
Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions