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)
commit4b34aa412c1213912608742b4d016f616b23d9e2
treec6855e04eb3a8b6dfc35c462aa412f015116e18d
parent1c3bae6e475fed5c570ac16fef2afe743c477886
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