[dpdk-dev] [PATCH v2 2/2] i40evf: support interrupt based pf reset request

David Marchand david.marchand at 6wind.com
Wed Jan 27 09:34:20 CET 2016


Hello Jingjing,

On Wed, Jan 27, 2016 at 2:49 AM, Jingjing Wu <jingjing.wu at intel.com> wrote:
> Interrupt based request of PF reset from PF is supported by
> enabling the adminq event process in VF driver.
> Users can register a callback for this interrupt event to get
> informed, when a PF reset request detected like:
>   rte_eth_dev_callback_register(portid,
>                 RTE_ETH_EVENT_INTR_RESET,
>                 reset_event_callback,
>                 arg);
>
> Signed-off-by: Jingjing Wu <jingjing.wu at intel.com>

Just adding my previous comment in this thread.

Having this infrastructure is one thing, but the initial problem was
that the driver did not recover from this reset event.
The linux i40e vf driver handles this kind of event itself.
Could we have something similar ?

Thanks.

-- 
David Marchand


More information about the dev mailing list