Re: [dpdk-dev] [PATCH V20 2/4] eal: add device event monitor framework

2018-04-05 Thread Guo, Jia
On 4/6/2018 5:54 AM, Thomas Monjalon wrote: 05/04/2018 18:10, Jeff Guo: --- a/lib/librte_eal/rte_eal_version.map +++ b/lib/librte_eal/rte_eal_version.map @@ -260,3 +260,13 @@ EXPERIMENTAL { rte_socket_id_by_idx; } DPDK_18.02; + +EXPERIMENTAL { + global: + + rte_dev_e

Re: [dpdk-dev] [PATCH V20 2/4] eal: add device event monitor framework

2018-04-05 Thread Thomas Monjalon
05/04/2018 18:10, Jeff Guo: > --- a/lib/librte_eal/rte_eal_version.map > +++ b/lib/librte_eal/rte_eal_version.map > @@ -260,3 +260,13 @@ EXPERIMENTAL { > rte_socket_id_by_idx; > > } DPDK_18.02; > + > +EXPERIMENTAL { > + global: > + > + rte_dev_event_monitor_start; > + r

[dpdk-dev] [PATCH V20 2/4] eal: add device event monitor framework

2018-04-05 Thread Jeff Guo
This patch aims to add a general device event monitor framework at EAL device layer, for device hotplug awareness and actions adopted accordingly. It could also expand for all other types of device event monitor, but not in this scope at the stage. To get started, users firstly call below new adde