]> git.karo-electronics.de Git - linux-beck.git/commit
net: hns: add fini_process for v2 napi process
authorDaode Huang <huangdaode@hisilicon.com>
Thu, 29 Sep 2016 17:09:11 +0000 (18:09 +0100)
committerDoug Ledford <dledford@redhat.com>
Mon, 3 Oct 2016 15:40:57 +0000 (11:40 -0400)
commitcee5add45853ed9e6bbb6ad203602be6c42d3e16
treeee7adffeb8081270a5b29afdbe300ff4d546b9f8
parent6771cbf9446121cb7b64810395391712a03b899d
net: hns: add fini_process for v2 napi process

This patch adds fini_process for v2, it handles the packets recevied
by the hardware in the napi porcess. With this patch, the hardware irq
numbers will drop 50% per sec.

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>
drivers/net/ethernet/hisilicon/hns/hns_enet.c