[PATCH V4 net-next 06/18] net: hns: Optimize hns_nic_common_poll for better performance

2017-04-01 Thread Salil Mehta
From: lipeng After polling less than buget packages, we need check again. If there are still some packages, we call napi_schedule add softirq queue, this is not better way. So we return buget value instead of napi_schedule. Signed-off-by: lipeng

[PATCH V4 net-next 06/18] net: hns: Optimize hns_nic_common_poll for better performance

2017-04-01 Thread Salil Mehta
From: lipeng After polling less than buget packages, we need check again. If there are still some packages, we call napi_schedule add softirq queue, this is not better way. So we return buget value instead of napi_schedule. Signed-off-by: lipeng reviewed-by: Yisen Zhuang Signed-off-by: Salil