cvs commit: src/sys/dev/nfe if_nfe.c if_nfevar.h

Pyun YongHyeon yongari at
Tue Jul 24 01:11:01 UTC 2007

yongari     2007-07-24 01:11:01 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/nfe          if_nfe.c if_nfevar.h 
  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

More information about the cvs-src mailing list