commit | ce74370c2ce9a90c16167131f837e14b5e3c57ed | [log] [tgz] |
---|---|---|
author | Yunsheng Lin <linyunsheng@huawei.com> | Mon May 06 10:48:49 2019 +0800 |
committer | David S. Miller <davem@davemloft.net> | Tue May 07 10:37:14 2019 -0700 |
tree | e7712ff507a9cbdc2fbca535b15d513a0ffdef0b | |
parent | aa9d22dd456eb255db2a4a5b214ec2e243dda4c8 [diff] |
net: hns3: optimize the barrier using when cleaning TX BD Currently, a barrier is used when cleaning each TX BD, which may cause performance degradation. This patch optimizes it to use one barrier when cleaning TX BD each round. 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>