[dpdk-test-report] |FAILURE| pw35980[dpdk-dev, v2, 2/3] net/mlx5: fix link status behavior

sys_stv at intel.com sys_stv at intel.com
Thu May 10 09:53:06 CEST 2018


Test-Label: Intel-compilation
Test-Status: FAILURE
http://dpdk.org/patch/35980

_apply issues_

Submitter: Nlio Laranjeiro <nelio.laranjeiro at 6wind.com>
Date: 2018-03-12 13:43:18
DPDK git baseline:
	Repo:dpdk-master, CommitID: 8ea41438832a360aed2b7ba49fb75e310a2ff1dc
	Repo:dpdk-next-eventdev, CommitID: 640b0d1e510e111694c25145466f37867453837f
	Repo:dpdk-next-net, CommitID: 774c1892c434dba09998ccc76b956feb72224571
	Repo:dpdk-next-crypto, CommitID: 728ca9b0d5abea82cd01dee6645456a9d56215f7
	Repo:dpdk-next-virtio, CommitID: 037c0996bc927342f157426739e0cb63f2db8689

*Repo: dpdk-master
Checking patch drivers/net/mlx5/mlx5.c...
error: while searching for:
		/* Bring Ethernet device up. */
		DRV_LOG(DEBUG, "port %u forcing Ethernet interface up",
			eth_dev->data->port_id);
		mlx5_set_flags(eth_dev, ~IFF_UP, IFF_UP);
		/* Store device configuration on private structure. */
		priv->config = config;
		continue;

error: patch failed: drivers/net/mlx5/mlx5.c:962
error: drivers/net/mlx5/mlx5.c: patch does not apply
Checking patch drivers/net/mlx5/mlx5_ethdev.c...
error: while searching for:
}

/**
 * Enable receiving and transmitting traffic.
 *
--
	dev->tx_pkt_burst = mlx5_select_tx_function(dev);
	dev->rx_pkt_burst = mlx5_select_rx_function(dev);
	ret = mlx5_traffic_enable(dev);
	if (ret) {
		DRV_LOG(ERR,
			"port %u error occurred while configuring control"
			" flows: %s",
			dev->data->port_id, strerror(rte_errno));
		return;
	}
	ret = mlx5_flow_start(dev, &priv->flows);
	if (ret)
		DRV_LOG(ERR,
			"port %u error occurred while configuring flows: %s",
			dev->data->port_id, strerror(rte_errno));
}

/**
 * Disable receiving and transmitting traffic.
 *
--
/**
 * DPDK callback to retrieve physical link information.
 *
 * @param dev

error: patch failed: drivers/net/mlx5/mlx5_ethdev.c:645
error: drivers/net/mlx5/mlx5_ethdev.c: patch does not apply
Checking patch drivers/net/mlx5/mlx5_trigger.c...
error: while searching for:
		goto error;
	}
	mlx5_xstats_init(dev);
	/* Update link status and Tx/Rx callbacks for the first time. */
	memset(&dev->data->dev_link, 0, sizeof(struct rte_eth_link));
	DRV_LOG(INFO, "forcing port %u link to be up", dev->data->port_id);
	ret = mlx5_force_link_status_change(dev, ETH_LINK_UP);
	if (ret) {
		DRV_LOG(DEBUG, "failed to set port %u link to be up",
			dev->data->port_id);
		goto error;
	}
	mlx5_dev_interrupt_handler_install(dev);
	return 0;
error:

error: patch failed: drivers/net/mlx5/mlx5_trigger.c:176
error: drivers/net/mlx5/mlx5_trigger.c: patch does not apply
*Repo: dpdk-next-eventdev
Checking patch drivers/net/mlx5/mlx5.c...
error: while searching for:
		/* Bring Ethernet device up. */
		DRV_LOG(DEBUG, "port %u forcing Ethernet interface up",
			eth_dev->data->port_id);
		mlx5_set_flags(eth_dev, ~IFF_UP, IFF_UP);
		/* Store device configuration on private structure. */
		priv->config = config;
		continue;

error: patch failed: drivers/net/mlx5/mlx5.c:962
error: drivers/net/mlx5/mlx5.c: patch does not apply
Checking patch drivers/net/mlx5/mlx5_ethdev.c...
error: while searching for:
}

