> +union mthca_doorbell {
 > +    __be64 val64;
 > +    __be32 val32[2];
 > +} __attribute__ ((aligned (sizeof(__be64))));

would we get the same effect from just adding the __attribute__((aligned
to the declarations of the doorbell arrays?

I wonder how it would affect the generated code on various platforms
if we just made the doorbell values be computed as __be64 and then
passed that in to the write64 function...

 - R.
_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

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

Reply via email to