Lines Matching refs:fc_conf

111 				struct rte_eth_fc_conf *fc_conf);
113 struct rte_eth_fc_conf *fc_conf);
3243 eth_igb_flow_ctrl_get(struct rte_eth_dev *dev, struct rte_eth_fc_conf *fc_conf) in eth_igb_flow_ctrl_get() argument
3251 fc_conf->pause_time = hw->fc.pause_time; in eth_igb_flow_ctrl_get()
3252 fc_conf->high_water = hw->fc.high_water; in eth_igb_flow_ctrl_get()
3253 fc_conf->low_water = hw->fc.low_water; in eth_igb_flow_ctrl_get()
3254 fc_conf->send_xon = hw->fc.send_xon; in eth_igb_flow_ctrl_get()
3255 fc_conf->autoneg = hw->mac.autoneg; in eth_igb_flow_ctrl_get()
3273 fc_conf->mode = RTE_ETH_FC_FULL; in eth_igb_flow_ctrl_get()
3275 fc_conf->mode = RTE_ETH_FC_RX_PAUSE; in eth_igb_flow_ctrl_get()
3277 fc_conf->mode = RTE_ETH_FC_TX_PAUSE; in eth_igb_flow_ctrl_get()
3279 fc_conf->mode = RTE_ETH_FC_NONE; in eth_igb_flow_ctrl_get()
3285 eth_igb_flow_ctrl_set(struct rte_eth_dev *dev, struct rte_eth_fc_conf *fc_conf) in eth_igb_flow_ctrl_set() argument
3301 if (fc_conf->autoneg != hw->mac.autoneg) in eth_igb_flow_ctrl_set()
3308 if ((fc_conf->high_water > max_high_water) || in eth_igb_flow_ctrl_set()
3309 (fc_conf->high_water < fc_conf->low_water)) { in eth_igb_flow_ctrl_set()
3315 hw->fc.requested_mode = rte_fcmode_2_e1000_fcmode[fc_conf->mode]; in eth_igb_flow_ctrl_set()
3316 hw->fc.pause_time = fc_conf->pause_time; in eth_igb_flow_ctrl_set()
3317 hw->fc.high_water = fc_conf->high_water; in eth_igb_flow_ctrl_set()
3318 hw->fc.low_water = fc_conf->low_water; in eth_igb_flow_ctrl_set()
3319 hw->fc.send_xon = fc_conf->send_xon; in eth_igb_flow_ctrl_set()
3330 if (fc_conf->mac_ctrl_frame_fwd != 0) in eth_igb_flow_ctrl_set()
3347 switch (fc_conf->mode) { in eth_igb_flow_ctrl_set()