]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Make igb and ixgbe check tunables at probe time.
authorAlfred Perlstein <alfred@FreeBSD.org>
Wed, 26 Nov 2014 20:19:36 +0000 (20:19 +0000)
committerAlfred Perlstein <alfred@FreeBSD.org>
Wed, 26 Nov 2014 20:19:36 +0000 (20:19 +0000)
commit56c14bca7edbfdd68f93c5f4f073d5bcaf118657
tree9912f85dbd5fb7c5d0bedb0ae503522013e9c520
parentb05765d75f0c53258b006dd1a36ad7c931b80640
Make igb and ixgbe check tunables at probe time.

This allows one to make a kernel module to tune the
number of queues before the driver loads.

This is needed so that a module at SI_SUB_CPU can set
tunables for these drivers to take.  Otherwise getenv
is called too early by the TUNABLE macros.

Reviewed by: smh
Phabric: https://reviews.freebsd.org/D1149
sys/dev/e1000/if_igb.c
sys/dev/ixgbe/ixgbe.c
sys/kern/subr_bus.c
sys/sys/bus.h