[PATCH net 2/6] net: hns: fixes the hw interrupt bug in using napi

2016-03-03 Thread Daode Huang
In V1 chip, 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 V2 chip hw fixes this bug, and will pend irq itself to do this. So, for V2 chip, we set ring_data->fini_process to NULL. Signed-off-by: Daode Huang

[PATCH net 2/6] net: hns: fixes the hw interrupt bug in using napi

2016-03-03 Thread Daode Huang
In V1 chip, 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 V2 chip hw fixes this bug, and will pend irq itself to do this. So, for V2 chip, we set ring_data->fini_process to NULL. Signed-off-by: Daode Huang