Lines Matching refs:fc_conf

111 				struct rte_eth_fc_conf *fc_conf);
113 struct rte_eth_fc_conf *fc_conf);
3012 eth_igb_flow_ctrl_get(struct rte_eth_dev *dev, struct rte_eth_fc_conf *fc_conf) in eth_igb_flow_ctrl_get() argument
3020 fc_conf->pause_time = hw->fc.pause_time; in eth_igb_flow_ctrl_get()
3021 fc_conf->high_water = hw->fc.high_water; in eth_igb_flow_ctrl_get()
3022 fc_conf->low_water = hw->fc.low_water; in eth_igb_flow_ctrl_get()
3023 fc_conf->send_xon = hw->fc.send_xon; in eth_igb_flow_ctrl_get()
3024 fc_conf->autoneg = hw->mac.autoneg; in eth_igb_flow_ctrl_get()
3042 fc_conf->mode = RTE_FC_FULL; in eth_igb_flow_ctrl_get()
3044 fc_conf->mode = RTE_FC_RX_PAUSE; in eth_igb_flow_ctrl_get()
3046 fc_conf->mode = RTE_FC_TX_PAUSE; in eth_igb_flow_ctrl_get()
3048 fc_conf->mode = RTE_FC_NONE; in eth_igb_flow_ctrl_get()
3054 eth_igb_flow_ctrl_set(struct rte_eth_dev *dev, struct rte_eth_fc_conf *fc_conf) in eth_igb_flow_ctrl_set() argument
3069 if (fc_conf->autoneg != hw->mac.autoneg) in eth_igb_flow_ctrl_set()
3076 if ((fc_conf->high_water > max_high_water) || in eth_igb_flow_ctrl_set()
3077 (fc_conf->high_water < fc_conf->low_water)) { in eth_igb_flow_ctrl_set()
3083 hw->fc.requested_mode = rte_fcmode_2_e1000_fcmode[fc_conf->mode]; in eth_igb_flow_ctrl_set()
3084 hw->fc.pause_time = fc_conf->pause_time; in eth_igb_flow_ctrl_set()
3085 hw->fc.high_water = fc_conf->high_water; in eth_igb_flow_ctrl_set()
3086 hw->fc.low_water = fc_conf->low_water; in eth_igb_flow_ctrl_set()
3087 hw->fc.send_xon = fc_conf->send_xon; in eth_igb_flow_ctrl_set()
3098 if (fc_conf->mac_ctrl_frame_fwd != 0) in eth_igb_flow_ctrl_set()