Lines Matching refs:fc

631 	hw->fc.requested_mode = txgbe_fc_full;  in eth_txgbe_dev_init()
632 hw->fc.current_mode = txgbe_fc_full; in eth_txgbe_dev_init()
633 hw->fc.pause_time = TXGBE_FC_PAUSE_TIME; in eth_txgbe_dev_init()
635 hw->fc.low_water[i] = TXGBE_FC_XON_LOTH; in eth_txgbe_dev_init()
636 hw->fc.high_water[i] = TXGBE_FC_XOFF_HITH; in eth_txgbe_dev_init()
638 hw->fc.send_xon = 1; in eth_txgbe_dev_init()
3191 fc_conf->pause_time = hw->fc.pause_time; in txgbe_flow_ctrl_get()
3192 fc_conf->high_water = hw->fc.high_water[0]; in txgbe_flow_ctrl_get()
3193 fc_conf->low_water = hw->fc.low_water[0]; in txgbe_flow_ctrl_get()
3194 fc_conf->send_xon = hw->fc.send_xon; in txgbe_flow_ctrl_get()
3195 fc_conf->autoneg = !hw->fc.disable_fc_autoneg; in txgbe_flow_ctrl_get()
3261 hw->fc.requested_mode = rte_fcmode_2_txgbe_fcmode[fc_conf->mode]; in txgbe_flow_ctrl_set()
3262 hw->fc.pause_time = fc_conf->pause_time; in txgbe_flow_ctrl_set()
3263 hw->fc.high_water[0] = fc_conf->high_water; in txgbe_flow_ctrl_set()
3264 hw->fc.low_water[0] = fc_conf->low_water; in txgbe_flow_ctrl_set()
3265 hw->fc.send_xon = fc_conf->send_xon; in txgbe_flow_ctrl_set()
3266 hw->fc.disable_fc_autoneg = !fc_conf->autoneg; in txgbe_flow_ctrl_set()
3314 if (pfc_conf->fc.high_water > max_high_water || in txgbe_priority_flow_ctrl_set()
3315 pfc_conf->fc.high_water <= pfc_conf->fc.low_water) { in txgbe_priority_flow_ctrl_set()
3321 hw->fc.requested_mode = rte_fcmode_2_txgbe_fcmode[pfc_conf->fc.mode]; in txgbe_priority_flow_ctrl_set()
3322 hw->fc.pause_time = pfc_conf->fc.pause_time; in txgbe_priority_flow_ctrl_set()
3323 hw->fc.send_xon = pfc_conf->fc.send_xon; in txgbe_priority_flow_ctrl_set()
3324 hw->fc.low_water[tc_num] = pfc_conf->fc.low_water; in txgbe_priority_flow_ctrl_set()
3325 hw->fc.high_water[tc_num] = pfc_conf->fc.high_water; in txgbe_priority_flow_ctrl_set()