]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns: optimizate irq proccess for HNS V2
authorSheng Li <lisheng011@huawei.com>
Thu, 24 Mar 2016 11:08:04 +0000 (19:08 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 Mar 2016 18:33:07 +0000 (14:33 -0400)
commit33e1af3da157e3ca566841e3a54d10bcf1034371
treec6855e04eb3a8b6dfc35c462aa412f015116e18d
parentf5ba371200095ded8923e6c33af67c885c123d65
net: hns: optimizate irq proccess for HNS V2

In hns V1, common_poll should check and clean fbd pkts, because it
can not pend irq to clean them if there is no new pkt comes in.
But hns V2 hw fixes this bug, and will pend irq itself to do this.
So, for hns V2, we set ring_data->fini_process to NULL.

Signed-off-by: Sheng Li <lisheng011@huawei.com>
Signed-off-by: Yisen Zhuang <Yisen.Zhuang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns/hns_enet.c