Date: Tue, 24 Jul 2007 01:11:01 +0000 (UTC) From: Pyun YongHyeon <yongari@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/nfe if_nfe.c if_nfevar.h Message-ID: <200707240111.l6O1B1Kc051213@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
yongari 2007-07-24 01:11:01 UTC
FreeBSD src repository
Modified files:
sys/dev/nfe if_nfe.c if_nfevar.h
Log:
Don't fail on device attach if jumbo frame support was unsuccessful.
Because nfe(4) hardware doesn't support SG on Rx path, supporting
jumbo frame requires very large contiguous kernel memory(i.e. several
mega bytes). In case of lack of contiguous kernel memory that
allocation request may always fail. However nfe(4) can operate on normal
sized MTU frames, so go ahead and just disable jumbo frame support.
While I'm here add a new tunable "hw.nfe.jumbo_disable" to disable
jumbo frame support.
In nfe_poll, make sure to invoke correct Rx handler.
Approved by: re (kensmith)
Revision Changes Path
1.19 +25 -9 src/sys/dev/nfe/if_nfe.c
1.5 +1 -0 src/sys/dev/nfe/if_nfevar.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707240111.l6O1B1Kc051213>
