Lines Matching refs:adapter
261 ixgb_check_options(struct ixgb_adapter *adapter) in ixgb_check_options() argument
263 int bd = adapter->bd_number; in ixgb_check_options()
278 struct ixgb_desc_ring *tx_ring = &adapter->tx_ring; in ixgb_check_options()
297 struct ixgb_desc_ring *rx_ring = &adapter->rx_ring; in ixgb_check_options()
318 adapter->rx_csum = rx_csum; in ixgb_check_options()
320 adapter->rx_csum = opt.def; in ixgb_check_options()
345 adapter->hw.fc.type = fc; in ixgb_check_options()
347 adapter->hw.fc.type = opt.def; in ixgb_check_options()
361 adapter->hw.fc.high_water = RxFCHighThresh[bd]; in ixgb_check_options()
362 ixgb_validate_option(&adapter->hw.fc.high_water, &opt); in ixgb_check_options()
364 adapter->hw.fc.high_water = opt.def; in ixgb_check_options()
366 if (!(adapter->hw.fc.type & ixgb_fc_tx_pause) ) in ixgb_check_options()
380 adapter->hw.fc.low_water = RxFCLowThresh[bd]; in ixgb_check_options()
381 ixgb_validate_option(&adapter->hw.fc.low_water, &opt); in ixgb_check_options()
383 adapter->hw.fc.low_water = opt.def; in ixgb_check_options()
385 if (!(adapter->hw.fc.type & ixgb_fc_tx_pause) ) in ixgb_check_options()
401 adapter->hw.fc.pause_time = pause_time; in ixgb_check_options()
403 adapter->hw.fc.pause_time = opt.def; in ixgb_check_options()
405 if (!(adapter->hw.fc.type & ixgb_fc_tx_pause) ) in ixgb_check_options()
409 if (adapter->hw.fc.type & ixgb_fc_tx_pause) { in ixgb_check_options()
411 if (adapter->hw.fc.high_water < (adapter->hw.fc.low_water + 8)) { in ixgb_check_options()
414 adapter->hw.fc.high_water = DEFAULT_FCRTH; in ixgb_check_options()
415 adapter->hw.fc.low_water = DEFAULT_FCRTL; in ixgb_check_options()
429 adapter->rx_int_delay = RxIntDelay[bd]; in ixgb_check_options()
430 ixgb_validate_option(&adapter->rx_int_delay, &opt); in ixgb_check_options()
432 adapter->rx_int_delay = opt.def; in ixgb_check_options()
446 adapter->tx_int_delay = TxIntDelay[bd]; in ixgb_check_options()
447 ixgb_validate_option(&adapter->tx_int_delay, &opt); in ixgb_check_options()
449 adapter->tx_int_delay = opt.def; in ixgb_check_options()
464 adapter->tx_int_delay_enable = ide; in ixgb_check_options()
466 adapter->tx_int_delay_enable = opt.def; in ixgb_check_options()