diff options
| author | Yunsheng Lin <linyunsheng@huawei.com> | 2019-05-06 05:48:49 +0300 | 
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2019-05-07 20:37:14 +0300 | 
| commit | ce74370c2ce9a90c16167131f837e14b5e3c57ed (patch) | |
| tree | e7712ff507a9cbdc2fbca535b15d513a0ffdef0b /lib/mpi/mpi-cmp.c | |
| parent | aa9d22dd456eb255db2a4a5b214ec2e243dda4c8 (diff) | |
| download | linux-ce74370c2ce9a90c16167131f837e14b5e3c57ed.tar.xz | |
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>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions
