Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/cxgb/cxgb_main.c
Show All 12 Lines | |||||
* of these schemes the driver may consider as follows: | * of these schemes the driver may consider as follows: | ||||
* | * | ||||
* msi = 2: choose from among all three options | * msi = 2: choose from among all three options | ||||
* msi = 1 : only consider MSI and pin interrupts | * msi = 1 : only consider MSI and pin interrupts | ||||
* msi = 0: force pin interrupts | * msi = 0: force pin interrupts | ||||
*/ | */ | ||||
static int msi_allowed = 2; | static int msi_allowed = 2; | ||||
SYSCTL_NODE(_hw, OID_AUTO, cxgb, CTLFLAG_RD, 0, "CXGB driver parameters"); | SYSCTL_NODE(_hw, OID_AUTO, cxgb, CTLFLAG_RD | CTLFLAG_MPSAFE, 0, | ||||
"CXGB driver parameters"); | |||||
SYSCTL_INT(_hw_cxgb, OID_AUTO, msi_allowed, CTLFLAG_RDTUN, &msi_allowed, 0, | SYSCTL_INT(_hw_cxgb, OID_AUTO, msi_allowed, CTLFLAG_RDTUN, &msi_allowed, 0, | ||||
"MSI-X, MSI, INTx selector"); | "MSI-X, MSI, INTx selector"); | ||||
/* | /* | ||||
* The driver uses an auto-queue algorithm by default. | * The driver uses an auto-queue algorithm by default. | ||||
* To disable it and force a single queue-set per port, use multiq = 0 | * To disable it and force a single queue-set per port, use multiq = 0 | ||||
*/ | */ | ||||
static int multiq = 1; | static int multiq = 1; | ||||
Show All 12 Lines |