On 4/6/2018 5:48 AM, Thomas Monjalon wrote:
05/04/2018 18:10, Jeff Guo:
Use testpmd for example, to show how an application uses device event
APIs to monitor the hotplug events, including both hot removal event
and hot insertion event.
The process is that, testpmd first enable hotplug by below commands,
E.g. ./build/app/testpmd -c 0x3 --n 4 -- -i --hot-plug
I am not convinced by the testpmd option.
Why not just a CLI command to start monitoring events?
hot plug is a basic related memory like feature, let the feature go into
option like other base option would be make sense i think.