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

Sepherosa Ziehau sephe at
Sun Jun 17 04:40:22 PDT 2007

sephe       2007/06/17 04:38:58 PDT

DragonFly src repository

  Modified files:
    sys/dev/netif/nfe    if_nfe.c if_nfereg.h if_nfevar.h 
  - Make "ifconfig nfeX mtu xxx" work.
  - Don't use jumbo frames by default for chips that support jumbo frames.
    Jumbo frame pool is still allocated in case mtu is set above 1500.
    Tested-by: "Rumko" <rumcic at>
  - Make number of RX descriptors tunable, hw.nfe.rx_ring_count, default
    value seems to be too small if jumbo frames are used.  Add a read-only
    sysctl node hw.nfe.rx_ring_count, which reflects the value of the newly
    added tunable.
    Submitted-by: "Rumko" <rumcic at> (w/ modification)
  Revision  Changes    Path
  1.10      +53 -23    src/sys/dev/netif/nfe/if_nfe.c
  1.3       +2 -2      src/sys/dev/netif/nfe/if_nfereg.h
  1.2       +2 -2      src/sys/dev/netif/nfe/if_nfevar.h

More information about the Commits mailing list