summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorLang Cheng <chenglang@huawei.com>2021-02-07 11:55:42 +0300
committerJason Gunthorpe <jgg@nvidia.com>2021-02-16 21:42:58 +0300
commit292b3352bd5bd0abeba3e8e7b5ae5acb8f7df4e0 (patch)
tree3b72ac35a5528943f156c6500add7c3e577a67a6 /scripts/gdb/linux/utils.py
parent563aeb226630610707980e8abe20af1e6f410ce4 (diff)
downloadlinux-292b3352bd5bd0abeba3e8e7b5ae5acb8f7df4e0.tar.xz
RDMA/hns: Adjust fields and variables about CMDQ tail/head
The register 0x07014 is actually the head pointer of CMDQ, and 0x07010 means tail pointer. Current definitions are confusing, so rename them and related variables. The next_to_use of structure hns_roce_v2_cmq_ring has the same semantics as head, merge them into one member. The next_to_clean of structure hns_roce_v2_cmq_ring has the same semantics as tail. After deleting next_to_clean, tail should also be deleted. Link: https://lore.kernel.org/r/1612688143-28226-5-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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions