Commit 38b48808 authored by Jason Gunthorpe's avatar Jason Gunthorpe

RDMA: Remove minor pahole differences between 32/64

To help automatic detection we want pahole to report the same struct
layouts for 32 and 64 bit compiles. These cases are all implicit
padding added at the end of embedded structs as part of a union.

The added reserved fields have no impact on the ABI.
Signed-off-by: default avatarJason Gunthorpe <jgg@mellanox.com>
parent f64705b8
...@@ -78,12 +78,14 @@ struct rxe_send_wr { ...@@ -78,12 +78,14 @@ struct rxe_send_wr {
struct { struct {
__u64 remote_addr; __u64 remote_addr;
__u32 rkey; __u32 rkey;
__u32 reserved;
} rdma; } rdma;
struct { struct {
__u64 remote_addr; __u64 remote_addr;
__u64 compare_add; __u64 compare_add;
__u64 swap; __u64 swap;
__u32 rkey; __u32 rkey;
__u32 reserved;
} atomic; } atomic;
struct { struct {
__u32 remote_qpn; __u32 remote_qpn;
......
...@@ -262,6 +262,7 @@ struct pvrdma_sq_wqe_hdr { ...@@ -262,6 +262,7 @@ struct pvrdma_sq_wqe_hdr {
__u32 length; __u32 length;
__u32 access_flags; __u32 access_flags;
__u32 rkey; __u32 rkey;
__u32 reserved;
} fast_reg; } fast_reg;
struct { struct {
__u32 remote_qpn; __u32 remote_qpn;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment