DPDK patches and discussions
 help / color / mirror / Atom feed
From: Qi Zhang <qi.z.zhang@intel.com>
To: thomas@monjalon.net, gaetan.rivet@6wind.com,
	anatoly.burakov@intel.com, arybchenko@solarflare.com
Cc: konstantin.ananyev@intel.com, dev@dpdk.org,
	bruce.richardson@intel.com, ferruh.yigit@intel.com,
	benjamin.h.shelton@intel.com, narender.vangati@intel.com,
	Qi Zhang <qi.z.zhang@intel.com>
Subject: [dpdk-dev] [PATCH v17 2/6] eal: enable hotplug on multi-process
Date: Tue, 16 Oct 2018 08:16:28 +0800	[thread overview]
Message-ID: <20181016001632.65357-3-qi.z.zhang@intel.com> (raw)
In-Reply-To: <20181016001632.65357-1-qi.z.zhang@intel.com>

We are going to introduce the solution to handle hotplug in
multi-process, it includes the below scenario:

1. Attach a device from the primary
2. Detach a device from the primary
3. Attach a device from a secondary
4. Detach a device from a secondary

In the primary-secondary process model, we assume devices are shared
by default. that means attaches or detaches a device on any process
will broadcast to all other processes through mp channel then device
information will be synchronized on all processes.

Any failure during attaching/detaching process will cause inconsistent
status between processes, so proper rollback action should be considered.

This patch covers the implementation of case 1,2.
Case 3,4 will be implemented on a separate patch.

IPC scenario for Case 1, 2:

attach a device
a) primary attach the new device if failed goto h).
b) primary send attach sync request to all secondary.
c) secondary receive request and attach the device and send a reply.
d) primary check the reply if all success goes to i).
e) primary send attach rollback sync request to all secondary.
f) secondary receive the request and detach the device and send a reply.
g) primary receive the reply and detach device as rollback action.
h) attach fail
i) attach success

detach a device
a) primary send detach sync request to all secondary
b) secondary detach the device and send reply
c) primary check the reply if all success goes to f).
d) primary send detach rollback sync request to all secondary.
e) secondary receive the request and attach back device. goto g)
f) primary detach the device if success goto g), else goto d)
g) detach fail.
h) detach success.

Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>
---
 doc/guides/rel_notes/release_18_11.rst  |  13 ++
 lib/librte_eal/bsdapp/eal/Makefile      |   1 +
 lib/librte_eal/common/eal_common_dev.c  | 254 +++++++++++++++++++++++++++++---
 lib/librte_eal/common/eal_private.h     |  22 +++
 lib/librte_eal/common/hotplug_mp.c      | 221 +++++++++++++++++++++++++++
 lib/librte_eal/common/hotplug_mp.h      |  46 ++++++
 lib/librte_eal/common/include/rte_dev.h |  12 ++
 lib/librte_eal/common/include/rte_eal.h |   9 ++
 lib/librte_eal/common/meson.build       |   1 +
 lib/librte_eal/linuxapp/eal/Makefile    |   1 +
 lib/librte_eal/linuxapp/eal/eal.c       |   6 +
 11 files changed, 567 insertions(+), 19 deletions(-)
 create mode 100644 lib/librte_eal/common/hotplug_mp.c
 create mode 100644 lib/librte_eal/common/hotplug_mp.h

diff --git a/doc/guides/rel_notes/release_18_11.rst b/doc/guides/rel_notes/release_18_11.rst
index 436b20e2b..da2236fea 100644
--- a/doc/guides/rel_notes/release_18_11.rst
+++ b/doc/guides/rel_notes/release_18_11.rst
@@ -159,6 +159,13 @@ New Features
   this application doesn't need to launch dedicated worker threads for vhost
   enqueue/dequeue operations.
 
+* **Support device multi-process hotplug.**
+
+  Hotplug and hot-unplug for devices will now be supported in multiprocessing
+  scenario. Any ethdev devices created in the primary process will be regarded
+  as shared and will be available for all DPDK processes. Synchronization
+  between processes will be done using DPDK IPC.
+
 
 API Changes
 -----------
@@ -213,6 +220,12 @@ API Changes
 * eventdev: Type of 2nd parameter to ``rte_event_eth_rx_adapter_caps_get()``
   has been changed from uint8_t to uint16_t.
 
+* eal: scope of rte_eal_hotplug_add and rte_eal_hotplug_remove is extended.
+
+  In primary-secondary process model, ``rte_eal_hotplug_add`` will guarantee
+  that device be attached on all processes, while ``rte_eal_hotplug_remove``
+  will guarantee device be detached on all processes.
+
 
 ABI Changes
 -----------
diff --git a/lib/librte_eal/bsdapp/eal/Makefile b/lib/librte_eal/bsdapp/eal/Makefile
index 97bff4852..6e9bc02c5 100644
--- a/lib/librte_eal/bsdapp/eal/Makefile
+++ b/lib/librte_eal/bsdapp/eal/Makefile
@@ -62,6 +62,7 @@ SRCS-$(CONFIG_RTE_EXEC_ENV_BSDAPP) += eal_common_proc.c
 SRCS-$(CONFIG_RTE_EXEC_ENV_BSDAPP) += eal_common_fbarray.c
 SRCS-$(CONFIG_RTE_EXEC_ENV_BSDAPP) += eal_common_uuid.c
 SRCS-$(CONFIG_RTE_EXEC_ENV_BSDAPP) += rte_malloc.c
+SRCS-$(CONFIG_RTE_EXEC_ENV_BSDAPP) += hotplug_mp.c
 SRCS-$(CONFIG_RTE_EXEC_ENV_BSDAPP) += malloc_elem.c
 SRCS-$(CONFIG_RTE_EXEC_ENV_BSDAPP) += malloc_heap.c
 SRCS-$(CONFIG_RTE_EXEC_ENV_BSDAPP) += malloc_mp.c
diff --git a/lib/librte_eal/common/eal_common_dev.c b/lib/librte_eal/common/eal_common_dev.c
index 7663eaa3f..2209f8843 100644
--- a/lib/librte_eal/common/eal_common_dev.c
+++ b/lib/librte_eal/common/eal_common_dev.c
@@ -19,8 +19,10 @@
 #include <rte_log.h>
 #include <rte_spinlock.h>
 #include <rte_malloc.h>
+#include <rte_string_fns.h>
 
 #include "eal_private.h"
+#include "hotplug_mp.h"
 
 /**
  * The device event callback description.
@@ -127,37 +129,61 @@ int rte_eal_dev_detach(struct rte_device *dev)
 	return ret;
 }
 
-int
-rte_eal_hotplug_add(const char *busname, const char *devname,
-		    const char *drvargs)
+/* helper funciton to build devargs, caller should free the memory */
+static int
+build_devargs(const char *busname, const char *devname,
+	      const char *drvargs, char **devargs)
 {
-	int ret;
-	char *devargs = NULL;
 	int length;
+	char *da;
 
 	length = snprintf(NULL, 0, "%s:%s,%s", busname, devname, drvargs);
+
 	if (length < 0)
 		return -EINVAL;
-	devargs = malloc(length + 1);
-	if (devargs == NULL)
+
+	da = malloc(length + 1);
+	if (da == NULL)
 		return -ENOMEM;
-	ret = snprintf(devargs, length + 1, "%s:%s,%s", busname, devname, drvargs);
-	if (ret < 0)
+
+	if (snprintf(da, length + 1, "%s:%s,%s",
+		busname, devname, drvargs) < 0) {
+		free(da);
 		return -EINVAL;
+	}
 
-	ret = rte_dev_probe(devargs);
+	*devargs = da;
+	return 0;
+}
 
+int
+rte_eal_hotplug_add(const char *busname, const char *devname,
+		    const char *drvargs)
+{
+
+	char *devargs;
+	int ret;
+
+	ret = build_devargs(busname, devname, drvargs, &devargs);
+
+	if (ret != 0)
+		return ret;
+
+	ret = rte_dev_probe(devargs);
 	free(devargs);
+
 	return ret;
 }
 
-int __rte_experimental
-rte_dev_probe(const char *devargs)
+/* probe device at local process. */
+int
+local_dev_probe(const char *devargs, struct rte_device **new_dev)
 {
 	struct rte_device *dev;
 	struct rte_devargs *da;
 	int ret;
 
+	*new_dev = NULL;
 	da = calloc(1, sizeof(*da));
 	if (da == NULL)
 		return -ENOMEM;
@@ -174,11 +200,11 @@ rte_dev_probe(const char *devargs)
 	}
 
 	ret = rte_devargs_insert(da);
-	if (ret)
+	if (ret != 0)
 		goto err_devarg;
 
 	ret = da->bus->scan();
-	if (ret)
+	if (ret != 0)
 		goto err_devarg;
 
 	dev = da->bus->find_device(NULL, cmp_dev_name, da->name);
@@ -195,11 +221,13 @@ rte_dev_probe(const char *devargs)
 	}
 
 	ret = dev->bus->plug(dev);
-	if (ret) {
+	if (ret != 0) {
 		RTE_LOG(ERR, EAL, "Driver cannot attach the device (%s)\n",
 			dev->name);
 		goto err_devarg;
 	}
+
+	*new_dev = dev;
 	return 0;
 
 err_devarg:
@@ -231,8 +259,9 @@ rte_eal_hotplug_remove(const char *busname, const char *devname)
 	return rte_dev_remove(dev);
 }
 
-int __rte_experimental
-rte_dev_remove(struct rte_device *dev)
+/* remove device at local process. */
+int
+local_dev_remove(struct rte_device *dev)
 {
 	int ret;
 
@@ -248,10 +277,197 @@ rte_dev_remove(struct rte_device *dev)
 	}
 
 	ret = dev->bus->unplug(dev);
-	if (ret)
+	if (ret != 0)
 		RTE_LOG(ERR, EAL, "Driver cannot detach the device (%s)\n",
 			dev->name);
