|
@@ -267,7 +267,7 @@ ixgb_check_options(struct ixgb_adapter *adapter)
|
|
|
}
|
|
|
|
|
|
{ /* Transmit Descriptor Count */
|
|
|
- const struct ixgb_option opt = {
|
|
|
+ static const struct ixgb_option opt = {
|
|
|
.type = range_option,
|
|
|
.name = "Transmit Descriptors",
|
|
|
.err = "using default of " __MODULE_STRING(DEFAULT_TXD),
|
|
@@ -286,7 +286,7 @@ ixgb_check_options(struct ixgb_adapter *adapter)
|
|
|
tx_ring->count = ALIGN(tx_ring->count, IXGB_REQ_TX_DESCRIPTOR_MULTIPLE);
|
|
|
}
|
|
|
{ /* Receive Descriptor Count */
|
|
|
- const struct ixgb_option opt = {
|
|
|
+ static const struct ixgb_option opt = {
|
|
|
.type = range_option,
|
|
|
.name = "Receive Descriptors",
|
|
|
.err = "using default of " __MODULE_STRING(DEFAULT_RXD),
|
|
@@ -305,7 +305,7 @@ ixgb_check_options(struct ixgb_adapter *adapter)
|
|
|
rx_ring->count = ALIGN(rx_ring->count, IXGB_REQ_RX_DESCRIPTOR_MULTIPLE);
|
|
|
}
|
|
|
{ /* Receive Checksum Offload Enable */
|
|
|
- const struct ixgb_option opt = {
|
|
|
+ static const struct ixgb_option opt = {
|
|
|
.type = enable_option,
|
|
|
.name = "Receive Checksum Offload",
|
|
|
.err = "defaulting to Enabled",
|
|
@@ -348,7 +348,7 @@ ixgb_check_options(struct ixgb_adapter *adapter)
|
|
|
}
|
|
|
}
|
|
|
{ /* Receive Flow Control High Threshold */
|
|
|
- const struct ixgb_option opt = {
|
|
|
+ static const struct ixgb_option opt = {
|
|
|
.type = range_option,
|
|
|
.name = "Rx Flow Control High Threshold",
|
|
|
.err = "using default of " __MODULE_STRING(DEFAULT_FCRTH),
|
|
@@ -367,7 +367,7 @@ ixgb_check_options(struct ixgb_adapter *adapter)
|
|
|
pr_info("Ignoring RxFCHighThresh when no RxFC\n");
|
|
|
}
|
|
|
{ /* Receive Flow Control Low Threshold */
|
|
|
- const struct ixgb_option opt = {
|
|
|
+ static const struct ixgb_option opt = {
|
|
|
.type = range_option,
|
|
|
.name = "Rx Flow Control Low Threshold",
|
|
|
.err = "using default of " __MODULE_STRING(DEFAULT_FCRTL),
|
|
@@ -386,7 +386,7 @@ ixgb_check_options(struct ixgb_adapter *adapter)
|
|
|
pr_info("Ignoring RxFCLowThresh when no RxFC\n");
|
|
|
}
|
|
|
{ /* Flow Control Pause Time Request*/
|
|
|
- const struct ixgb_option opt = {
|
|
|
+ static const struct ixgb_option opt = {
|
|
|
.type = range_option,
|
|
|
.name = "Flow Control Pause Time Request",
|
|
|
.err = "using default of "__MODULE_STRING(DEFAULT_FCPAUSE),
|
|
@@ -416,7 +416,7 @@ ixgb_check_options(struct ixgb_adapter *adapter)
|
|
|
}
|
|
|
}
|
|
|
{ /* Receive Interrupt Delay */
|
|
|
- const struct ixgb_option opt = {
|
|
|
+ static const struct ixgb_option opt = {
|
|
|
.type = range_option,
|
|
|
.name = "Receive Interrupt Delay",
|
|
|
.err = "using default of " __MODULE_STRING(DEFAULT_RDTR),
|
|
@@ -433,7 +433,7 @@ ixgb_check_options(struct ixgb_adapter *adapter)
|
|
|
}
|
|
|
}
|
|
|
{ /* Transmit Interrupt Delay */
|
|
|
- const struct ixgb_option opt = {
|
|
|
+ static const struct ixgb_option opt = {
|
|
|
.type = range_option,
|
|
|
.name = "Transmit Interrupt Delay",
|
|
|
.err = "using default of " __MODULE_STRING(DEFAULT_TIDV),
|
|
@@ -451,7 +451,7 @@ ixgb_check_options(struct ixgb_adapter *adapter)
|
|
|
}
|
|
|
|
|
|
{ /* Transmit Interrupt Delay Enable */
|
|
|
- const struct ixgb_option opt = {
|
|
|
+ static const struct ixgb_option opt = {
|
|
|
.type = enable_option,
|
|
|
.name = "Tx Interrupt Delay Enable",
|
|
|
.err = "defaulting to Enabled",
|