summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_rl.c
diff options
context:
space:
mode:
authoryongari <yongari@FreeBSD.org>2007-07-24 01:11:00 +0000
committeryongari <yongari@FreeBSD.org>2007-07-24 01:11:00 +0000
commit1ad992a983743615205a66251a98a9f2d7b25ac3 (patch)
treebe0bc9d4ba92d92469368bcc8eb25db878458a8b /sys/pci/if_rl.c
parent0986b6b87f449c35be8179c7b08c0a582aa52cc6 (diff)
downloadFreeBSD-src-1ad992a983743615205a66251a98a9f2d7b25ac3.zip
FreeBSD-src-1ad992a983743615205a66251a98a9f2d7b25ac3.tar.gz
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)
Diffstat (limited to 'sys/pci/if_rl.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud