Lines Matching refs:fc_conf
632 mlx5_dev_get_flow_ctrl(struct rte_eth_dev *dev, struct rte_eth_fc_conf *fc_conf) in mlx5_dev_get_flow_ctrl() argument
649 fc_conf->autoneg = ethpause.autoneg; in mlx5_dev_get_flow_ctrl()
651 fc_conf->mode = RTE_FC_FULL; in mlx5_dev_get_flow_ctrl()
653 fc_conf->mode = RTE_FC_RX_PAUSE; in mlx5_dev_get_flow_ctrl()
655 fc_conf->mode = RTE_FC_TX_PAUSE; in mlx5_dev_get_flow_ctrl()
657 fc_conf->mode = RTE_FC_NONE; in mlx5_dev_get_flow_ctrl()
673 mlx5_dev_set_flow_ctrl(struct rte_eth_dev *dev, struct rte_eth_fc_conf *fc_conf) in mlx5_dev_set_flow_ctrl() argument
682 ethpause.autoneg = fc_conf->autoneg; in mlx5_dev_set_flow_ctrl()
683 if (((fc_conf->mode & RTE_FC_FULL) == RTE_FC_FULL) || in mlx5_dev_set_flow_ctrl()
684 (fc_conf->mode & RTE_FC_RX_PAUSE)) in mlx5_dev_set_flow_ctrl()
689 if (((fc_conf->mode & RTE_FC_FULL) == RTE_FC_FULL) || in mlx5_dev_set_flow_ctrl()
690 (fc_conf->mode & RTE_FC_TX_PAUSE)) in mlx5_dev_set_flow_ctrl()