Lines Matching refs:fc_conf

223 eth_igc_flow_ctrl_get(struct rte_eth_dev *dev, struct rte_eth_fc_conf *fc_conf);
225 eth_igc_flow_ctrl_set(struct rte_eth_dev *dev, struct rte_eth_fc_conf *fc_conf);
2121 eth_igc_flow_ctrl_get(struct rte_eth_dev *dev, struct rte_eth_fc_conf *fc_conf) in eth_igc_flow_ctrl_get() argument
2128 fc_conf->pause_time = hw->fc.pause_time; in eth_igc_flow_ctrl_get()
2129 fc_conf->high_water = hw->fc.high_water; in eth_igc_flow_ctrl_get()
2130 fc_conf->low_water = hw->fc.low_water; in eth_igc_flow_ctrl_get()
2131 fc_conf->send_xon = hw->fc.send_xon; in eth_igc_flow_ctrl_get()
2132 fc_conf->autoneg = hw->mac.autoneg; in eth_igc_flow_ctrl_get()
2150 fc_conf->mode = RTE_ETH_FC_FULL; in eth_igc_flow_ctrl_get()
2152 fc_conf->mode = RTE_ETH_FC_RX_PAUSE; in eth_igc_flow_ctrl_get()
2154 fc_conf->mode = RTE_ETH_FC_TX_PAUSE; in eth_igc_flow_ctrl_get()
2156 fc_conf->mode = RTE_ETH_FC_NONE; in eth_igc_flow_ctrl_get()
2162 eth_igc_flow_ctrl_set(struct rte_eth_dev *dev, struct rte_eth_fc_conf *fc_conf) in eth_igc_flow_ctrl_set() argument
2170 if (fc_conf->autoneg != hw->mac.autoneg) in eth_igc_flow_ctrl_set()
2178 if (fc_conf->high_water > max_high_water || in eth_igc_flow_ctrl_set()
2179 fc_conf->high_water < fc_conf->low_water) { in eth_igc_flow_ctrl_set()
2182 fc_conf->high_water, fc_conf->low_water, in eth_igc_flow_ctrl_set()
2187 switch (fc_conf->mode) { in eth_igc_flow_ctrl_set()
2201 PMD_DRV_LOG(ERR, "unsupported fc mode: %u", fc_conf->mode); in eth_igc_flow_ctrl_set()
2205 hw->fc.pause_time = fc_conf->pause_time; in eth_igc_flow_ctrl_set()
2206 hw->fc.high_water = fc_conf->high_water; in eth_igc_flow_ctrl_set()
2207 hw->fc.low_water = fc_conf->low_water; in eth_igc_flow_ctrl_set()
2208 hw->fc.send_xon = fc_conf->send_xon; in eth_igc_flow_ctrl_set()
2220 if (fc_conf->mac_ctrl_frame_fwd != 0) in eth_igc_flow_ctrl_set()