From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Michael Chan" Subject: Re: [PATCH 2/2] forcedeth: scatter gather and segmentation offload support Date: Tue, 25 Oct 2005 15:05:19 -0700 Message-ID: <1130277919.6236.7.camel@rh4> References: <20051025215932.GA17794@electric-eye.fr.zoreil.com> <1130272203.6236.2.camel@rh4> <20051025232248.GB17794@electric-eye.fr.zoreil.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: "Ayaz Abdulla" , "Stephen Hemminger" , "Jeff Garzik" , "Manfred Spraul" , "Netdev" Return-path: To: "Francois Romieu" In-Reply-To: <20051025232248.GB17794@electric-eye.fr.zoreil.com> Sender: netdev-bounce@oss.sgi.com Errors-to: netdev-bounce@oss.sgi.com List-Id: netdev.vger.kernel.org On Wed, 2005-10-26 at 01:22 +0200, Francois Romieu wrote: > Michael Chan : > > Please explain what did you mean by bogus? > > When the CPU sets the entries of a multi-descriptor packet, the first > descriptor is marked read while the next ones are still unset. > Not sure you you meant by "marked read", but none of the new tx descriptors will be DMA'ed by the chip until we write the producer index and the byte seq. number. > If any of BNX2_L2CTX_TX_HOST_{BIDX/BSEQ} prevents the asic to read > beyond 'prod' (or b(yte)seq ?), the ordering does not matter. Right ? > Right, the chip will only DMA the tx descriptors up to the (prod - 1) index. tg3 works in a similar way.