diff options
author | np <np@FreeBSD.org> | 2013-08-30 01:45:36 +0000 |
---|---|---|
committer | np <np@FreeBSD.org> | 2013-08-30 01:45:36 +0000 |
commit | 053a3cacff702378b4362f2285aae5b54b38cc1a (patch) | |
tree | 4bc3c3df3b94d30fa570717206894fb6e41d153b /contrib/diff/src/ifdef.c | |
parent | 8496d415176840eceb5d409dae828b1019b7ab47 (diff) | |
download | FreeBSD-src-053a3cacff702378b4362f2285aae5b54b38cc1a.zip FreeBSD-src-053a3cacff702378b4362f2285aae5b54b38cc1a.tar.gz |
Implement support for rx buffer packing. Enable it by default for T5
cards.
This is a T4 and T5 chip feature which lets the chip deliver multiple
Ethernet frames in a single buffer. This is more efficient within the
chip, in the driver, and reduces wastage of space in rx buffers.
- Always allocate rx buffers from the jumbop zone, no matter what the
MTU is. Do not use the normal cluster refcounting mechanism.
- Reserve space for an mbuf and a refcount in the cluster itself and let
the chip DMA multiple frames in the rest.
- Use the embedded mbuf for the first frame and allocate mbufs on the
fly for any additional frames delivered in the cluster. Each of these
mbufs has a reference on the underlying cluster.
Diffstat (limited to 'contrib/diff/src/ifdef.c')
0 files changed, 0 insertions, 0 deletions