diff options
author | Lang Cheng <chenglang@huawei.com> | 2021-02-07 16:55:42 +0800 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2021-02-16 14:42:58 -0400 |
commit | 292b3352bd5bd0abeba3e8e7b5ae5acb8f7df4e0 (patch) | |
tree | 3b72ac35a5528943f156c6500add7c3e577a67a6 /lib/kunit | |
parent | 563aeb226630610707980e8abe20af1e6f410ce4 (diff) |
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 'lib/kunit')
0 files changed, 0 insertions, 0 deletions