Date: Mon, 9 Feb 2009 02:15:25 +0000 (UTC) From: Pyun YongHyeon <yongari@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/msk if_msk.c if_mskreg.h Message-ID: <200902090215.n192FXJD077699@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
yongari 2009-02-09 02:15:25 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
sys/dev/msk if_msk.c if_mskreg.h
Log:
SVN rev 188364 on 2009-02-09 02:15:25Z by yongari
MFC r187208:
Remove local jumbo locator and switch to UMA backed page allocator
for jumbo frame.
o Nuke unneeded jlist lock which was used to protect jumbo buffer
management in local allocator.
o Added a new tunable hw.mskc.jumbo_disable to disable jumbo
frame support for the driver. The tunable could be set for
systems that do not need to use jumbo frames and it would
save (9K * number of Rx descriptors) bytes kernel memory.
o Jumbo buffer allocation failure is no longer critical error
for the operation of msk(4). If msk(4) encounter the allocation
failure it just disables jumbo frame support and continues to
work without your intervention.
Using local allocator had several drawbacks such as requirement of
large amount of continuous kernel memory and fixed (small) number
of available buffers. The need for large continuous memory resulted
in failure of loading driver with kldload on running systems.
Also small number of buffer used in local allocator showed poor
performance for some applications.
Revision Changes Path
1.18.2.16 +158 -275 src/sys/dev/msk/if_msk.c
1.6.2.8 +1 -27 src/sys/dev/msk/if_mskreg.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902090215.n192FXJD077699>