/**
 * Enable receiving and transmitting traffic.
 *
--
	dev->tx_pkt_burst = mlx5_select_tx_function(dev);
	dev->rx_pkt_burst = mlx5_select_rx_function(dev);
	ret = mlx5_traffic_enable(dev);
	if (ret) {
		DRV_LOG(ERR,
			"port %u error occurred while configuring control"
			" flows: %s",
			dev->data->port_id, strerror(rte_errno));
		return;
	}
	ret = mlx5_flow_start(dev, &priv->flows);
	if (ret)
		DRV_LOG(ERR,
			"port %u error occurred while configuring flows: %s",
			dev->data->port_id, strerror(rte_errno));
}

/**
 * Disable receiving and transmitting traffic.
 *
--
/**
 * DPDK callback to retrieve physical link information.
 *
 * @param dev

error: patch failed: drivers/net/mlx5/mlx5_ethdev.c:645
error: drivers/net/mlx5/mlx5_ethdev.c: patch does not apply
Checking patch drivers/net/mlx5/mlx5_trigger.c...
error: while searching for:
		goto error;
	}
	mlx5_xstats_init(dev);
	/* Update link status and Tx/Rx callbacks for the first time. */
	memset(&dev->data->dev_link, 0, sizeof(struct rte_eth_link));
	DRV_LOG(INFO, "forcing port %u link to be up", dev->data->port_id);
	ret = mlx5_force_link_status_change(dev, ETH_LINK_UP);
	if (ret) {
		DRV_LOG(DEBUG, "failed to set port %u link to be up",
			dev->data->port_id);
		goto error;
	}
	mlx5_dev_interrupt_handler_install(dev);
	return 0;
error:

error: patch failed: drivers/net/mlx5/mlx5_trigger.c:176
error: drivers/net/mlx5/mlx5_trigger.c: patch does not apply
*Repo: dpdk-next-net
Checking patch drivers/net/mlx5/mlx5.c...
error: while searching for:
		/* Bring Ethernet device up. */
		DRV_LOG(DEBUG, "port %u forcing Ethernet interface up",
			eth_dev->data->port_id);
		mlx5_set_flags(eth_dev, ~IFF_UP, IFF_UP);
		/* Store device configuration on private structure. */
		priv->config = config;
		continue;

error: patch failed: drivers/net/mlx5/mlx5.c:962
error: drivers/net/mlx5/mlx5.c: patch does not apply
Checking patch drivers/net/mlx5/mlx5_ethdev.c...
error: while searching for:
}

/**
 * Enable receiving and transmitting traffic.
 *
--
	dev->tx_pkt_burst = mlx5_select_tx_function(dev);
	dev->rx_pkt_burst = mlx5_select_rx_function(dev);
	ret = mlx5_traffic_enable(dev);
	if (ret) {
		DRV_LOG(ERR,
			"port %u error occurred while configuring control"
			" flows: %s",
			dev->data->port_id, strerror(rte_errno));
		return;
	}
	ret = mlx5_flow_start(dev, &priv->flows);
	if (ret)
		DRV_LOG(ERR,
			"port %u error occurred while configuring flows: %s",
			dev->data->port_id, strerror(rte_errno));
}

/**
 * Disable receiving and transmitting traffic.
 *
--
/**
 * DPDK callback to retrieve physical link information.
 *
 * @param dev

error: patch failed: drivers/net/mlx5/mlx5_ethdev.c:645
error: drivers/net/mlx5/mlx5_ethdev.c: patch does not apply
Checking patch drivers/net/mlx5/mlx5_trigger.c...
error: while searching for:
		goto error;
	}
	mlx5_xstats_init(dev);
	/* Update link status and Tx/Rx callbacks for the first time. */
	memset(&dev->data->dev_link, 0, sizeof(struct rte_eth_link));
	DRV_LOG(INFO, "forcing port %u link to be up", dev->data->port_id);
	ret = mlx5_force_link_status_change(dev, ETH_LINK_UP);
	if (ret) {
		DRV_LOG(DEBUG, "failed to set port %u link to be up",
			dev->data->port_id);
		goto error;
	}
	mlx5_dev_interrupt_handler_install(dev);
	return 0;
error:

error: patch failed: drivers/net/mlx5/mlx5_trigger.c:176
error: drivers/net/mlx5/mlx5_trigger.c: patch does not apply
*Repo: dpdk-next-crypto
Checking patch drivers/net/mlx5/mlx5.c...
error: while searching for:
		/* Bring Ethernet device up. */
		DRV_LOG(DEBUG, "port %u forcing Ethernet interface up",
			eth_dev->data->port_id);
		mlx5_set_flags(eth_dev, ~IFF_UP, IFF_UP);
		/* Store device configuration on private structure. */
		priv->config = config;
		continue;

error: patch failed: drivers/net/mlx5/mlx5.c:962
error: drivers/net/mlx5/mlx5.c: patch does not apply
Checking patch drivers/net/mlx5/mlx5_ethdev.c...
error: while searching for:
}

/**
 * Enable receiving and transmitting traffic.
 *
--
	dev->tx_pkt_burst = mlx5_select_tx_function(dev);
	dev->rx_pkt_burst = mlx5_select_rx_function(dev);
	ret = mlx5_traffic_enable(dev);
	if (ret) {
		DRV_LOG(ERR,
			"port %u error occurred while configuring control"
			" flows: %s",
			dev->data->port_id, strerror(rte_errno));
		return;
	}
	ret = mlx5_flow_start(dev, &priv->flows);
	if (ret)
		DRV_LOG(ERR,
			"port %u error occurred while configuring flows: %s",
			dev->data->port_id, strerror(rte_errno));
}

/**
 * Disable receiving and transmitting traffic.
 *
--
/**
 * DPDK callback to retrieve physical link information.
 *
 * @param dev

error: patch failed: drivers/net/mlx5/mlx5_ethdev.c:645
error: drivers/net/mlx5/mlx5_ethdev.c: patch does not apply
Checking patch drivers/net/mlx5/mlx5_trigger.c...
error: while searching for:
		goto error;
	}
	mlx5_xstats_init(dev);
	/* Update link status and Tx/Rx callbacks for the first time. */
	memset(&dev->data->dev_link, 0, sizeof(struct rte_eth_link));
	DRV_LOG(INFO, "forcing port %u link to be up", dev->data->port_id);
	ret = mlx5_force_link_status_change(dev, ETH_LINK_UP);
	if (ret) {
		DRV_LOG(DEBUG, "failed to set port %u link to be up",
			dev->data->port_id);
		goto error;
	}
	mlx5_dev_interrupt_handler_install(dev);
	return 0;
error:

error: patch failed: drivers/net/mlx5/mlx5_trigger.c:176
error: drivers/net/mlx5/mlx5_trigger.c: patch does not apply
*Repo: dpdk-next-virtio
Checking patch drivers/net/mlx5/mlx5.c...
error: while searching for:
		/* Bring Ethernet device up. */
		DRV_LOG(DEBUG, "port %u forcing Ethernet interface up",
			eth_dev->data->port_id);
		mlx5_set_flags(eth_dev, ~IFF_UP, IFF_UP);
		/* Store device configuration on private structure. */
		priv->config = config;
		continue;

error: patch failed: drivers/net/mlx5/mlx5.c:962
error: drivers/net/mlx5/mlx5.c: patch does not apply
Checking patch drivers/net/mlx5/mlx5_ethdev.c...
error: while searching for:
}

/**
 * Enable receiving and transmitting traffic.
 *
--
	dev->tx_pkt_burst = mlx5_select_tx_function(dev);
	dev->rx_pkt_burst = mlx5_select_rx_function(dev);
	ret = mlx5_traffic_enable(dev);
	if (ret) {
		DRV_LOG(ERR,
			"port %u error occurred while configuring control"
			" flows: %s",
			dev->data->port_id, strerror(rte_errno));
		return;
	}
	ret = mlx5_flow_start(dev, &priv->flows);
	if (ret)
		DRV_LOG(ERR,
			"port %u error occurred while configuring flows: %s",
			dev->data->port_id, strerror(rte_errno));
}

/**
 * Disable receiving and transmitting traffic.
 *
--
/**
 * DPDK callback to retrieve physical link information.
 *
 * @param dev

error: patch failed: drivers/net/mlx5/mlx5_ethdev.c:645
error: drivers/net/mlx5/mlx5_ethdev.c: patch does not apply
Checking patch drivers/net/mlx5/mlx5_trigger.c...
error: while searching for:
		goto error;
	}
	mlx5_xstats_init(dev);
	/* Update link status and Tx/Rx callbacks for the first time. */
	memset(&dev->data->dev_link, 0, sizeof(struct rte_eth_link));
	DRV_LOG(INFO, "forcing port %u link to be up", dev->data->port_id);
	ret = mlx5_force_link_status_change(dev, ETH_LINK_UP);
	if (ret) {
		DRV_LOG(DEBUG, "failed to set port %u link to be up",
			dev->data->port_id);
		goto error;
	}
	mlx5_dev_interrupt_handler_install(dev);
	return 0;
error:

error: patch failed: drivers/net/mlx5/mlx5_trigger.c:176
error: drivers/net/mlx5/mlx5_trigger.c: patch does not apply

DPDK STV team


More information about the test-report mailing list