freebsd-dev/sys/dev/nfe
Pyun YongHyeon 8b590ad2d1 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)
2007-07-24 01:11:00 +00:00
..
if_nfe.c Don't fail on device attach if jumbo frame support was unsuccessful. 2007-07-24 01:11:00 +00:00
if_nfereg.h The maximum size of the sum of all segment lengths in a given DMA mapping 2007-06-12 10:51:47 +00:00
if_nfevar.h Don't fail on device attach if jumbo frame support was unsuccessful. 2007-07-24 01:11:00 +00:00