Lines Matching refs:fc_conf
2872 txgbe_flow_ctrl_get(struct rte_eth_dev *dev, struct rte_eth_fc_conf *fc_conf) in txgbe_flow_ctrl_get() argument
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()
2909 fc_conf->mode = RTE_FC_FULL; in txgbe_flow_ctrl_get()
2911 fc_conf->mode = RTE_FC_RX_PAUSE; in txgbe_flow_ctrl_get()
2913 fc_conf->mode = RTE_FC_TX_PAUSE; in txgbe_flow_ctrl_get()
2915 fc_conf->mode = RTE_FC_NONE; in txgbe_flow_ctrl_get()
2921 txgbe_flow_ctrl_set(struct rte_eth_dev *dev, struct rte_eth_fc_conf *fc_conf) in txgbe_flow_ctrl_set() argument
2945 if (fc_conf->high_water > max_high_water || in txgbe_flow_ctrl_set()
2946 fc_conf->high_water < fc_conf->low_water) { in txgbe_flow_ctrl_set()
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()
2964 (fc_conf->mac_ctrl_frame_fwd in txgbe_flow_ctrl_set()