summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
3bc12e7)
Fix structure layouts to ensure same size on 32-bit and 64-bit architectures.
This permits 32-bit userspace apps on a 64-bit kernel.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
-#define IB_USER_CM_ABI_VERSION 3
+#define IB_USER_CM_ABI_VERSION 4
enum {
IB_USER_CM_CMD_CREATE_ID,
enum {
IB_USER_CM_CMD_CREATE_ID,
struct ib_ucm_destroy_id {
__u64 response;
__u32 id;
struct ib_ucm_destroy_id {
__u64 response;
__u32 id;
};
struct ib_ucm_destroy_id_resp {
};
struct ib_ucm_destroy_id_resp {
struct ib_ucm_attr_id {
__u64 response;
__u32 id;
struct ib_ucm_attr_id {
__u64 response;
__u32 id;
};
struct ib_ucm_attr_id_resp {
};
struct ib_ucm_attr_id_resp {
__be64 service_id;
__be64 service_mask;
__u32 id;
__be64 service_id;
__be64 service_mask;
__u32 id;
};
struct ib_ucm_establish {
};
struct ib_ucm_establish {
__u8 rnr_retry_count;
__u8 max_cm_retries;
__u8 srq;
__u8 rnr_retry_count;
__u8 max_cm_retries;
__u8 srq;
__u8 flow_control;
__u8 rnr_retry_count;
__u8 srq;
__u8 flow_control;
__u8 rnr_retry_count;
__u8 srq;
__u64 data;
__u8 info_len;
__u8 data_len;
__u64 data;
__u8 info_len;
__u8 data_len;
__u16 pkey;
__u8 len;
__u8 max_cm_retries;
__u16 pkey;
__u8 len;
__u8 max_cm_retries;
};
struct ib_ucm_sidr_rep {
};
struct ib_ucm_sidr_rep {
__u64 data;
__u8 info_len;
__u8 data_len;
__u64 data;
__u8 info_len;
__u8 data_len;
};
/*
* event notification ABI structures.
};
/*
* event notification ABI structures.
__u64 info;
__u8 data_len;
__u8 info_len;
__u64 info;
__u8 data_len;
__u8 info_len;
};
struct ib_ucm_req_event_resp {
};
struct ib_ucm_req_event_resp {
__u8 rnr_retry_count;
__u8 srq;
__u8 port;
__u8 rnr_retry_count;
__u8 srq;
__u8 port;
};
struct ib_ucm_rep_event_resp {
};
struct ib_ucm_rep_event_resp {
__u8 flow_control;
__u8 rnr_retry_count;
__u8 srq;
__u8 flow_control;
__u8 rnr_retry_count;
__u8 srq;
};
struct ib_ucm_rej_event_resp {
};
struct ib_ucm_rej_event_resp {
__u32 id;
__u32 event;
__u32 present;
__u32 id;
__u32 event;
__u32 present;
union {
struct ib_ucm_req_event_resp req_resp;
struct ib_ucm_rep_event_resp rep_resp;
union {
struct ib_ucm_req_event_resp req_resp;
struct ib_ucm_rep_event_resp rep_resp;