-	rte_devargs_remove(dev->devargs);
+	else
+		rte_devargs_remove(dev->devargs);
+
+	return ret;
+}
+
+int __rte_experimental
+rte_dev_probe(const char *devargs)
+{
+	struct eal_dev_mp_req req;
+	struct rte_device *dev;
+	int ret;
+
+	memset(&req, 0, sizeof(req));
+	req.t = EAL_DEV_REQ_TYPE_ATTACH;
+	strlcpy(req.devargs, devargs, EAL_DEV_MP_DEV_ARGS_MAX_LEN);
+
+	if (rte_eal_process_type() != RTE_PROC_PRIMARY) {
+		/**
+		 * If in secondary process, just send IPC request to
+		 * primary process.
+		 */
+		ret = eal_dev_hotplug_request_to_primary(&req);
+		if (ret != 0) {
+			RTE_LOG(ERR, EAL,
+				"Failed to send hotplug request to primary\n");
+			return -ENOMSG;
+		}
+		if (req.result != 0)
+			RTE_LOG(ERR, EAL,
+				"Failed to hotplug add device\n");
+		return req.result;
+	}
+
+	/* attach a shared device from primary start from here: */
+
+	/* primary attach the new device itself. */
+	ret = local_dev_probe(devargs, &dev);
+
+	if (ret != 0) {
+		RTE_LOG(ERR, EAL,
+			"Failed to attach device on primary process\n");
+
+		/**
+		 * it is possible that secondary process failed to attached a
+		 * device that primary process have during initialization,
+		 * so for -EEXIST case, we still need to sync with secondary
+		 * process.
+		 */
+		if (ret != -EEXIST)
+			return ret;
+	}
+
+	/* primary send attach sync request to secondary. */
+	ret = eal_dev_hotplug_request_to_secondary(&req);
+
+	/* if any communication error, we need to rollback. */
+	if (ret != 0) {
+		RTE_LOG(ERR, EAL,
+			"Failed to send hotplug add request to secondary\n");
+		ret = -ENOMSG;
+		goto rollback;
+	}
+
+	/**
+	 * if any secondary failed to attach, we need to consider if rollback
+	 * is necessary.
+	 */
+	if (req.result != 0) {
+		RTE_LOG(ERR, EAL,
+			"Failed to attach device on secondary process\n");
+		ret = req.result;
+
+		/* for -EEXIST, we don't need to rollback. */
+		if (ret == -EEXIST)
+			return ret;
+		goto rollback;
+	}
+
+	return 0;
+
+rollback:
+	req.t = EAL_DEV_REQ_TYPE_ATTACH_ROLLBACK;
+
+	/* primary send rollback request to secondary. */
+	if (eal_dev_hotplug_request_to_secondary(&req) != 0)
+		RTE_LOG(WARNING, EAL,
+			"Failed to rollback device attach on secondary."
+			"Devices in secondary may not sync with primary\n");
+
+	/* primary rollback itself. */
+	if (local_dev_remove(dev) != 0)
+		RTE_LOG(WARNING, EAL,
+			"Failed to rollback device attach on primary."
+			"Devices in secondary may not sync with primary\n");
+
+	return ret;
+}
+
+int __rte_experimental
+rte_dev_remove(struct rte_device *dev)
+{
+	struct eal_dev_mp_req req;
+	char *devargs;
+	int ret;
+
+	ret = build_devargs(dev->devargs->bus->name, dev->name, "", &devargs);
+	if (ret != 0)
+		return ret;
+
+	memset(&req, 0, sizeof(req));
+	req.t = EAL_DEV_REQ_TYPE_DETACH;
+	strlcpy(req.devargs, devargs, EAL_DEV_MP_DEV_ARGS_MAX_LEN);
+	free(devargs);
+
+	if (rte_eal_process_type() != RTE_PROC_PRIMARY) {
+		/**
+		 * If in secondary process, just send IPC request to
+		 * primary process.
+		 */
+		ret = eal_dev_hotplug_request_to_primary(&req);
+		if (ret != 0) {
+			RTE_LOG(ERR, EAL,
+				"Failed to send hotplug request to primary\n");
+			return -ENOMSG;
+		}
+		if (req.result != 0)
+			RTE_LOG(ERR, EAL,
+				"Failed to hotplug remove device\n");
+		return req.result;
+	}
+
+	/* detach a device from primary start from here: */
+
+	/* primary send detach sync request to secondary */
+	ret = eal_dev_hotplug_request_to_secondary(&req);
+
+	/**
+	 * if communication error, we need to rollback, because it is possible
+	 * part of the secondary processes still detached it successfully.
+	 */
+	if (ret != 0) {
+		RTE_LOG(ERR, EAL,
+			"Failed to send device detach request to secondary\n");
+		ret = -ENOMSG;
+		goto rollback;
+	}
+
+	/**
+	 * if any secondary failed to detach, we need to consider if rollback
+	 * is necessary.
+	 */
+	if (req.result != 0) {
+		RTE_LOG(ERR, EAL,
+			"Failed to detach device on secondary process\n");
+		ret = req.result;
+		/**
+		 * if -ENOENT, we don't need to rollback, since devices is
+		 * already detached on secondary process.
+		 */
+		if (ret != -ENOENT)
+			goto rollback;
+	}
+
+	/* primary detach the device itself. */
+	ret = local_dev_remove(dev);
+
+	/* if primary failed, still need to consider if rollback is necessary */
+	if (ret != 0) {
+		RTE_LOG(ERR, EAL,
+			"Failed to detach device on primary process\n");
+		/* if -ENOENT, we don't need to rollback */
+		if (ret == -ENOENT)
+			return ret;
+		goto rollback;
+	}
+
+	return 0;
+
+rollback:
+	req.t = EAL_DEV_REQ_TYPE_DETACH_ROLLBACK;
+
+	/* primary send rollback request to secondary. */
+	if (eal_dev_hotplug_request_to_secondary(&req) != 0)
+		RTE_LOG(WARNING, EAL,
+			"Failed to rollback device detach on secondary."
+			"Devices in secondary may not sync with primary\n");
+
 	return ret;
 }
 
diff --git a/lib/librte_eal/common/eal_private.h b/lib/librte_eal/common/eal_private.h
index 4f809a83c..2ad94e435 100644
--- a/lib/librte_eal/common/eal_private.h
+++ b/lib/librte_eal/common/eal_private.h
@@ -304,4 +304,26 @@ int
 rte_devargs_layers_parse(struct rte_devargs *devargs,
 			 const char *devstr);
 
+/*
+ * probe a device at local process.
+ *
+ * @param devargs
+ *   Device arguments including bus, class and driver properties.
+ * @param new_dev
+ *   new device be probed as output.
+ * @return
+ *   0 on success, negative on error.
+ */
+int local_dev_probe(const char *devargs, struct rte_device **new_dev);
+
+/**
+ * Hotplug remove a given device from a specific bus at local process.
+ *
+ * @param dev
+ *   Data structure of the device to remove.
+ * @return
+ *   0 on success, negative on error.
+ */
+int local_dev_remove(struct rte_device *dev);
+
 #endif /* _EAL_PRIVATE_H_ */
