numam-dpdk/examples/multi_process
Qi Zhang 05f1d6842f 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>
2018-10-17 10:16:18 +02:00
..
client_server_mp examples: make Linux environment check consistent 2018-07-12 09:48:12 +02:00
hotplug_mp examples/multi_process: add hotplug sample 2018-10-17 10:16:18 +02:00
simple_mp examples: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
symmetric_mp ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
Makefile examples/multi_process: add hotplug sample 2018-10-17 10:16:18 +02:00
meson.build examples: add empty meson files for unsupported ones 2018-04-17 16:09:43 +02:00