From owner-cvs-all@FreeBSD.ORG Fri Dec 26 07:52:57 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from green.bikeshed.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 2C03916A4CE; Fri, 26 Dec 2003 07:52:57 -0800 (PST) Received: from green.bikeshed.org (green@localhost [127.0.0.1]) by green.bikeshed.org (8.12.10/8.12.9) with ESMTP id hBQFqunU059876; Fri, 26 Dec 2003 10:52:56 -0500 (EST) (envelope-from green@green.bikeshed.org) Received: from localhost (green@localhost)hBQFquXa059873; Fri, 26 Dec 2003 10:52:56 -0500 (EST) Message-Id: <200312261552.hBQFquXa059873@green.bikeshed.org> X-Mailer: exmh version 2.6.3 04/04/2003 with nmh-1.0.4 To: Bill Paul In-Reply-To: Message from Bill Paul <200312260701.hBQ715bU043844@repoman.freebsd.org> From: "Brian F. Feldman" Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 26 Dec 2003 10:52:56 -0500 Sender: green@green.bikeshed.org cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/compat/ndis kern_ndis.c src/sys/dev/if_ndis if_ndis.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Dec 2003 15:52:57 -0000 Bill Paul wrote: > wpaul 2003/12/25 23:01:05 PST > > FreeBSD src repository > > Modified files: > sys/compat/ndis kern_ndis.c > sys/dev/if_ndis if_ndis.c > Log: > Attempt to handle the status field in the ndis_packet oob area correctly. > > For received packets, an status of NDIS_STATUS_RESOURCES means we need > to copy the packet data and return the ndis_packet to the driver immediatel. > NDIS_STATUS_SUCCESS means we get to hold onto the packet, but we have > to set the status to NDIS_STATUS_PENDING so the driver knows we're > going to hang onto it for a while. > > For transmit packets, NDIS_STATUS_PENDING means the driver will > asynchronously return the packet to us via the ndis_txeof() routine, > and NDIS_STATUS_SUCCESS means the driver sent the frame, and NDIS > (i.e. the OS) retains ownership of the packet and can free it > right away. Okay, THIS works :-) Sorry for goofing up the shapeshifting ndis_packet {}s. -- Brian Fundakowski Feldman \'[ FreeBSD ]''''''''''\ <> green@FreeBSD.org \ The Power to Serve! \ Opinions expressed are my own. \,,,,,,,,,,,,,,,,,,,,,,\