summaryrefslogtreecommitdiff
path: root/examples/multi_process/Makefile
diff options
context:
space:
mode:
authorQi Zhang <qi.z.zhang@intel.com>2018-10-16 08:16:32 +0800
committerThomas Monjalon <thomas@monjalon.net>2018-10-17 10:16:18 +0200
commit05f1d6842fc34a905ff971c9bbbd20c4653e9b26 (patch)
treeae3d8f08fed3700de2842778ee4e4278ac58bdf5 /examples/multi_process/Makefile
parent8f62ec38616b16491f8601fc54ad5d643ef0e339 (diff)
downloaddpdk-05f1d6842fc34a905ff971c9bbbd20c4653e9b26.zip
dpdk-05f1d6842fc34a905ff971c9bbbd20c4653e9b26.tar.gz
dpdk-05f1d6842fc34a905ff971c9bbbd20c4653e9b26.tar.xz
examples/multi_process: add hotplug sample
The sample code demonstrates device (ethdev only) management at a multi-process environment. The user can attach/detach a device on primary process and see it is synced on secondary process automatically. How to start? ./hotplug_mp --proc-type=auto Command Line Example: >help >list /* attach a pci device */ > attach 0000:81:00.0 /* detach the pci device */ > detach 0000:81:00.0 /* attach a vdev af_packet device */ > attach net_af_packet,iface=eth0 /* detach the vdev af_packet device */ > detach net_af_packet Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Diffstat (limited to 'examples/multi_process/Makefile')
-rw-r--r--examples/multi_process/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/multi_process/Makefile b/examples/multi_process/Makefile
index a6708b7..b76b02f 100644
--- a/examples/multi_process/Makefile
+++ b/examples/multi_process/Makefile
@@ -13,5 +13,6 @@ include $(RTE_SDK)/mk/rte.vars.mk
DIRS-$(CONFIG_RTE_EXEC_ENV_LINUXAPP) += client_server_mp
DIRS-$(CONFIG_RTE_EXEC_ENV_LINUXAPP) += simple_mp
DIRS-$(CONFIG_RTE_EXEC_ENV_LINUXAPP) += symmetric_mp
+DIRS-$(CONFIG_RTE_EXEC_ENV_LINUXAPP) += hotplug_mp
include $(RTE_SDK)/mk/rte.extsubdir.mk