Date: Wed, 29 Oct 2003 07:15:19 -0800 (PST) From: Hartmut Brandt <harti@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/hatm if_hatm_tx.c Message-ID: <200310291515.h9TFFJFR024162@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200310291515.h9TFFJFR024162>
