[ofa-general] [PATCH] ib_types.h: Change macros to convert from "host" byte order to "network"
Hal Rosenstock
halr at voltaire.com
Wed May 30 10:58:02 PDT 2007
On Tue, 2007-05-22 at 13:23, Ira Weiny wrote:
> >From 7e53267d5bc9389f5f1a4dae3a2d290c69c6e1d4 Mon Sep 17 00:00:00 2001
> From: Ira K. Weiny <weiny2 at llnl.gov>
> Date: Tue, 24 Apr 2007 16:07:19 -0700
> Subject: [PATCH] Change macros to convert from "host" byte order to "network"
>
> Although the macros CL_HTON* and CL_NTOH* are defined to be the same
> operation it is technically incorrect to convert a constant from network
> byte order. The constant should be converted from host byte order to
> network byte order.
>
> Signed-off-by: Ira K. Weiny <weiny2 at llnl.gov>
Thanks. Applied.
-- Hal
More information about the general
mailing list