commit | aeda9bf87a4573906d6dff5fcf7a3df0f41529da | [log] [tgz] |
---|---|---|
author | Yunsheng Lin <linyunsheng@huawei.com> | Wed Sep 16 17:33:45 2020 +0800 |
committer | David S. Miller <davem@davemloft.net> | Thu Sep 17 16:14:28 2020 -0700 |
tree | fc9bef1ec1cb13dea65a97593b2d55b13f5aa012 | |
parent | b948577b984a01d24d401d2264efbccc7f0146c1 [diff] |
net: hns3: batch the page reference count updates Batch the page reference count updates instead of doing them one at a time. By doing this we can improve the overall receive performance by avoid some atomic increment operations when the rx page is reused. Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com> Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>