]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Allow sending of more than one raw cell from a single mbuf. Only the
authorharti <harti@FreeBSD.org>
Wed, 29 Oct 2003 15:15:19 +0000 (15:15 +0000)
committerharti <harti@FreeBSD.org>
Wed, 29 Oct 2003 15:15:19 +0000 (15:15 +0000)
commit5dd57a3567c7d0579b6f15c074cadeb424e388b2
tree619900b61f8cefd389072e2293a6e8773e8fe2ef
parent7ff4941bd61c3c7e962615c4c28c6745b387e23c
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.
sys/dev/hatm/if_hatm_tx.c