diff options
author | lipeng <lipeng321@huawei.com> | 2017-04-01 13:03:36 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-04-03 23:48:43 +0200 |
commit | 36eedfde1a3602e8054c16bc295c47764647a208 (patch) | |
tree | bbaf7cd85bbd0abfe37a6abff75715753ad5b6ee /kernel | |
parent | net: hns: bug fix of ethtool show the speed (diff) | |
download | linux-36eedfde1a3602e8054c16bc295c47764647a208.tar.xz linux-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 <lipeng321@huawei.com>
reviewed-by: Yisen Zhuang <yisen.zhuang@huawei.com>
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions