On Mon, Oct 10, 2011 at 10:47 AM, Bart Van Assche <bvanass...@acm.org> wrote:
> -       uint32_t hi = *(uint32_t *)(gid->raw);
> -       uint32_t lo = *(uint32_t *)(gid->raw + 4);
> -       if (hi == htonl(0xfe800000) && lo == 0)
> -               return 1;
> +       uint32_t hi = gid->u32[0];
> +       uint32_t lo = gid->u32[1];

Thanks, however I like to keep libmlx4 backwards compatible
if possible.  So we can't do this unconditionally.

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

Reply via email to