Commit 9447c946 authored by Antoine Kaufmann's avatar Antoine Kaufmann
Browse files

dist/common: fix alignment on peer struct members

Because dev/net_info are packed gcc does not seem to align them
properly.
parent 676bb13d
...@@ -66,8 +66,8 @@ struct Peer { ...@@ -66,8 +66,8 @@ struct Peer {
uint32_t cleanup_pos_reported; uint32_t cleanup_pos_reported;
struct SimbricksProtoNetDevIntro dev_intro; struct SimbricksProtoNetDevIntro dev_intro __attribute__ ((aligned (8)));
struct SimbricksProtoNetNetIntro net_intro; struct SimbricksProtoNetNetIntro net_intro __attribute__ ((aligned (8)));
const char *sock_path; const char *sock_path;
// opaque value, e.g. to be used by rdma proxy for memory region // opaque value, e.g. to be used by rdma proxy for memory region
......
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