Re: [PATCH v2 01/13] iWARP wire packet format definition

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

 



On Fri, 2017-10-06 at 08:28 -0400, Bernard Metzler wrote:
> +enum {
> +       MPA_RR_FLAG_MARKERS     = __cpu_to_be16(0x8000),
> +       MPA_RR_FLAG_CRC         = __cpu_to_be16(0x4000),
> +       MPA_RR_FLAG_REJECT      = __cpu_to_be16(0x2000),
> +       MPA_RR_FLAG_ENHANCED    = __cpu_to_be16(0x1000),
> +       MPA_RR_RESERVED         = __cpu_to_be16(0x0f00),
> +       MPA_RR_MASK_REVISION    = __cpu_to_be16(0x00ff)
> +};

Why are you using __cpu_to_be16() instead of cpu_to_be16()?

Thanks,

Bart.��.n��������+%������w��{.n�����{���fk��ܨ}���Ơz�j:+v�����w����ޙ��&�)ߡ�a����z�ޗ���ݢj��w�f




[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