Re: [dpdk-dev] [PATCH v2 02/32] net/i40e: add callback to user on VF to PF mbox msg

2016-12-20 Thread Lu, Wenzhuo
Hi Ferruh, > -Original Message- > From: Yigit, Ferruh > Sent: Wednesday, December 7, 2016 8:45 PM > To: Lu, Wenzhuo; dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2 02/32] net/i40e: add callback to user on VF > to > PF mbox msg > > On 12/7/2016 3:31 AM

Re: [dpdk-dev] [PATCH v2 02/32] net/i40e: add callback to user on VF to PF mbox msg

2016-12-07 Thread Ferruh Yigit
On 12/7/2016 3:31 AM, Wenzhuo Lu wrote: > The callback asks the user application if it is allowed to > perform the mailbox messages. > > If the return value from user is RTE_PMD_I40E_MB_EVENT_PROCEED > then continue. If ACK or NACK, do nothing and send > not_supported to VF. > > Signed-off-by: We

[dpdk-dev] [PATCH v2 02/32] net/i40e: add callback to user on VF to PF mbox msg

2016-12-06 Thread Wenzhuo Lu
The callback asks the user application if it is allowed to perform the mailbox messages. If the return value from user is RTE_PMD_I40E_MB_EVENT_PROCEED then continue. If ACK or NACK, do nothing and send not_supported to VF. Signed-off-by: Wenzhuo Lu --- drivers/net/i40e/i40e_pf.c | 230 +++