summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorLang Cheng <chenglang@huawei.com>2021-02-07 16:55:41 +0800
committerJason Gunthorpe <jgg@nvidia.com>2021-02-16 14:42:58 -0400
commit563aeb226630610707980e8abe20af1e6f410ce4 (patch)
tree9fde54d3811d85b46e04eaf60ded7f2df09dfc83 /tools/perf/scripts/python/exported-sql-viewer.py
parent8f86e2eadac968200a6ab1d7074fc0f5cbc1e075 (diff)
RDMA/hns: Remove redundant operations on CMDQ
CMDQ works serially, after each successful transmission, the head and tail pointers will be equal, so there is no need to check whether the queue is full. At the same time, since the descriptor of each transmission is new, there is no need to perform a cleanup operation. Then, the field named next_to_clean in structure hns_roce_v2_cmq_ring is redundant. Fixes: a04ff739f2a9 ("RDMA/hns: Add command queue support for hip08 RoCE driver") Link: https://lore.kernel.org/r/1612688143-28226-4-git-send-email-liweihang@huawei.com Signed-off-by: Lang Cheng <chenglang@huawei.com> Signed-off-by: Weihang Li <liweihang@huawei.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions