From owner-cvs-src@FreeBSD.ORG Wed Oct 29 07:15:20 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0DA4616A4CE; Wed, 29 Oct 2003 07:15:20 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 951DC43FA3; Wed, 29 Oct 2003 07:15:19 -0800 (PST) (envelope-from harti@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id h9TFFJXJ024163; Wed, 29 Oct 2003 07:15:19 -0800 (PST) (envelope-from harti@repoman.freebsd.org) Received: (from harti@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id h9TFFJFR024162; Wed, 29 Oct 2003 07:15:19 -0800 (PST) (envelope-from harti) Message-Id: <200310291515.h9TFFJFR024162@repoman.freebsd.org> From: Hartmut Brandt Date: Wed, 29 Oct 2003 07:15:19 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/hatm if_hatm_tx.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Oct 2003 15:15:20 -0000 harti 2003/10/29 07:15:19 PST FreeBSD src repository Modified files: sys/dev/hatm if_hatm_tx.c Log: Allow sending of more than one raw cell from a single mbuf. Only the very first cell in the mbuf should have a cell header word (of which everything except the payload type and the CLP bit is ignored). All other cells should be 48 byte and get the same header as the first cell. This fixes a problem with sending more than 120000 raw cells/sec through an HE155. The card seems to need 2 cell times to DMA the transmit buffer ready queue entry and the transmit buffer descriptor so at 1/3 the link rate the transmit buffer ready queue starts to fill up. Even with this patch it's obviously impossible to send raw cells at link rate. Revision Changes Path 1.8 +11 -8 src/sys/dev/hatm/if_hatm_tx.c