History

RDMA/hns: Fix cqn type and init resp

This patch changes the type of cqn from u32 to u64 to keep userspace and kernel consistent, initializes resp both for cq and qp to zeros, and also changes the condition judgment of outlen considering future caps extension.

Yixian Liu committed 8 years ago

Commit 7b482211 parent e41a7c43 files · +12 −14Browse files

Showing the changes to include/uapi (1 of 3 files). Show all

Unified · Split

include/uapi/rdma/hns-abi.h+1−2
@@ -42,8 +42,7 @@ struct hns_roce_ib_create_cq { · 41 unmodified lines
42};42};
43 43
44struct hns_roce_ib_create_cq_resp {44struct hns_roce_ib_create_cq_resp {
45 __u32 cqn;45 __u64 cqn; /* Only 32 bits used, 64 for compat */
46 __u32 reserved;
47 __u64 cap_flags;46 __u64 cap_flags;
48};47};
49 48

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t