diff options
| author | lipeng <[email protected]> | 2017-04-01 11:03:36 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-04-03 21:48:43 +0000 |
| commit | 36eedfde1a3602e8054c16bc295c47764647a208 (patch) | |
| tree | bbaf7cd85bbd0abfe37a6abff75715753ad5b6ee /lib/memory-notifier-error-inject.c | |
| parent | net: hns: bug fix of ethtool show the speed (diff) | |
| download | kernel-36eedfde1a3602e8054c16bc295c47764647a208.tar.gz kernel-36eedfde1a3602e8054c16bc295c47764647a208.zip | |
net: hns: Optimize hns_nic_common_poll for better performance
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 <[email protected]>
reviewed-by: Yisen Zhuang <[email protected]>
Signed-off-by: Salil Mehta <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions
