> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Jingjing Wu
> Sent: Wednesday, January 27, 2016 9:50 AM
> To: dev at dpdk.org
> Subject: [dpdk-dev] [PATCH v2 2/2] i40evf: support interrupt based pf reset
> request
> 
> 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>
Two questions,
1.If the VF RX/TX using msix 1 and Admin Queue using msix 0, 
how the two interrupts can both be read in user spaces, in VM VFIO not 
supported,

2.But if we want to  run l3fwd-power in VF, we can only assign the rx/tx intr 
to msix0,
but both thread will using epoll to wait the msix0 event, 
and intr thread may miss the vf reset event if l3fwd-power thread clean the 
msix0 related fd firstly
 if there are no more packets and msg response come in, the intr thread will 
not be wake up again

Reply via email to