Re: [PATCH 05/10] IB/qib: Use rdmavt lid defines in qib

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Dec 07, 2015 at 03:49:12PM -0500, Dennis Dalessandro wrote:
>  	/* A multicast address requires a GRH (see ch. 8.4.1). */
> -	if (ah_attr->dlid >= QIB_MULTICAST_LID_BASE &&
> -	    ah_attr->dlid != QIB_PERMISSIVE_LID &&
> +	if (ah_attr->dlid >= be16_to_cpu(IB_MULTICAST_LID_BASE) &&
> +	    ah_attr->dlid != be16_to_cpu(IB_LID_PERMISSIVE) &&

Uh cpu_to_be16 please..

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



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux