- Make "ifconfig nfeX mtu xxx" work.
commit0044a11a7ee87f2e7e793193712fcd4b4f9b3a05
authorsephe <sephe>
Sun, 17 Jun 2007 11:38:58 +0000 (17 11:38 +0000)
committersephe <sephe>
Sun, 17 Jun 2007 11:38:58 +0000 (17 11:38 +0000)
treec6ddc57210f2faf1d10d7335f261b97a832e5ddb
parent6f12ccf14696d2d32a44c44d7c481179bc0aba22
- 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@gmail.com>
- 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@gmail.com> (w/ modification)
sys/dev/netif/nfe/if_nfe.c
sys/dev/netif/nfe/if_nfereg.h
sys/dev/netif/nfe/if_nfevar.h