lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 16 Dec 2008 15:33:47 -0800 (PST)
From:	David Miller <davem@...emloft.net>
To:	afleming@...escale.com
Cc:	jeff@...zik.org, galak@...nel.crashing.org, netdev@...r.kernel.org
Subject: Re: [PATCH v2.6.29 09/14] gianfar: Add macros for stepping through
 BDs

From: Andy Fleming <afleming@...escale.com>
Date: Tue, 16 Dec 2008 17:21:02 -0600

> This code is based strongly on code from Dai Haruki <Dai.Haruki@...escale.com>.
> 
> The gianfar Buffer Descriptors are arranged in a circular array, the end of
> which is denoted by setting the "WRAP" bit in the descriptor.  However, the
> software knows the end of the ring because it knows how many descriptors are
> there.  Rather than check each descriptor for whether the WRAP bit is set,
> use pointer math to determine where the next BD is.  This is also useful for
> when we want to look at BDs other than the very next one (for Scatter-Gather).
> 
> Signed-off-by: Andy Fleming <afleming@...escale.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

Powered by Openwall GNU/*/Linux Powered by OpenVZ