[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080306.150820.213561576.davem@davemloft.net>
Date: Thu, 06 Mar 2008 15:08:20 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: allan.stephens@...driver.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH 6/7 net-2.6.26] [TIPC]: Enhancements to message header
writing
From: Allan Stephens <allan.stephens@...driver.com>
Date: Thu, 6 Mar 2008 16:34:28 -0500
> This patch makes two enhancements to the routine used to
> set bit fields within a TIPC message header:
>
> 1) It now ignores any bits of the new field value that are not
> covered by the mask being used. (Previously, if the new value
> exceeded the size of the mask the extra bits could corrupt
> other fields in the message header word being updated.)
>
> 2) The code has been optimized to minimize the number of run-time
> endianness conversion operations by leveraging the fact that the
> mask (and, in some cases, the value as well) is constant and the
> necessary conversion can be performed by the compiler.
>
> Signed-off-by: Allan Stephens <allan.stephens@...driver.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists