Thread (220 messages) 220 messages, 13 authors, 2018-10-27

Re: [PATCH 01/11] telemetry: initial telemetry infrastructure

From: Stephen Hemminger <stephen@networkplumber.org>
Date: 2018-08-23 23:17:09

On Thu, 23 Aug 2018 13:08:03 +0100
Ciara Power [off-list ref] wrote:
+
+static int
+telemetry_probe(struct rte_vdev_device *vdev)
+{
+	int ret;
+
+	RTE_SET_USED(vdev);
+	ret = rte_telemetry_init(rte_socket_id());
+	if (ret < 0) {
+		printf("Error - Telemetry initialisation failed\n");
+		return -1;
+	}
+	return 0;
+}
+
+static int
+telemetry_remove(struct rte_vdev_device *vdev)
+{
+	const char *name;
+	name = rte_vdev_device_name(vdev);
+	printf("Uninitialising the device: %s\n", name);
Please use DPDK (rte) logging for all messages.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help