Lines Matching defs:fc_conf
4435 rte_eth_dev_flow_ctrl_get(uint16_t port_id, struct rte_eth_fc_conf *fc_conf)
4443 if (fc_conf == NULL) {
4452 memset(fc_conf, 0, sizeof(*fc_conf));
4453 ret = eth_err(port_id, (*dev->dev_ops->flow_ctrl_get)(dev, fc_conf));
4455 rte_ethdev_trace_flow_ctrl_get(port_id, fc_conf, ret);
4461 rte_eth_dev_flow_ctrl_set(uint16_t port_id, struct rte_eth_fc_conf *fc_conf)
4469 if (fc_conf == NULL) {
4476 if ((fc_conf->send_xon != 0) && (fc_conf->send_xon != 1)) {
4483 ret = eth_err(port_id, (*dev->dev_ops->flow_ctrl_set)(dev, fc_conf));
4485 rte_ethdev_trace_flow_ctrl_set(port_id, fc_conf, ret);