summaryrefslogtreecommitdiffstats
path: root/sys/netncp/ncp_subr.h
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2003-10-30 10:43:52 +0000
committerharti <harti@FreeBSD.org>2003-10-30 10:43:52 +0000
commit58d62949d472bd6a380995d114281f52f5936d58 (patch)
treeafc30ce35576338b0ab3c30dc860aad1fc1efa86 /sys/netncp/ncp_subr.h
parenteae6949d99a11d72cef4ef9015743ae44c91c6d1 (diff)
downloadFreeBSD-src-58d62949d472bd6a380995d114281f52f5936d58.zip
FreeBSD-src-58d62949d472bd6a380995d114281f52f5936d58.tar.gz
Reinvent the used-flag for external mbufs. This and the on-card flag
are now in the header of the external buffer itself which allows us to manipulate them in the free routine without having to lock the softc structure or the free list. To get space for these flags the chunk number is reduced to 8 bit which amounts to a maximum of 256 chunks per allocated page. This restriction is now enforced by a CTASSERT.
Diffstat (limited to 'sys/netncp/ncp_subr.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud