Lines Matching refs:fc
547 hw->fc.requested_mode = txgbe_fc_full; in eth_txgbe_dev_init()
548 hw->fc.current_mode = txgbe_fc_full; in eth_txgbe_dev_init()
549 hw->fc.pause_time = TXGBE_FC_PAUSE_TIME; in eth_txgbe_dev_init()
551 hw->fc.low_water[i] = TXGBE_FC_XON_LOTH; in eth_txgbe_dev_init()
552 hw->fc.high_water[i] = TXGBE_FC_XOFF_HITH; in eth_txgbe_dev_init()
554 hw->fc.send_xon = 1; in eth_txgbe_dev_init()
2882 fc_conf->pause_time = hw->fc.pause_time; in txgbe_flow_ctrl_get()
2883 fc_conf->high_water = hw->fc.high_water[0]; in txgbe_flow_ctrl_get()
2884 fc_conf->low_water = hw->fc.low_water[0]; in txgbe_flow_ctrl_get()
2885 fc_conf->send_xon = hw->fc.send_xon; in txgbe_flow_ctrl_get()
2886 fc_conf->autoneg = !hw->fc.disable_fc_autoneg; in txgbe_flow_ctrl_get()
2952 hw->fc.requested_mode = rte_fcmode_2_txgbe_fcmode[fc_conf->mode]; in txgbe_flow_ctrl_set()
2953 hw->fc.pause_time = fc_conf->pause_time; in txgbe_flow_ctrl_set()
2954 hw->fc.high_water[0] = fc_conf->high_water; in txgbe_flow_ctrl_set()
2955 hw->fc.low_water[0] = fc_conf->low_water; in txgbe_flow_ctrl_set()
2956 hw->fc.send_xon = fc_conf->send_xon; in txgbe_flow_ctrl_set()
2957 hw->fc.disable_fc_autoneg = !fc_conf->autoneg; in txgbe_flow_ctrl_set()
3005 if (pfc_conf->fc.high_water > max_high_water || in txgbe_priority_flow_ctrl_set()
3006 pfc_conf->fc.high_water <= pfc_conf->fc.low_water) { in txgbe_priority_flow_ctrl_set()
3012 hw->fc.requested_mode = rte_fcmode_2_txgbe_fcmode[pfc_conf->fc.mode]; in txgbe_priority_flow_ctrl_set()
3013 hw->fc.pause_time = pfc_conf->fc.pause_time; in txgbe_priority_flow_ctrl_set()
3014 hw->fc.send_xon = pfc_conf->fc.send_xon; in txgbe_priority_flow_ctrl_set()
3015 hw->fc.low_water[tc_num] = pfc_conf->fc.low_water; in txgbe_priority_flow_ctrl_set()
3016 hw->fc.high_water[tc_num] = pfc_conf->fc.high_water; in txgbe_priority_flow_ctrl_set()