> struct c4iw_create_raw_qp_req {
>          struct ibv_create_qp ibv_req;
>          __u32 port;
>          __u32 vlan_pri;
>          __u32 nfids;
> };

struct ibv_create_qp contains a u64, which will force the size of the structure 
to 64-bit.  You should to add an additional 32-bits of padding.

> struct ibv_create_qp {
>          __u32 command;
>          __u16 in_words;
>          __u16 out_words;
>          __u64 response;
>          __u64 user_handle;

these last two fields force the alignment

- Sean

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to