Lines Matching refs:fc_conf
847 mlx4_flow_ctrl_get(struct rte_eth_dev *dev, struct rte_eth_fc_conf *fc_conf) in mlx4_flow_ctrl_get() argument
864 fc_conf->autoneg = ethpause.autoneg; in mlx4_flow_ctrl_get()
866 fc_conf->mode = RTE_FC_FULL; in mlx4_flow_ctrl_get()
868 fc_conf->mode = RTE_FC_RX_PAUSE; in mlx4_flow_ctrl_get()
870 fc_conf->mode = RTE_FC_TX_PAUSE; in mlx4_flow_ctrl_get()
872 fc_conf->mode = RTE_FC_NONE; in mlx4_flow_ctrl_get()
891 mlx4_flow_ctrl_set(struct rte_eth_dev *dev, struct rte_eth_fc_conf *fc_conf) in mlx4_flow_ctrl_set() argument
901 ethpause.autoneg = fc_conf->autoneg; in mlx4_flow_ctrl_set()
902 if (((fc_conf->mode & RTE_FC_FULL) == RTE_FC_FULL) || in mlx4_flow_ctrl_set()
903 (fc_conf->mode & RTE_FC_RX_PAUSE)) in mlx4_flow_ctrl_set()
907 if (((fc_conf->mode & RTE_FC_FULL) == RTE_FC_FULL) || in mlx4_flow_ctrl_set()
908 (fc_conf->mode & RTE_FC_TX_PAUSE)) in mlx4_flow_ctrl_set()