Date: Fri, 6 Nov 2009 23:49:20 +0000 (UTC) From: Pyun YongHyeon <yongari@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/bge if_bge.c Message-ID: <200911062349.nA6NnTjc091921@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
yongari 2009-11-06 23:49:20 UTC
FreeBSD src repository
Modified files:
sys/dev/bge if_bge.c
Log:
SVN rev 199010 on 2009-11-06 23:49:20Z by yongari
Do bus_dmamap_sync call only if frame size is greater than
standard buffer size. If controller is not capable of handling
jumbo frame, interface MTU couldn't be larger than standard MTU
which in turn the received should be fit in standard buffer. This
fixes bus_dmamap_sync call for jumbo ring is called even if
interface is configured to use standard MTU.
Also if total frame size could be fit into standard buffer don't
use jumbo buffers.
Revision Changes Path
1.236 +5 -3 src/sys/dev/bge/if_bge.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911062349.nA6NnTjc091921>
