> I've seen use of this use of "data[0]":
    > include/rdma/ib_user_verbs.h:   __u64 driver_data[0];
    > 
    > isn't that for the same purpose?
    > Apologies if I'm mixing things up...

The driver_data[] in ib_user_verbs.h is really there to give a hint
that extra device-dependent data could follow.  Reserved members of
structs are used to pad it up to a 64-bit boundary.

I'm not sure if __u64 driver_data[0]; forces alignment to an 8-byte
boundary on i386... does it?

 - R.
_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to