hi,jingjing
On 4/2/2018 1:49 PM, Wu, Jingjing wrote:
+static int
+eth_dev_event_callback_register(portid_t port_id)
+{
+ int diag;
+ char *device_name;
+
+ /* if port id equal -1, unregister all device event callbacks */
+ if (port_id == (portid_t)HOT_PLUG_FOR_ALL_DEVICE
>
> +static int
> +eth_dev_event_callback_register(portid_t port_id)
> +{
> + int diag;
> + char *device_name;
> +
> + /* if port id equal -1, unregister all device event callbacks */
> + if (port_id == (portid_t)HOT_PLUG_FOR_ALL_DEVICE) {
> + device_name = NULL;
> +
On 3/30/2018 1:00 AM, Stephen Hemminger wrote:
On Fri, 30 Mar 2018 00:00:05 +0800
Jeff Guo wrote:
Use testpmd for example, to show an application how to use device event
mechanism to monitor the hotplug event, involve both hot removal event
and the hot insertion event.
The process is that,
On Fri, 30 Mar 2018 00:00:05 +0800
Jeff Guo wrote:
> Use testpmd for example, to show an application how to use device event
> mechanism to monitor the hotplug event, involve both hot removal event
> and the hot insertion event.
>
> The process is that, testpmd first enable hotplug monitoring an
Use testpmd for example, to show an application how to use device event
mechanism to monitor the hotplug event, involve both hot removal event
and the hot insertion event.
The process is that, testpmd first enable hotplug monitoring and register
the user's callback, when device being hotplug inser
5 matches
Mail list logo