diff --git a/lib/librte_eal/common/hotplug_mp.c b/lib/librte_eal/common/hotplug_mp.c
new file mode 100644
index 000000000..92d8f50d3
--- /dev/null
+++ b/lib/librte_eal/common/hotplug_mp.c
@@ -0,0 +1,221 @@
+/* SPDX-License-Identifier: BSD-3-Clause
+ * Copyright(c) 2018 Intel Corporation
+ */
+#include <string.h>
+
+#include <rte_eal.h>
+#include <rte_alarm.h>
+#include <rte_string_fns.h>
+#include <rte_devargs.h>
+
+#include "hotplug_mp.h"
+#include "eal_private.h"
+
+#define MP_TIMEOUT_S 5 /**< 5 seconds timeouts */
+
+static int cmp_dev_name(const struct rte_device *dev, const void *_name)
+{
+	const char *name = _name;
+
+	return strcmp(dev->name, name);
+}
+
+struct mp_reply_bundle {
+	struct rte_mp_msg msg;
+	void *peer;
+};
+
+static int
+handle_secondary_request(const struct rte_mp_msg *msg, const void *peer)
+{
+	RTE_SET_USED(msg);
+	RTE_SET_USED(peer);
+	return -ENOTSUP;
+}
+
+static void __handle_primary_request(void *param)
+{
+	struct mp_reply_bundle *bundle = param;
+	struct rte_mp_msg *msg = &bundle->msg;
+	const struct eal_dev_mp_req *req =
+		(const struct eal_dev_mp_req *)msg->param;
+	struct rte_mp_msg mp_resp;
+	struct eal_dev_mp_req *resp =
+		(struct eal_dev_mp_req *)mp_resp.param;
+	struct rte_devargs *da;
+	struct rte_device *dev;
+	struct rte_bus *bus;
+	int ret = 0;
+
+	memset(&mp_resp, 0, sizeof(mp_resp));
+
+	switch (req->t) {
+	case EAL_DEV_REQ_TYPE_ATTACH:
+	case EAL_DEV_REQ_TYPE_DETACH_ROLLBACK:
+		ret = local_dev_probe(req->devargs, &dev);
+		break;
+	case EAL_DEV_REQ_TYPE_DETACH:
+	case EAL_DEV_REQ_TYPE_ATTACH_ROLLBACK:
+		da = calloc(1, sizeof(*da));
+		if (da == NULL) {
+			ret = -ENOMEM;
+			goto quit;
+		}
+
+		ret = rte_devargs_parse(da, req->devargs);
+		if (ret != 0)
+			goto quit;
+
+		bus = rte_bus_find_by_name(da->bus->name);
+		if (bus == NULL) {
+			RTE_LOG(ERR, EAL, "Cannot find bus (%s)\n", da->bus->name);
+			ret = -ENOENT;
+			goto quit;
+		}
+
+		dev = bus->find_device(NULL, cmp_dev_name, da->name);
+		if (dev == NULL) {
+			RTE_LOG(ERR, EAL, "Cannot find plugged device (%s)\n", da->name);
+			ret = -ENOENT;
+			goto quit;
+		}
+
+		ret = local_dev_remove(dev);
+quit:
+		break;
+	default:
+		ret = -EINVAL;
+	}
+
+	strlcpy(mp_resp.name, EAL_DEV_MP_ACTION_REQUEST, sizeof(mp_resp.name));
+	mp_resp.len_param = sizeof(*req);
+	memcpy(resp, req, sizeof(*resp));
+	resp->result = ret;
+	if (rte_mp_reply(&mp_resp, bundle->peer) < 0)
+		RTE_LOG(ERR, EAL, "failed to send reply to primary request\n");
+
+	free(bundle->peer);
+	free(bundle);
+}
+
+static int
+handle_primary_request(const struct rte_mp_msg *msg, const void *peer)
+{
+	struct rte_mp_msg mp_resp;
+	const struct eal_dev_mp_req *req =
+		(const struct eal_dev_mp_req *)msg->param;
+	struct eal_dev_mp_req *resp =
+		(struct eal_dev_mp_req *)mp_resp.param;
+	struct mp_reply_bundle *bundle;
+	int ret = 0;
+
+	memset(&mp_resp, 0, sizeof(mp_resp));
+	strlcpy(mp_resp.name, EAL_DEV_MP_ACTION_REQUEST, sizeof(mp_resp.name));
+	mp_resp.len_param = sizeof(*req);
+	memcpy(resp, req, sizeof(*resp));
+
+	bundle = calloc(1, sizeof(*bundle));
+	if (bundle == NULL) {
+		resp->result = -ENOMEM;
+		ret = rte_mp_reply(&mp_resp, peer);
+		if (ret)
+			RTE_LOG(ERR, EAL, "failed to send reply to primary request\n");
+		return ret;
+	}
+
+	bundle->msg = *msg;
+	/**
+	 * We need to send reply on interrupt thread, but peer can't be
+	 * parsed directly, so this is a temporal hack, need to be fixed
+	 * when it is ready.
+	 */
+	bundle->peer = (void *)strdup(peer);
+
+	/**
+	 * We are at IPC callback thread, sync IPC is not allowed due to
+	 * dead lock, so we delegate the task to interrupt thread.
+	 */
+	ret = rte_eal_alarm_set(1, __handle_primary_request, bundle);
+	if (ret != 0) {
+		resp->result = ret;
+		ret = rte_mp_reply(&mp_resp, peer);
+		if  (ret != 0) {
+			RTE_LOG(ERR, EAL, "failed to send reply to primary request\n");
+			return ret;
+		}
+	}
+	return 0;
+}
+
+int eal_dev_hotplug_request_to_primary(struct eal_dev_mp_req *req)
+{
+	RTE_SET_USED(req);
+	return -ENOTSUP;
+}
+
+int eal_dev_hotplug_request_to_secondary(struct eal_dev_mp_req *req)
+{
+	struct rte_mp_msg mp_req;
+	struct rte_mp_reply mp_reply;
+	struct timespec ts = {.tv_sec = MP_TIMEOUT_S, .tv_nsec = 0};
+	int ret;
+	int i;
+
+	memset(&mp_req, 0, sizeof(mp_req));
+	memcpy(mp_req.param, req, sizeof(*req));
+	mp_req.len_param = sizeof(*req);
+	strlcpy(mp_req.name, EAL_DEV_MP_ACTION_REQUEST, sizeof(mp_req.name));
+
+	ret = rte_mp_request_sync(&mp_req, &mp_reply, &ts);
+	if (ret != 0) {
+		RTE_LOG(ERR, EAL, "rte_mp_request_sync failed\n");
+		return ret;
+	}
+
+	if (mp_reply.nb_sent != mp_reply.nb_received) {
+		RTE_LOG(ERR, EAL, "not all secondary reply\n");
+		return -1;
+	}
+
+	req->result = 0;
+	for (i = 0; i < mp_reply.nb_received; i++) {
+		struct eal_dev_mp_req *resp =
+			(struct eal_dev_mp_req *)mp_reply.msgs[i].param;
+		if (resp->result != 0) {
+			req->result = resp->result;
+			if (req->t == EAL_DEV_REQ_TYPE_ATTACH &&
+				req->result != -EEXIST)
+				break;
+			if (req->t == EAL_DEV_REQ_TYPE_DETACH &&
+				req->result != -ENOENT)
+				break;
+		}
+	}
+
+	return 0;
+}
+
+int rte_mp_dev_hotplug_init(void)
+{
+	int ret;
+
+	if (rte_eal_process_type() == RTE_PROC_PRIMARY) {
+		ret = rte_mp_action_register(EAL_DEV_MP_ACTION_REQUEST,
+					handle_secondary_request);
+		if (ret != 0) {
+			RTE_LOG(ERR, EAL, "Couldn't register '%s' action\n",
+				EAL_DEV_MP_ACTION_REQUEST);
+			return ret;
+		}
+	} else {
+		ret = rte_mp_action_register(EAL_DEV_MP_ACTION_REQUEST,
+					handle_primary_request);
+		if (ret != 0) {
+			RTE_LOG(ERR, EAL, "Couldn't register '%s' action\n",
+				EAL_DEV_MP_ACTION_REQUEST);
+			return ret;
+		}
+	}
+
+	return 0;
+}
diff --git a/lib/librte_eal/common/hotplug_mp.h b/lib/librte_eal/common/hotplug_mp.h
new file mode 100644
index 000000000..597fde3d7
--- /dev/null
+++ b/lib/librte_eal/common/hotplug_mp.h
@@ -0,0 +1,46 @@
+/* SPDX-License-Identifier: BSD-3-Clause
+ * Copyright(c) 2018 Intel Corporation
+ */
+
+#ifndef _HOTPLUG_MP_H_
+#define _HOTPLUG_MP_H_
+
+#include "rte_dev.h"
+#include "rte_bus.h"
+
+#define EAL_DEV_MP_ACTION_REQUEST      "eal_dev_mp_request"
+#define EAL_DEV_MP_ACTION_RESPONSE     "eal_dev_mp_response"
+
+#define EAL_DEV_MP_DEV_NAME_MAX_LEN RTE_DEV_NAME_MAX_LEN
+#define EAL_DEV_MP_BUS_NAME_MAX_LEN 32
+#define EAL_DEV_MP_DEV_ARGS_MAX_LEN 128
+
+enum eal_dev_req_type {
+	EAL_DEV_REQ_TYPE_ATTACH,
+	EAL_DEV_REQ_TYPE_DETACH,
+	EAL_DEV_REQ_TYPE_ATTACH_ROLLBACK,
+	EAL_DEV_REQ_TYPE_DETACH_ROLLBACK,
+};
+
+struct eal_dev_mp_req {
+	enum eal_dev_req_type t;
+	char devargs[EAL_DEV_MP_DEV_ARGS_MAX_LEN];
+	int result;
+};
+
+/**
+ * This is a synchronous wrapper for secondary process send
+ * request to primary process, this is invoked when an attach
+ * or detach request is issued from primary process.
+ */
+int eal_dev_hotplug_request_to_primary(struct eal_dev_mp_req *req);
+
+/**
+ * this is a synchronous wrapper for primary process send
+ * request to secondary process, this is invoked when an attach
+ * or detach request issued from secondary process.
+ */
+int eal_dev_hotplug_request_to_secondary(struct eal_dev_mp_req *req);
+
+
+#endif /* _HOTPLUG_MP_H_ */
diff --git a/lib/librte_eal/common/include/rte_dev.h b/lib/librte_eal/common/include/rte_dev.h
index 036180ff3..696cf7bbe 100644
--- a/lib/librte_eal/common/include/rte_dev.h
+++ b/lib/librte_eal/common/include/rte_dev.h
@@ -192,6 +192,9 @@ int rte_eal_dev_detach(struct rte_device *dev);
 /**
  * Hotplug add a given device to a specific bus.
  *
+ * In multi-process, it will request other processes to add the same device.
+ * A failure, in any process, will rollback the action
+ *
  * @param busname
  *   The bus name the device is added to.
  * @param devname
@@ -211,6 +214,9 @@ int rte_eal_hotplug_add(const char *busname, const char *devname,
  *
  * Add matching devices.
  *
+ * In multi-process, it will request other processes to add the same device.
+ * A failure, in any process, will rollback the action
+ *
  * @param devargs
  *   Device arguments including bus, class and driver properties.
  * @return
@@ -221,6 +227,9 @@ int __rte_experimental rte_dev_probe(const char *devargs);
 /**
  * Hotplug remove a given device from a specific bus.
  *
+ * In multi-process, it will request other processes to remove the same device.
+ * A failure, in any process, will rollback the action
+ *
  * @param busname
  *   The bus name the device is removed from.
  * @param devname
@@ -236,6 +245,9 @@ int rte_eal_hotplug_remove(const char *busname, const char *devname);
  *
  * Remove one device.
  *
+ * In multi-process, it will request other processes to remove the same device.
+ * A failure, in any process, will rollback the action
+ *
  * @param dev
  *   Data structure of the device to remove.
  * @return
diff --git a/lib/librte_eal/common/include/rte_eal.h b/lib/librte_eal/common/include/rte_eal.h
index e114dcbdc..3ee897c1d 100644
--- a/lib/librte_eal/common/include/rte_eal.h
+++ b/lib/librte_eal/common/include/rte_eal.h
@@ -378,6 +378,15 @@ int __rte_experimental
 rte_mp_reply(struct rte_mp_msg *msg, const char *peer);
 
 /**
+ * Register all mp action callbacks for hotplug.
+ *
+ * @return
+ *   0 on success, negative on error.
+ */
+int __rte_experimental
+rte_mp_dev_hotplug_init(void);
+
+/**
  * Usage function typedef used by the application usage function.
  *
  * Use this function typedef to define and call rte_set_application_usage_hook()
diff --git a/lib/librte_eal/common/meson.build b/lib/librte_eal/common/meson.build
index b7fc98499..04c414356 100644
--- a/lib/librte_eal/common/meson.build
+++ b/lib/librte_eal/common/meson.build
@@ -28,6 +28,7 @@ common_sources = files(
 	'eal_common_thread.c',
 	'eal_common_timer.c',
 	'eal_common_uuid.c',
+	'hotplug_mp.c',
 	'malloc_elem.c',
 	'malloc_heap.c',
 	'malloc_mp.c',
diff --git a/lib/librte_eal/linuxapp/eal/Makefile b/lib/librte_eal/linuxapp/eal/Makefile
index 5c16bc40f..736bc6569 100644
--- a/lib/librte_eal/linuxapp/eal/Makefile
+++ b/lib/librte_eal/linuxapp/eal/Makefile
@@ -70,6 +70,7 @@ SRCS-$(CONFIG_RTE_EXEC_ENV_LINUXAPP) += eal_common_proc.c
 SRCS-$(CONFIG_RTE_EXEC_ENV_LINUXAPP) += eal_common_fbarray.c
 SRCS-$(CONFIG_RTE_EXEC_ENV_LINUXAPP) += eal_common_uuid.c
 SRCS-$(CONFIG_RTE_EXEC_ENV_LINUXAPP) += rte_malloc.c
+SRCS-$(CONFIG_RTE_EXEC_ENV_LINUXAPP) += hotplug_mp.c
 SRCS-$(CONFIG_RTE_EXEC_ENV_LINUXAPP) += malloc_elem.c
 SRCS-$(CONFIG_RTE_EXEC_ENV_LINUXAPP) += malloc_heap.c
 SRCS-$(CONFIG_RTE_EXEC_ENV_LINUXAPP) += malloc_mp.c
diff --git a/lib/librte_eal/linuxapp/eal/eal.c b/lib/librte_eal/linuxapp/eal/eal.c
index 950f33f2c..d342a04f0 100644
--- a/lib/librte_eal/linuxapp/eal/eal.c
+++ b/lib/librte_eal/linuxapp/eal/eal.c
@@ -888,6 +888,12 @@ rte_eal_init(int argc, char **argv)
 		}
 	}
 
+	/* register multi-process action callbacks for hotplug */
+	if (rte_mp_dev_hotplug_init() < 0) {
+		rte_eal_init_alert("failed to register mp callback for hotplug\n");
+		return -1;
+	}
+
 	if (rte_bus_scan()) {
 		rte_eal_init_alert("Cannot scan the buses for devices\n");
 		rte_errno = ENODEV;
-- 
2.13.6

  parent reply	other threads:[~2018-10-16  0:15 UTC|newest]

Thread overview: 488+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-07 12:38 [dpdk-dev] [PATCH 00/22] " Qi Zhang
2018-06-07 12:38 ` [dpdk-dev] [PATCH 01/22] eal: introduce one device scan Qi Zhang
2018-06-08 11:12   ` Shreyansh Jain
2018-06-13 13:32     ` Zhang, Qi Z
2018-06-07 12:38 ` [dpdk-dev] [PATCH 02/22] bus/vdev: enable " Qi Zhang
2018-06-08 12:08   ` Shreyansh Jain
2018-06-13 13:32     ` Zhang, Qi Z
2018-06-07 12:38 ` [dpdk-dev] [PATCH 03/22] ethdev: add function to release port in local process Qi Zhang
2018-06-07 12:38 ` [dpdk-dev] [PATCH 04/22] ethdev: enable hotplug on multi-process Qi Zhang
2018-06-15 15:44   ` Burakov, Anatoly
2018-06-18  8:18   ` Burakov, Anatoly
2018-06-19  3:22     ` Zhang, Qi Z
2018-06-19  8:37       ` Burakov, Anatoly
2018-06-07 12:38 ` [dpdk-dev] [PATCH 05/22] ethdev: introduce device lock Qi Zhang
2018-06-15 15:42   ` Burakov, Anatoly
2018-06-20  4:00     ` Zhang, Qi Z
2018-06-15 16:09   ` Stephen Hemminger
2018-06-19 14:16     ` Zhang, Qi Z
2018-06-07 12:38 ` [dpdk-dev] [PATCH 06/22] ethdev: support attach or detach share device from secondary Qi Zhang
2018-06-18  8:51   ` Burakov, Anatoly
2018-06-19  3:33     ` Zhang, Qi Z
2018-06-07 12:38 ` [dpdk-dev] [PATCH 07/22] net/i40e: enable port detach on secondary process Qi Zhang
2018-06-07 12:38 ` [dpdk-dev] [PATCH 08/22] net/ixgbe: " Qi Zhang
2018-06-07 12:38 ` [dpdk-dev] [PATCH 09/22] net/e1000: " Qi Zhang
2018-06-07 12:38 ` [dpdk-dev] [PATCH 10/22] net/igb: " Qi Zhang
2018-06-07 12:38 ` [dpdk-dev] [PATCH 11/22] net/fm10k: " Qi Zhang
2018-06-07 12:38 ` [dpdk-dev] [PATCH 12/22] net/af_packet: " Qi Zhang
2018-06-07 12:38 ` [dpdk-dev] [PATCH 13/22] net/bonding: " Qi Zhang
2018-06-07 14:21   ` Chas Williams
2018-06-07 12:38 ` [dpdk-dev] [PATCH 14/22] net/failsafe: " Qi Zhang
2018-06-07 12:38 ` [dpdk-dev] [PATCH 15/22] net/kni: " Qi Zhang
2018-06-07 12:38 ` [dpdk-dev] [PATCH 16/22] net/null: " Qi Zhang
2018-06-07 12:38 ` [dpdk-dev] [PATCH 17/22] net/octeontx: " Qi Zhang
2018-06-07 12:38 ` [dpdk-dev] [PATCH 18/22] net/pcap: " Qi Zhang
2018-06-07 12:38 ` [dpdk-dev] [PATCH 19/22] net/softnic: " Qi Zhang
2018-06-07 12:38 ` [dpdk-dev] [PATCH 20/22] net/tap: " Qi Zhang
2018-06-07 19:01   ` Wiles, Keith
2018-06-07 12:38 ` [dpdk-dev] [PATCH 21/22] net/vhost: " Qi Zhang
2018-06-07 12:38 ` [dpdk-dev] [PATCH 22/22] examples/devmgm_mp: add simple device management sample Qi Zhang
2018-06-18 10:36   ` Burakov, Anatoly
2018-06-22  6:49     ` Zhang, Qi Z
2018-06-15 15:16 ` [dpdk-dev] [PATCH 00/22] enable hotplug on multi-process Burakov, Anatoly
2018-06-19  2:43   ` Zhang, Qi Z
2018-06-21  2:00 ` [dpdk-dev] [PATCH v2 " Qi Zhang
2018-06-21  2:00   ` [dpdk-dev] [PATCH v2 01/22] eal: introduce one device scan Qi Zhang
2018-06-21  7:56     ` Burakov, Anatoly
2018-06-21  2:00   ` [dpdk-dev] [PATCH v2 02/22] bus/vdev: enable " Qi Zhang
2018-06-21  2:00   ` [dpdk-dev] [PATCH v2 03/22] ethdev: add function to release port in local process Qi Zhang
2018-06-21  8:06     ` Burakov, Anatoly
2018-06-21  8:21       ` Thomas Monjalon
2018-06-21  8:21       ` Zhang, Qi Z
2018-06-21  2:00   ` [dpdk-dev] [PATCH v2 04/22] ethdev: enable hotplug on multi-process Qi Zhang
2018-06-21  8:36     ` Burakov, Anatoly
2018-06-21  9:14       ` Zhang, Qi Z
2018-06-22 13:54     ` Andrew Rybchenko
2018-06-21  2:00   ` [dpdk-dev] [PATCH v2 05/22] ethdev: introduce device lock Qi Zhang
2018-06-21  8:51     ` Burakov, Anatoly
2018-06-21  9:16       ` Zhang, Qi Z
2018-06-21  2:00   ` [dpdk-dev] [PATCH v2 06/22] ethdev: support attach or detach share device from secondary Qi Zhang
2018-06-21  9:06     ` Burakov, Anatoly
2018-06-21 12:50       ` Zhang, Qi Z
2018-06-21 12:56         ` Burakov, Anatoly
2018-06-21  2:00   ` [dpdk-dev] [PATCH v2 07/22] net/i40e: enable port detach on secondary process Qi Zhang
2018-06-22 13:57     ` Andrew Rybchenko
2018-06-21  2:00   ` [dpdk-dev] [PATCH v2 08/22] net/ixgbe: " Qi Zhang
2018-06-21  2:00   ` [dpdk-dev] [PATCH v2 09/22] net/e1000: " Qi Zhang
2018-06-21  2:00   ` [dpdk-dev] [PATCH v2 10/22] net/igb: " Qi Zhang
2018-06-21  2:00   ` [dpdk-dev] [PATCH v2 11/22] net/fm10k: " Qi Zhang
2018-06-21  2:00   ` [dpdk-dev] [PATCH v2 12/22] net/af_packet: " Qi Zhang
2018-06-21  2:00   ` [dpdk-dev] [PATCH v2 13/22] net/bonding: " Qi Zhang
2018-06-21  2:00   ` [dpdk-dev] [PATCH v2 14/22] net/failsafe: " Qi Zhang
2018-06-21  2:00   ` [dpdk-dev] [PATCH v2 15/22] net/kni: " Qi Zhang
2018-06-21  2:00   ` [dpdk-dev] [PATCH v2 16/22] net/null: " Qi Zhang
2018-06-21  2:00   ` [dpdk-dev] [PATCH v2 17/22] net/octeontx: " Qi Zhang
2018-06-21  2:00   ` [dpdk-dev] [PATCH v2 18/22] net/pcap: " Qi Zhang
2018-06-21  2:00   ` [dpdk-dev] [PATCH v2 19/22] net/softnic: " Qi Zhang
2018-06-21  2:00   ` [dpdk-dev] [PATCH v2 20/22] net/tap: " Qi Zhang
2018-06-21 12:39     ` Wiles, Keith
2018-06-21  2:00   ` [dpdk-dev] [PATCH v2 21/22] net/vhost: " Qi Zhang
2018-06-21  2:00   ` [dpdk-dev] [PATCH v2 22/22] examples/devmgm_mp: add simple device management sample Qi Zhang
2018-06-21  7:54     ` Burakov, Anatoly
2018-06-25  7:17 ` [dpdk-dev] [PATCH v3 00/22] enable hotplug on multi-process Qi Zhang
2018-06-25  7:17   ` [dpdk-dev] [PATCH v3 01/23] eal: introduce one device scan Qi Zhang
2018-06-25  7:17   ` [dpdk-dev] [PATCH v3 02/23] bus/vdev: enable " Qi Zhang
2018-06-25  7:17   ` [dpdk-dev] [PATCH v3 03/23] ethdev: add function to release port in local process Qi Zhang
2018-06-25  7:17   ` [dpdk-dev] [PATCH v3 04/23] eal: enable multi process init callback Qi Zhang
2018-06-25  7:17   ` [dpdk-dev] [PATCH v3 05/23] ethdev: enable hotplug on multi-process Qi Zhang
2018-06-25  7:17   ` [dpdk-dev] [PATCH v3 06/23] ethdev: introduce device lock Qi Zhang
2018-06-25  7:17   ` [dpdk-dev] [PATCH v3 07/23] ethdev: support attach or detach share device from secondary Qi Zhang
2018-06-25  7:17   ` [dpdk-dev] [PATCH v3 08/23] net/i40e: enable port detach on secondary process Qi Zhang
2018-06-25 10:01     ` Andrew Rybchenko
2018-06-25  7:17   ` [dpdk-dev] [PATCH v3 09/23] net/ixgbe: " Qi Zhang
2018-06-25  7:17   ` [dpdk-dev] [PATCH v3 10/23] net/e1000: " Qi Zhang
2018-06-25  7:17   ` [dpdk-dev] [PATCH v3 11/23] net/igb: " Qi Zhang
2018-06-25  7:17   ` [dpdk-dev] [PATCH v3 12/23] net/fm10k: " Qi Zhang
2018-06-25  7:17   ` [dpdk-dev] [PATCH v3 13/23] net/af_packet: " Qi Zhang
2018-06-25  7:17   ` [dpdk-dev] [PATCH v3 14/23] net/bonding: " Qi Zhang
2018-06-25  7:17   ` [dpdk-dev] [PATCH v3 15/23] net/failsafe: " Qi Zhang
2018-06-27  8:28     ` Matan Azrad
2018-06-27  8:34       ` Zhang, Qi Z
2018-06-25  7:17   ` [dpdk-dev] [PATCH v3 16/23] net/kni: " Qi Zhang
2018-06-25  7:17   ` [dpdk-dev] [PATCH v3 17/23] net/null: " Qi Zhang
2018-06-25  7:17   ` [dpdk-dev] [PATCH v3 18/23] net/octeontx: " Qi Zhang
2018-06-25  7:17   ` [dpdk-dev] [PATCH v3 19/23] net/pcap: " Qi Zhang
2018-06-25  7:17   ` [dpdk-dev] [PATCH v3 20/23] net/softnic: " Qi Zhang
2018-06-25  7:17   ` [dpdk-dev] [PATCH v3 21/23] net/tap: " Qi Zhang
2018-06-25  7:17   ` [dpdk-dev] [PATCH v3 22/23] net/vhost: " Qi Zhang
2018-06-25  7:17   ` [dpdk-dev] [PATCH v3 23/23] examples/multi_process: add hotplug sample Qi Zhang
2018-06-26  7:08 ` [dpdk-dev] [PATCH v4 00/24] enable hotplug on multi-process Qi Zhang
2018-06-26  7:08   ` [dpdk-dev] [PATCH v4 01/24] eal: introduce one device scan Qi Zhang
2018-06-26 10:49     ` Remy Horton
2018-06-26 11:47     ` Burakov, Anatoly
2018-06-26 12:26       ` Zhang, Qi Z
2018-06-26 16:33         ` Gaëtan Rivet
2018-06-27 12:32           ` Zhang, Qi Z
2018-06-26  7:08   ` [dpdk-dev] [PATCH v4 02/24] bus/vdev: enable " Qi Zhang
2018-06-26 10:49     ` Remy Horton
2018-06-26  7:08   ` [dpdk-dev] [PATCH v4 03/24] ethdev: add function to release port in local process Qi Zhang
2018-06-26 10:49     ` Remy Horton
2018-06-26 11:50     ` Matan Azrad
2018-06-26 13:28       ` Zhang, Qi Z
2018-06-26 13:30       ` Zhang, Qi Z
2018-06-26 16:54         ` Matan Azrad
2018-06-27  3:35           ` Zhang, Qi Z
2018-06-26  7:08   ` [dpdk-dev] [PATCH v4 04/24] eal: enable multi process init callback Qi Zhang
2018-06-26 11:53     ` Burakov, Anatoly
2018-06-26  7:08   ` [dpdk-dev] [PATCH v4 05/24] eal: support mp task be invoked in a separate task Qi Zhang
2018-06-26  9:02     ` Burakov, Anatoly
2018-06-26  9:24       ` Thomas Monjalon
2018-06-26  9:44         ` Zhang, Qi Z
2018-06-26  7:08   ` [dpdk-dev] [PATCH v4 06/24] ethdev: enable hotplug on multi-process Qi Zhang
2018-06-26 12:09     ` Burakov, Anatoly
2018-06-26 12:19       ` Zhang, Qi Z
2018-06-26 12:49         ` Burakov, Anatoly
2018-06-26 12:58           ` Zhang, Qi Z
2018-06-26 13:20             ` Burakov, Anatoly
2018-06-26 13:25               ` Zhang, Qi Z
2018-06-26 13:45                 ` Burakov, Anatoly
2018-06-26 14:24                   ` Zhang, Qi Z
2018-06-26 15:12                     ` Burakov, Anatoly
2018-06-27  1:31                       ` Zhang, Qi Z
2018-06-26  7:08   ` [dpdk-dev] [PATCH v4 07/24] ethdev: introduce device lock Qi Zhang
2018-06-26  7:08   ` [dpdk-dev] [PATCH v4 08/24] ethdev: support attach or detach share device from secondary Qi Zhang
2018-06-26  7:08   ` [dpdk-dev] [PATCH v4 09/24] net/i40e: enable port detach on secondary process Qi Zhang
2018-06-26 10:36     ` Remy Horton
2018-06-26  7:08   ` [dpdk-dev] [PATCH v4 10/24] net/ixgbe: " Qi Zhang
2018-06-26 10:35     ` Remy Horton
2018-06-26  7:08   ` [dpdk-dev] [PATCH v4 11/24] net/e1000: " Qi Zhang
2018-06-26  7:08   ` [dpdk-dev] [PATCH v4 12/24] net/igb: " Qi Zhang
2018-06-26  7:08   ` [dpdk-dev] [PATCH v4 13/24] net/fm10k: " Qi Zhang
2018-06-26  7:08   ` [dpdk-dev] [PATCH v4 14/24] net/af_packet: " Qi Zhang
2018-06-26  7:08   ` [dpdk-dev] [PATCH v4 15/24] net/bonding: " Qi Zhang
2018-06-26  7:08   ` [dpdk-dev] [PATCH v4 16/24] net/failsafe: " Qi Zhang
2018-06-26  7:08   ` [dpdk-dev] [PATCH v4 17/24] net/kni: " Qi Zhang
2018-06-26  7:08   ` [dpdk-dev] [PATCH v4 18/24] net/null: " Qi Zhang
2018-06-26  7:08   ` [dpdk-dev] [PATCH v4 19/24] net/octeontx: " Qi Zhang
2018-06-26  7:08   ` [dpdk-dev] [PATCH v4 20/24] net/pcap: " Qi Zhang
2018-06-26  7:08   ` [dpdk-dev] [PATCH v4 21/24] net/softnic: " Qi Zhang
2018-06-26  7:08   ` [dpdk-dev] [PATCH v4 22/24] net/tap: " Qi Zhang
2018-06-26  7:08   ` [dpdk-dev] [PATCH v4 23/24] net/vhost: " Qi Zhang
2018-06-26  7:08   ` [dpdk-dev] [PATCH v4 24/24] examples/multi_process: add hotplug sample Qi Zhang
2018-06-26 11:58     ` Burakov, Anatoly
2018-06-27  7:17 ` [dpdk-dev] [PATCH v5 00/24] enable hotplug on multi-process Qi Zhang
2018-06-27  7:17   ` [dpdk-dev] [PATCH v5 01/24] eal: introduce one device scan Qi Zhang
2018-06-27  7:17   ` [dpdk-dev] [PATCH v5 02/24] bus/vdev: enable " Qi Zhang
2018-06-27  7:17   ` [dpdk-dev] [PATCH v5 03/24] ethdev: add function to release port in local process Qi Zhang
2018-06-27  7:17   ` [dpdk-dev] [PATCH v5 04/24] eal: enable multi process init callback Qi Zhang
2018-06-27  7:17   ` [dpdk-dev] [PATCH v5 05/24] ethdev: enable hotplug on multi-process Qi Zhang
2018-06-27  7:17   ` [dpdk-dev] [PATCH v5 06/24] ethdev: introduce device lock Qi Zhang
2018-06-27  7:17   ` [dpdk-dev] [PATCH v5 07/24] ethdev: support attach or detach share device from secondary Qi Zhang
2018-06-27  7:17   ` [dpdk-dev] [PATCH v5 08/24] ethdev: support attach private device as first Qi Zhang
2018-06-27  7:17   ` [dpdk-dev] [PATCH v5 09/24] net/i40e: enable port detach on secondary process Qi Zhang
2018-06-27  7:17   ` [dpdk-dev] [PATCH v5 10/24] net/ixgbe: " Qi Zhang
2018-06-27  7:17   ` [dpdk-dev] [PATCH v5 11/24] net/e1000: " Qi Zhang
2018-06-27  7:17   ` [dpdk-dev] [PATCH v5 12/24] net/igb: " Qi Zhang
2018-06-27  7:17   ` [dpdk-dev] [PATCH v5 13/24] net/fm10k: " Qi Zhang
2018-06-27  7:17   ` [dpdk-dev] [PATCH v5 14/24] net/af_packet: " Qi Zhang
2018-06-27  7:17   ` [dpdk-dev] [PATCH v5 15/24] net/bonding: " Qi Zhang
2018-06-27  7:17   ` [dpdk-dev] [PATCH v5 16/24] net/failsafe: " Qi Zhang
2018-06-27  7:17   ` [dpdk-dev] [PATCH v5 17/24] net/kni: " Qi Zhang
2018-06-27  7:17   ` [dpdk-dev] [PATCH v5 18/24] net/null: " Qi Zhang
2018-06-27  7:17   ` [dpdk-dev] [PATCH v5 19/24] net/octeontx: " Qi Zhang
2018-06-27  7:17   ` [dpdk-dev] [PATCH v5 20/24] net/pcap: " Qi Zhang
2018-06-27  7:17   ` [dpdk-dev] [PATCH v5 21/24] net/softnic: " Qi Zhang
2018-06-27  7:17   ` [dpdk-dev] [PATCH v5 22/24] net/tap: " Qi Zhang
2018-06-27  7:17   ` [dpdk-dev] [PATCH v5 23/24] net/vhost: " Qi Zhang
2018-06-27  8:24     ` Maxime Coquelin
2018-06-27  7:17   ` [dpdk-dev] [PATCH v5 24/24] examples/multi_process: add hotplug sample Qi Zhang
2018-06-28  1:49 ` [dpdk-dev] [PATCH v5 00/24] enable hotplug on multi-process Qi Zhang
2018-06-28  1:49   ` [dpdk-dev] [PATCH v6 01/19] ethdev: add function to release port in local process Qi Zhang
2018-06-28  1:49   ` [dpdk-dev] [PATCH v6 02/19] eal: enable multi process init callback Qi Zhang
2018-06-28  1:50   ` [dpdk-dev] [PATCH v6 03/19] ethdev: enable hotplug on multi-process Qi Zhang
2018-06-28  1:50   ` [dpdk-dev] [PATCH v6 04/19] ethdev: introduce device lock Qi Zhang
2018-06-28  1:50   ` [dpdk-dev] [PATCH v6 05/19] ethdev: support attach or detach share device from secondary Qi Zhang
2018-06-28  1:50   ` [dpdk-dev] [PATCH v6 06/19] ethdev: support attach private device as first Qi Zhang
2018-06-28  1:50   ` [dpdk-dev] [PATCH v6 07/19] net/i40e: enable port detach on secondary process Qi Zhang
2018-06-28  1:50   ` [dpdk-dev] [PATCH v6 08/19] net/ixgbe: " Qi Zhang
2018-06-28  1:50   ` [dpdk-dev] [PATCH v6 09/19] net/af_packet: " Qi Zhang
2018-06-28  1:50   ` [dpdk-dev] [PATCH v6 10/19] net/bonding: " Qi Zhang
2018-06-28  1:50   ` [dpdk-dev] [PATCH v6 11/19] net/kni: " Qi Zhang
2018-06-28  1:50   ` [dpdk-dev] [PATCH v6 12/19] net/null: " Qi Zhang
2018-06-28  1:50   ` [dpdk-dev] [PATCH v6 13/19] net/octeontx: " Qi Zhang
2018-06-28  1:50   ` [dpdk-dev] [PATCH v6 14/19] net/pcap: " Qi Zhang
2018-06-28  1:50   ` [dpdk-dev] [PATCH v6 15/19] net/softnic: " Qi Zhang
2018-06-28  1:50   ` [dpdk-dev] [PATCH v6 16/19] net/tap: " Qi Zhang
2018-06-28  1:50   ` [dpdk-dev] [PATCH v6 17/19] net/vhost: " Qi Zhang
2018-06-28  1:50   ` [dpdk-dev] [PATCH v6 18/19] examples/multi_process: add hotplug sample Qi Zhang
2018-06-28  1:50   ` [dpdk-dev] [PATCH v6 19/19] doc: update release notes for multi process hotplug Qi Zhang
2018-06-28  1:52 ` [dpdk-dev] [PATCH v6 00/19] enable hotplug on multi-process Qi Zhang
2018-06-28  1:52   ` [dpdk-dev] [PATCH v6 01/19] ethdev: add function to release port in local process Qi Zhang
2018-06-28  1:52   ` [dpdk-dev] [PATCH v6 02/19] eal: enable multi process init callback Qi Zhang
2018-06-28  1:52   ` [dpdk-dev] [PATCH v6 03/19] ethdev: enable hotplug on multi-process Qi Zhang
2018-06-28  9:11     ` Burakov, Anatoly
2018-06-28  9:19     ` Burakov, Anatoly
2018-06-28  9:21       ` Zhang, Qi Z
2018-06-28  1:52   ` [dpdk-dev] [PATCH v6 04/19] ethdev: introduce device lock Qi Zhang
2018-06-28  9:20     ` Burakov, Anatoly
2018-06-28  1:52   ` [dpdk-dev] [PATCH v6 05/19] ethdev: support attach or detach share device from secondary Qi Zhang
2018-06-28  9:23     ` Burakov, Anatoly
2018-06-28  1:52   ` [dpdk-dev] [PATCH v6 06/19] ethdev: support attach private device as first Qi Zhang
2018-06-28  9:24     ` Burakov, Anatoly
2018-06-28  9:29       ` Zhang, Qi Z
2018-06-28  9:41         ` Burakov, Anatoly
2018-06-28 11:26           ` Zhang, Qi Z
2018-06-28 11:45           ` Zhang, Qi Z
2018-06-28 12:34             ` Burakov, Anatoly
2018-06-28  1:52   ` [dpdk-dev] [PATCH v6 07/19] net/i40e: enable port detach on secondary process Qi Zhang
2018-06-28  1:52   ` [dpdk-dev] [PATCH v6 08/19] net/ixgbe: " Qi Zhang
2018-06-28  1:52   ` [dpdk-dev] [PATCH v6 09/19] net/af_packet: " Qi Zhang
2018-06-28  1:52   ` [dpdk-dev] [PATCH v6 10/19] net/bonding: " Qi Zhang
2018-06-28  1:52   ` [dpdk-dev] [PATCH v6 11/19] net/kni: " Qi Zhang
2018-06-28  1:52   ` [dpdk-dev] [PATCH v6 12/19] net/null: " Qi Zhang
2018-06-28  1:52   ` [dpdk-dev] [PATCH v6 13/19] net/octeontx: " Qi Zhang
2018-06-28  1:52   ` [dpdk-dev] [PATCH v6 14/19] net/pcap: " Qi Zhang
2018-06-28  1:52   ` [dpdk-dev] [PATCH v6 15/19] net/softnic: " Qi Zhang
2018-06-28  1:52   ` [dpdk-dev] [PATCH v6 16/19] net/tap: " Qi Zhang
2018-06-28  1:52   ` [dpdk-dev] [PATCH v6 17/19] net/vhost: " Qi Zhang
2018-06-28  1:52   ` [dpdk-dev] [PATCH v6 18/19] examples/multi_process: add hotplug sample Qi Zhang
2018-06-28  1:52   ` [dpdk-dev] [PATCH v6 19/19] doc: update release notes for multi process hotplug Qi Zhang
2018-06-28  9:39     ` Burakov, Anatoly
2018-06-28 12:21       ` Zhang, Qi Z
2018-06-28 12:56 ` [dpdk-dev] [PATCH v7 00/19] enable hotplug on multi-process Qi Zhang
2018-06-28 12:56   ` [dpdk-dev] [PATCH v7 01/19] ethdev: add function to release port in local process Qi Zhang
2018-06-28 14:34     ` Andrew Rybchenko
2018-06-28 23:55       ` Zhang, Qi Z
2018-06-28 12:56   ` [dpdk-dev] [PATCH v7 02/19] eal: enable multi process init callback Qi Zhang
2018-06-28 13:09     ` Burakov, Anatoly
2018-06-28 13:47       ` Zhang, Qi Z
2018-06-28 12:56   ` [dpdk-dev] [PATCH v7 03/19] ethdev: enable hotplug on multi-process Qi Zhang
2018-06-28 16:32     ` Andrew Rybchenko
2018-06-29  0:12       ` Zhang, Qi Z
2018-06-28 12:56   ` [dpdk-dev] [PATCH v7 04/19] ethdev: introduce device lock Qi Zhang
2018-06-28 16:46     ` Andrew Rybchenko
2018-06-29  1:18       ` Zhang, Qi Z
2018-06-28 12:56   ` [dpdk-dev] [PATCH v7 05/19] ethdev: support attach or detach share device from secondary Qi Zhang
2018-06-28 12:56   ` [dpdk-dev] [PATCH v7 06/19] ethdev: support attach private device as first Qi Zhang
2018-06-28 12:56   ` [dpdk-dev] [PATCH v7 07/19] net/i40e: enable port detach on secondary process Qi Zhang
2018-06-28 12:56   ` [dpdk-dev] [PATCH v7 08/19] net/ixgbe: " Qi Zhang
2018-06-28 12:56   ` [dpdk-dev] [PATCH v7 09/19] net/af_packet: " Qi Zhang
2018-06-28 12:56   ` [dpdk-dev] [PATCH v7 10/19] net/bonding: " Qi Zhang
2018-06-28 12:57   ` [dpdk-dev] [PATCH v7 11/19] net/kni: " Qi Zhang
2018-06-28 12:57   ` [dpdk-dev] [PATCH v7 12/19] net/null: " Qi Zhang
2018-06-28 12:57   ` [dpdk-dev] [PATCH v7 13/19] net/octeontx: " Qi Zhang
2018-06-28 12:57   ` [dpdk-dev] [PATCH v7 14/19] net/pcap: " Qi Zhang
2018-06-28 12:57   ` [dpdk-dev] [PATCH v7 15/19] net/softnic: " Qi Zhang
2018-06-28 12:57   ` [dpdk-dev] [PATCH v7 16/19] net/tap: " Qi Zhang
2018-06-28 12:57   ` [dpdk-dev] [PATCH v7 17/19] net/vhost: " Qi Zhang
2018-06-28 12:57   ` [dpdk-dev] [PATCH v7 18/19] examples/multi_process: add hotplug sample Qi Zhang
2018-06-28 12:57   ` [dpdk-dev] [PATCH v7 19/19] doc: update release notes for multi process hotplug Qi Zhang
2018-07-02  5:44 ` [dpdk-dev] [PATCH v8 00/19] enable hotplug on multi-process Qi Zhang
2018-07-02  5:44   ` [dpdk-dev] [PATCH v8 01/19] ethdev: add function to release port in local process Qi Zhang
2018-07-03  9:21     ` Thomas Monjalon
2018-07-02  5:44   ` [dpdk-dev] [PATCH v8 02/19] eal: enable multi process init callback Qi Zhang
2018-07-03  9:27     ` Thomas Monjalon
2018-07-03 15:16       ` Zhang, Qi Z
2018-07-03 21:51         ` Thomas Monjalon
2018-07-04  1:08           ` Zhang, Qi Z
2018-07-02  5:44   ` [dpdk-dev] [PATCH v8 03/19] ethdev: enable hotplug on multi-process Qi Zhang
2018-07-03  9:44     ` Thomas Monjalon
2018-07-03 12:59       ` Zhang, Qi Z
2018-07-03 14:11         ` Thomas Monjalon
2018-07-03 15:03           ` Zhang, Qi Z
2018-07-03 21:57             ` Thomas Monjalon
2018-07-03 22:35               ` Thomas Monjalon
2018-07-04  2:26                 ` Zhang, Qi Z
2018-07-04  7:33                   ` Thomas Monjalon
2018-07-04 10:57                     ` Zhang, Qi Z
2018-07-02  5:44   ` [dpdk-dev] [PATCH v8 04/19] ethdev: introduce device lock Qi Zhang
2018-07-03  9:56     ` Thomas Monjalon
2018-07-03 15:08       ` Zhang, Qi Z
2018-07-03 22:13         ` Thomas Monjalon
2018-07-04  1:47           ` Zhang, Qi Z
2018-07-04  7:27             ` Thomas Monjalon
2018-07-04 10:49               ` Zhang, Qi Z
2018-07-04 21:41                 ` Thomas Monjalon
2018-07-05  1:38                   ` Zhang, Qi Z
2018-07-05  1:55                     ` Thomas Monjalon
2018-07-05  3:37                       ` Zhang, Qi Z
2018-07-05  7:22                         ` Thomas Monjalon
2018-07-05  9:54                           ` Zhang, Qi Z
2018-07-05 10:54                             ` Thomas Monjalon
2018-07-05 12:16                               ` Zhang, Qi Z
2018-07-04  2:19     ` Yuanhan Liu
2018-07-04  3:24       ` Zhang, Qi Z
2018-07-02  5:44   ` [dpdk-dev] [PATCH v8 05/19] ethdev: support attach or detach share device from secondary Qi Zhang
2018-07-02  5:44   ` [dpdk-dev] [PATCH v8 06/19] ethdev: support attach private device as first Qi Zhang
2018-07-02  5:44   ` [dpdk-dev] [PATCH v8 07/19] net/i40e: enable port detach on secondary process Qi Zhang
2018-07-02  5:44   ` [dpdk-dev] [PATCH v8 08/19] net/ixgbe: " Qi Zhang
2018-07-02  5:44   ` [dpdk-dev] [PATCH v8 09/19] net/af_packet: " Qi Zhang
2018-07-02  5:44   ` [dpdk-dev] [PATCH v8 10/19] net/bonding: " Qi Zhang
2018-07-02  5:44   ` [dpdk-dev] [PATCH v8 11/19] net/kni: " Qi Zhang
2018-07-02  5:44   ` [dpdk-dev] [PATCH v8 12/19] net/null: " Qi Zhang
2018-07-02  5:44   ` [dpdk-dev] [PATCH v8 13/19] net/octeontx: " Qi Zhang
2018-07-02  5:44   ` [dpdk-dev] [PATCH v8 14/19] net/pcap: " Qi Zhang
2018-07-02  5:44   ` [dpdk-dev] [PATCH v8 15/19] net/softnic: " Qi Zhang
2018-07-02  5:44   ` [dpdk-dev] [PATCH v8 16/19] net/tap: " Qi Zhang
2018-07-02  5:44   ` [dpdk-dev] [PATCH v8 17/19] net/vhost: " Qi Zhang
2018-07-02  5:44   ` [dpdk-dev] [PATCH v8 18/19] examples/multi_process: add hotplug sample Qi Zhang
2018-07-02  5:44   ` [dpdk-dev] [PATCH v8 19/19] doc: update release notes for multi process hotplug Qi Zhang
2018-07-06 14:18 ` [dpdk-dev] [PATCH v9 00/19] enable hotplug on multi-process Qi Zhang
2018-07-06 14:18   ` [dpdk-dev] [PATCH v9 01/19] ethdev: add function to release port in local process Qi Zhang
2018-07-06 14:18   ` [dpdk-dev] [PATCH v9 02/19] bus/pci: fix PCI address compare Qi Zhang
2018-07-06 14:18   ` [dpdk-dev] [PATCH v9 03/19] bus/pci: enable vfio unmap resource for secondary Qi Zhang
2018-07-06 14:18   ` [dpdk-dev] [PATCH v9 04/19] vfio: remove uneccessary IPC for group fd clear Qi Zhang
2018-07-06 14:18   ` [dpdk-dev] [PATCH v9 05/19] eal: enable hotplug on multi-process Qi Zhang
2018-07-06 14:18   ` [dpdk-dev] [PATCH v9 06/19] eal: support attach or detach share device from secondary Qi Zhang
2018-07-06 14:18   ` [dpdk-dev] [PATCH v9 07/19] net/i40e: enable port detach on secondary process Qi Zhang
2018-07-06 14:18   ` [dpdk-dev] [PATCH v9 08/19] net/ixgbe: " Qi Zhang
2018-07-06 14:18   ` [dpdk-dev] [PATCH v9 09/19] net/af_packet: " Qi Zhang
2018-07-06 14:18   ` [dpdk-dev] [PATCH v9 10/19] net/bonding: " Qi Zhang
2018-07-06 14:18   ` [dpdk-dev] [PATCH v9 11/19] net/kni: " Qi Zhang
2018-07-06 14:18   ` [dpdk-dev] [PATCH v9 12/19] net/null: " Qi Zhang
2018-07-06 14:18   ` [dpdk-dev] [PATCH v9 13/19] net/octeontx: " Qi Zhang
2018-07-06 14:18   ` [dpdk-dev] [PATCH v9 14/19] net/pcap: " Qi Zhang
2018-07-06 14:18   ` [dpdk-dev] [PATCH v9 15/19] net/softnic: " Qi Zhang
2018-07-06 14:18   ` [dpdk-dev] [PATCH v9 16/19] net/tap: " Qi Zhang
2018-07-06 14:18   ` [dpdk-dev] [PATCH v9 17/19] net/vhost: " Qi Zhang
2018-07-06 14:18   ` [dpdk-dev] [PATCH v9 18/19] examples/multi_process: add hotplug sample Qi Zhang
2018-07-06 14:18   ` [dpdk-dev] [PATCH v9 19/19] doc: update release notes for multi process hotplug Qi Zhang
2018-07-09  3:36 ` [dpdk-dev] [PATCH v10 00/19] enable hotplug on multi-process Qi Zhang
2018-07-09  3:36   ` [dpdk-dev] [PATCH v10 01/19] ethdev: add function to release port in local process Qi Zhang
2018-07-09  3:36   ` [dpdk-dev] [PATCH v10 02/19] bus/pci: fix PCI address compare Qi Zhang
2018-07-09  3:36   ` [dpdk-dev] [PATCH v10 03/19] bus/pci: enable vfio unmap resource for secondary Qi Zhang
2018-07-09 14:37     ` Burakov, Anatoly
2018-07-10  0:30       ` Zhang, Qi Z
2018-07-09  3:36   ` [dpdk-dev] [PATCH v10 04/19] vfio: remove uneccessary IPC for group fd clear Qi Zhang
2018-07-09 15:13     ` Burakov, Anatoly
2018-07-09  3:36   ` [dpdk-dev] [PATCH v10 05/19] eal: enable hotplug on multi-process Qi Zhang
2018-07-10 14:00     ` Burakov, Anatoly
2018-07-11  1:25       ` Zhang, Qi Z
2018-07-11  2:11         ` Zhang, Qi Z
2018-07-11  8:39           ` Burakov, Anatoly
2018-07-09  3:36   ` [dpdk-dev] [PATCH v10 06/19] eal: support attach or detach share device from secondary Qi Zhang
2018-07-10 14:11     ` Burakov, Anatoly
2018-07-11  2:17       ` Zhang, Qi Z
2018-07-09  3:36   ` [dpdk-dev] [PATCH v10 07/19] net/i40e: enable hotplug on secondary process Qi Zhang
2018-07-09  3:36   ` [dpdk-dev] [PATCH v10 08/19] net/ixgbe: " Qi Zhang
2018-07-09  3:36   ` [dpdk-dev] [PATCH v10 09/19] net/af_packet: " Qi Zhang
2018-07-09  3:36   ` [dpdk-dev] [PATCH v10 10/19] net/bonding: " Qi Zhang
2018-07-09  3:36   ` [dpdk-dev] [PATCH v10 11/19] net/kni: " Qi Zhang
2018-07-09  3:36   ` [dpdk-dev] [PATCH v10 12/19] net/null: " Qi Zhang
2018-07-09  3:37   ` [dpdk-dev] [PATCH v10 13/19] net/octeontx: " Qi Zhang
2018-07-09  3:37   ` [dpdk-dev] [PATCH v10 14/19] net/pcap: " Qi Zhang
2018-07-09  3:37   ` [dpdk-dev] [PATCH v10 15/19] net/softnic: " Qi Zhang
2018-07-09  3:37   ` [dpdk-dev] [PATCH v10 16/19] net/tap: " Qi Zhang
2018-07-09  3:37   ` [dpdk-dev] [PATCH v10 17/19] net/vhost: " Qi Zhang
2018-07-09  3:37   ` [dpdk-dev] [PATCH v10 18/19] examples/multi_process: add hotplug sample Qi Zhang
2018-07-09  3:37   ` [dpdk-dev] [PATCH v10 19/19] doc: update release notes for multi process hotplug Qi Zhang
2018-07-11  3:08 ` [dpdk-dev] [PATCH v11 00/19] enable hotplug on multi-process Qi Zhang
2018-07-11  3:08   ` [dpdk-dev] [PATCH v11 01/19] ethdev: add function to release port in local process Qi Zhang
2018-07-11  9:26     ` Andrew Rybchenko
2018-07-11 12:30       ` Zhang, Qi Z
2018-07-11 16:05         ` Andrew Rybchenko
2018-07-12  0:23           ` Zhang, Qi Z
2018-07-12  9:49             ` Andrew Rybchenko
2018-07-11  3:09   ` [dpdk-dev] [PATCH v11 02/19] bus/pci: fix PCI address compare Qi Zhang
2018-07-11  3:09   ` [dpdk-dev] [PATCH v11 03/19] bus/pci: enable vfio unmap resource for secondary Qi Zhang
2018-07-11  8:43     ` Burakov, Anatoly
2018-07-11  3:09   ` [dpdk-dev] [PATCH v11 04/19] vfio: remove uneccessary IPC for group fd clear Qi Zhang
2018-07-11  3:09   ` [dpdk-dev] [PATCH v11 05/19] eal: enable hotplug on multi-process Qi Zhang
2018-07-11 12:34     ` Burakov, Anatoly
2018-07-11  3:09   ` [dpdk-dev] [PATCH v11 06/19] eal: support attach or detach share device from secondary Qi Zhang
2018-07-11 12:34     ` Burakov, Anatoly
2018-07-11 12:55       ` Zhang, Qi Z
2018-07-11  3:09   ` [dpdk-dev] [PATCH v11 07/19] net/i40e: enable hotplug on secondary process Qi Zhang
2018-07-11  3:09   ` [dpdk-dev] [PATCH v11 08/19] net/ixgbe: " Qi Zhang
2018-07-11  3:09   ` [dpdk-dev] [PATCH v11 09/19] net/af_packet: " Qi Zhang
2018-07-11  3:09   ` [dpdk-dev] [PATCH v11 10/19] net/bonding: " Qi Zhang
2018-07-11  3:09   ` [dpdk-dev] [PATCH v11 11/19] net/kni: " Qi Zhang
2018-07-11  3:09   ` [dpdk-dev] [PATCH v11 12/19] net/null: " Qi Zhang
2018-07-11  3:09   ` [dpdk-dev] [PATCH v11 13/19] net/octeontx: " Qi Zhang
2018-07-11  3:09   ` [dpdk-dev] [PATCH v11 14/19] net/pcap: " Qi Zhang
2018-07-11  3:09   ` [dpdk-dev] [PATCH v11 15/19] net/softnic: " Qi Zhang
2018-07-11  3:09   ` [dpdk-dev] [PATCH v11 16/19] net/tap: " Qi Zhang
2018-07-11  3:09   ` [dpdk-dev] [PATCH v11 17/19] net/vhost: " Qi Zhang
2018-07-11  3:09   ` [dpdk-dev] [PATCH v11 18/19] examples/multi_process: add hotplug sample Qi Zhang
2018-07-11  3:09   ` [dpdk-dev] [PATCH v11 19/19] doc: update release notes for multi process hotplug Qi Zhang
2018-07-11 13:47 ` [dpdk-dev] [PATCH v12 00/19] enable hotplug on multi-process Qi Zhang
2018-07-11 13:47   ` [dpdk-dev] [PATCH v12 01/19] ethdev: add function to release port in local process Qi Zhang
2018-07-11 13:47   ` [dpdk-dev] [PATCH v12 02/19] bus/pci: fix PCI address compare Qi Zhang
2018-07-11 13:47   ` [dpdk-dev] [PATCH v12 03/19] bus/pci: enable vfio unmap resource for secondary Qi Zhang
2018-07-11 13:47   ` [dpdk-dev] [PATCH v12 04/19] vfio: remove uneccessary IPC for group fd clear Qi Zhang
2018-07-11 13:47   ` [dpdk-dev] [PATCH v12 05/19] eal: enable hotplug on multi-process Qi Zhang
2018-07-11 13:47   ` [dpdk-dev] [PATCH v12 06/19] eal: support attach or detach share device from secondary Qi Zhang
2018-07-11 13:59     ` Burakov, Anatoly
2018-07-11 13:47   ` [dpdk-dev] [PATCH v12 07/19] net/i40e: enable hotplug on secondary process Qi Zhang
2018-07-11 13:47   ` [dpdk-dev] [PATCH v12 08/19] net/ixgbe: " Qi Zhang
2018-07-11 13:47   ` [dpdk-dev] [PATCH v12 09/19] net/af_packet: " Qi Zhang
2018-07-11 13:47   ` [dpdk-dev] [PATCH v12 10/19] net/bonding: " Qi Zhang
2018-07-11 13:48   ` [dpdk-dev] [PATCH v12 11/19] net/kni: " Qi Zhang
2018-07-11 13:48   ` [dpdk-dev] [PATCH v12 12/19] net/null: " Qi Zhang
2018-07-11 13:48   ` [dpdk-dev] [PATCH v12 13/19] net/octeontx: " Qi Zhang
2018-07-11 13:48   ` [dpdk-dev] [PATCH v12 14/19] net/pcap: " Qi Zhang
2018-07-11 13:48   ` [dpdk-dev] [PATCH v12 15/19] net/softnic: " Qi Zhang
2018-07-11 13:48   ` [dpdk-dev] [PATCH v12 16/19] net/tap: " Qi Zhang
2018-07-11 13:48   ` [dpdk-dev] [PATCH v12 17/19] net/vhost: " Qi Zhang
2018-07-11 13:48   ` [dpdk-dev] [PATCH v12 18/19] examples/multi_process: add hotplug sample Qi Zhang
2018-07-11 13:48   ` [dpdk-dev] [PATCH v12 19/19] doc: update release notes for multi process hotplug Qi Zhang
2018-07-12  1:14 ` [dpdk-dev] [PATCH v12 00/19] enable hotplug on multi-process Qi Zhang
2018-07-12  1:14   ` [dpdk-dev] [PATCH v13 01/19] ethdev: add function to release port in local process Qi Zhang
2018-07-12  1:14   ` [dpdk-dev] [PATCH v13 02/19] bus/pci: fix PCI address compare Qi Zhang
2018-07-12  9:24     ` Burakov, Anatoly
2018-07-12  9:32       ` Gaëtan Rivet
2018-07-12 11:57         ` Zhang, Qi Z
2018-07-12 11:53       ` Zhang, Qi Z
2018-07-12  1:14   ` [dpdk-dev] [PATCH v13 03/19] bus/pci: enable vfio unmap resource for secondary Qi Zhang
2018-07-12  1:14   ` [dpdk-dev] [PATCH v13 04/19] vfio: remove uneccessary IPC for group fd clear Qi Zhang
2018-07-12  1:15   ` [dpdk-dev] [PATCH v13 05/19] eal: enable hotplug on multi-process Qi Zhang
2018-07-12  1:15   ` [dpdk-dev] [PATCH v13 06/19] eal: support attach or detach share device from secondary Qi Zhang
2018-07-12  1:15   ` [dpdk-dev] [PATCH v13 07/19] net/i40e: enable hotplug on secondary process Qi Zhang
2018-07-12  1:15   ` [dpdk-dev] [PATCH v13 08/19] net/ixgbe: " Qi Zhang
2018-07-12  1:15   ` [dpdk-dev] [PATCH v13 09/19] net/af_packet: " Qi Zhang
2018-07-12  1:15   ` [dpdk-dev] [PATCH v13 10/19] net/bonding: " Qi Zhang
2018-07-12  1:15   ` [dpdk-dev] [PATCH v13 11/19] net/kni: " Qi Zhang
2018-07-12  1:15   ` [dpdk-dev] [PATCH v13 12/19] net/null: " Qi Zhang
2018-07-12  1:15   ` [dpdk-dev] [PATCH v13 13/19] net/octeontx: " Qi Zhang
2018-07-12  1:15   ` [dpdk-dev] [PATCH v13 14/19] net/pcap: " Qi Zhang
2018-07-12  1:15   ` [dpdk-dev] [PATCH v13 15/19] net/softnic: " Qi Zhang
2018-07-12  1:15   ` [dpdk-dev] [PATCH v13 16/19] net/tap: " Qi Zhang
2018-07-12  1:15   ` [dpdk-dev] [PATCH v13 17/19] net/vhost: " Qi Zhang
2018-07-12  1:15   ` [dpdk-dev] [PATCH v13 18/19] examples/multi_process: add hotplug sample Qi Zhang
2018-07-12  1:15   ` [dpdk-dev] [PATCH v13 19/19] doc: update release notes for multi process hotplug Qi Zhang
2018-07-12  8:30   ` [dpdk-dev] [PATCH v12 00/19] enable hotplug on multi-process Thomas Monjalon
2018-07-12  9:11     ` Zhang, Qi Z
2018-07-12  9:21       ` Thomas Monjalon
2018-07-12  1:18 ` Qi Zhang
2018-07-12  1:18 ` [dpdk-dev] [PATCH v13 " Qi Zhang
2018-08-10  0:42 ` [dpdk-dev] [PATCH v14 0/6] " Qi Zhang
2018-08-10  0:42   ` [dpdk-dev] [PATCH v14 1/6] ethdev: add function to release port in secondary process Qi Zhang
2018-08-12 11:05     ` Andrew Rybchenko
2018-08-15  0:17       ` Zhang, Qi Z
2018-08-10  0:42   ` [dpdk-dev] [PATCH v14 2/6] eal: enable hotplug on multi-process Qi Zhang
2018-08-10  0:42   ` [dpdk-dev] [PATCH v14 3/6] eal: support attach or detach share device from secondary Qi Zhang
2018-08-10  0:42   ` [dpdk-dev] [PATCH v14 4/6] drivers/net: enable hotplug on secondary process Qi Zhang
2018-08-12 10:59     ` Andrew Rybchenko
2018-08-15  1:14       ` Zhang, Qi Z
2018-08-10  0:42   ` [dpdk-dev] [PATCH v14 5/6] drivers/net: enable device detach on secondary Qi Zhang
2018-08-12 10:50     ` Andrew Rybchenko
2018-08-15  1:22       ` Zhang, Qi Z
2018-08-10  0:42   ` [dpdk-dev] [PATCH v14 6/6] examples/multi_process: add hotplug sample Qi Zhang
2018-08-16  3:04 ` [dpdk-dev] [PATCH v15 0/7] enable hotplug on multi-process Qi Zhang
2018-08-16  3:04   ` [dpdk-dev] [PATCH v15 1/7] ethdev: add function to release port in secondary process Qi Zhang
2018-08-20  8:52     ` Andrew Rybchenko
2018-08-25  5:51       ` Zhang, Qi Z
2018-08-16  3:04   ` [dpdk-dev] [PATCH v15 2/7] eal: enable hotplug on multi-process Qi Zhang
2018-08-16  3:04   ` [dpdk-dev] [PATCH v15 3/7] eal: support attach or detach share device from secondary Qi Zhang
2018-08-16  3:04   ` [dpdk-dev] [PATCH v15 4/7] drivers/net: enable hotplug on secondary process Qi Zhang
2018-08-16  3:04   ` [dpdk-dev] [PATCH v15 5/7] drivers/net: enable device detach on secondary Qi Zhang
2018-08-16  3:04   ` [dpdk-dev] [PATCH v15 6/7] examples/multi_process: add hotplug sample Qi Zhang
2018-08-16  3:04   ` [dpdk-dev] [PATCH v15 7/7] doc: update release notes for mulit-process hotplug Qi Zhang
2018-09-28  4:23 ` [dpdk-dev] [PATCH v16 0/6] enable hotplug on multi-process Qi Zhang
2018-09-28  4:23   ` [dpdk-dev] [PATCH v16 1/6] ethdev: add function to release port in secondary process Qi Zhang
2018-09-28  4:23   ` [dpdk-dev] [PATCH v16 2/6] eal: enable hotplug on multi-process Qi Zhang
2018-10-15  8:43     ` Thomas Monjalon
2018-09-28  4:23   ` [dpdk-dev] [PATCH v16 3/6] eal: support attach or detach share device from secondary Qi Zhang
2018-09-28  4:23   ` [dpdk-dev] [PATCH v16 4/6] drivers/net: enable hotplug on secondary process Qi Zhang
2018-09-28  4:23   ` [dpdk-dev] [PATCH v16 5/6] drivers/net: enable device detach on secondary Qi Zhang
2018-09-28  4:23   ` [dpdk-dev] [PATCH v16 6/6] examples/multi_process: add hotplug sample Qi Zhang
2018-10-02 14:38   ` [dpdk-dev] [PATCH v16 0/6] enable hotplug on multi-process Raslan Darawsheh
2018-10-16  0:16 ` [dpdk-dev] [PATCH v17 " Qi Zhang
2018-10-16  0:16   ` [dpdk-dev] [PATCH v17 1/6] ethdev: add function to release port in secondary process Qi Zhang
2018-10-16  0:16   ` Qi Zhang [this message]
2018-10-16  0:16   ` [dpdk-dev] [PATCH v17 3/6] eal: support attach or detach share device from secondary Qi Zhang
2018-10-16  0:16   ` [dpdk-dev] [PATCH v17 4/6] drivers/net: enable hotplug on secondary process Qi Zhang
2018-10-16  0:16   ` [dpdk-dev] [PATCH v17 5/6] drivers/net: enable device detach on secondary Qi Zhang
2018-10-16  0:16   ` [dpdk-dev] [PATCH v17 6/6] examples/multi_process: add hotplug sample Qi Zhang
2018-10-16 10:52   ` [dpdk-dev] [PATCH v17 0/6] enable hotplug on multi-process Thomas Monjalon
2018-10-16 16:41     ` Zhang, Qi Z

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181016001632.65357-3-qi.z.zhang@intel.com \
    --to=qi.z.zhang@intel.com \
    --cc=anatoly.burakov@intel.com \
    --cc=arybchenko@solarflare.com \
    --cc=benjamin.h.shelton@intel.com \
    --cc=bruce.richardson@intel.com \
    --cc=dev@dpdk.org \
    --cc=ferruh.yigit@intel.com \
    --cc=gaetan.rivet@6wind.com \
    --cc=konstantin.ananyev@intel.com \
    --cc=narender.vangati@intel.com \
    --cc=thomas@monjalon.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).