[dpdk-dev] [PATCH v6 0/4] support reset of VF link

2016-08-29 Thread Lu, Wenzhuo
Hi Luca, > -Original Message- > From: Luca Boccassi [mailto:lboccass at Brocade.com] > Sent: Friday, August 26, 2016 8:58 PM > To: Lu, Wenzhuo > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v6 0/4] support reset of VF link > > On Mon, 2016-07-11 at 15

[dpdk-dev] [PATCH v6 0/4] support reset of VF link

2016-08-26 Thread Luca Boccassi
On Mon, 2016-07-11 at 15:43 +, Luca Boccassi wrote: > On Mon, 2016-07-11 at 13:02 +0100, Luca Boccassi wrote: > > On Mon, 2016-07-11 at 01:32 +, Lu, Wenzhuo wrote: > > > > > > > > Unfortunately I found one issue: if PF is down, and then the VF on the > > > > guest is > > > > down as well

[dpdk-dev] [PATCH v6 0/4] support reset of VF link

2016-07-12 Thread Lu, Wenzhuo
> -Original Message- > From: Luca Boccassi [mailto:lboccass at Brocade.com] > Sent: Monday, July 11, 2016 11:43 PM > To: Lu, Wenzhuo > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v6 0/4] support reset of VF link > > On Mon, 2016-07-11 at 13:02 +0100, Luc

[dpdk-dev] [PATCH v6 0/4] support reset of VF link

2016-07-11 Thread Luca Boccassi
On Mon, 2016-07-11 at 13:02 +0100, Luca Boccassi wrote: > On Mon, 2016-07-11 at 01:32 +, Lu, Wenzhuo wrote: > > > > > > Unfortunately I found one issue: if PF is down, and then the VF on the > > > guest is > > > down as well (ip link down) and then goes back up before the PF, then > > > call

[dpdk-dev] [PATCH v6 0/4] support reset of VF link

2016-07-11 Thread Luca Boccassi
On Mon, 2016-07-11 at 01:32 +, Lu, Wenzhuo wrote: > > > > Unfortunately I found one issue: if PF is down, and then the VF on the > > guest is > > down as well (ip link down) and then goes back up before the PF, then > > calling > > rte_eth_dev_reset will return 0 (success), even though the P

[dpdk-dev] [PATCH v6 0/4] support reset of VF link

2016-07-11 Thread Lu, Wenzhuo
> > Unfortunately I found one issue: if PF is down, and then the VF on the guest > is > down as well (ip link down) and then goes back up before the PF, then calling > rte_eth_dev_reset will return 0 (success), even though the PF is still down > and it > should fail. This is with ixgbe. Any idea

[dpdk-dev] [PATCH v6 0/4] support reset of VF link

2016-07-08 Thread Luca Boccassi
On Fri, 2016-07-08 at 00:14 +, Lu, Wenzhuo wrote: > > > > > > > > > > Hello Wenzhuo, > > > > > > > > > > > > > > > > > > > > I'm testing this patchset, but I am sporadically running > > > > > > > > > > into an issue where the VFs reset fails after the PF flaps. > > > > > > > > > > > > > > > > >

[dpdk-dev] [PATCH v6 0/4] support reset of VF link

2016-07-08 Thread Lu, Wenzhuo
> > > > > > > > > Hello Wenzhuo, > > > > > > > > > > > > > > > > > > I'm testing this patchset, but I am sporadically running > > > > > > > > > into an issue where the VFs reset fails after the PF flaps. > > > > > > > > > > > > > > > > > > I have a VM running on a KVM box with a X540-AT2, passing 2

[dpdk-dev] [PATCH v6 0/4] support reset of VF link

2016-07-07 Thread Luca Boccassi
On Thu, 2016-07-07 at 13:12 +, Lu, Wenzhuo wrote: > > -Original Message- > > From: Luca Boccassi [mailto:lboccass at Brocade.com] > > Sent: Thursday, July 7, 2016 6:21 PM > > To: Lu, Wenzhuo > > Cc: dev at dpdk.org > > Subject: Re: [dpdk-dev] [PA

[dpdk-dev] [PATCH v6 0/4] support reset of VF link

2016-07-07 Thread Lu, Wenzhuo
> -Original Message- > From: Luca Boccassi [mailto:lboccass at Brocade.com] > Sent: Thursday, July 7, 2016 6:21 PM > To: Lu, Wenzhuo > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v6 0/4] support reset of VF link > > On Thu, 2016-07-07 at 01:09 +, L

[dpdk-dev] [PATCH v6 0/4] support reset of VF link

2016-07-07 Thread Luca Boccassi
om] > > > > Sent: Tuesday, July 5, 2016 5:53 PM > > > > To: Lu, Wenzhuo > > > > Cc: dev at dpdk.org > > > > Subject: Re: [dpdk-dev] [PATCH v6 0/4] support reset of VF link > > > > > > > > On Tue, 2016-07-05 at 00:52 +, Lu, Wenzhuo wro

[dpdk-dev] [PATCH v6 0/4] support reset of VF link

2016-07-07 Thread Lu, Wenzhuo
Hi Luca, > -Original Message- > From: Luca Boccassi [mailto:lboccass at Brocade.com] > Sent: Thursday, July 7, 2016 12:23 AM > To: Lu, Wenzhuo > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v6 0/4] support reset of VF link > > On Wed, 2016-07-06 at 00:45

[dpdk-dev] [PATCH v6 0/4] support reset of VF link

2016-07-06 Thread Luca Boccassi
cade.com] > > > > Sent: Monday, July 4, 2016 11:48 PM > > > > To: Lu, Wenzhuo > > > > Cc: dev at dpdk.org > > > > Subject: Re: [dpdk-dev] [PATCH v6 0/4] support reset of VF link > > > > > > > > On Mon, 2016-06-20 at 14:24 +0800, Wenzhuo

[dpdk-dev] [PATCH v6 0/4] support reset of VF link

2016-07-06 Thread Lu, Wenzhuo
Hi Luca, > -Original Message- > From: Luca Boccassi [mailto:lboccass at Brocade.com] > Sent: Tuesday, July 5, 2016 5:53 PM > To: Lu, Wenzhuo > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v6 0/4] support reset of VF link > > On Tue, 2016-07-05 at 00:52

[dpdk-dev] [PATCH v6 0/4] support reset of VF link

2016-07-05 Thread Luca Boccassi
On Tue, 2016-07-05 at 00:52 +, Lu, Wenzhuo wrote: > Hi Luca, > > > > -Original Message- > > From: Luca Boccassi [mailto:lboccass at Brocade.com] > > Sent: Monday, July 4, 2016 11:48 PM > > To: Lu, Wenzhuo > > Cc: dev at dpdk.org > > S

[dpdk-dev] [PATCH v6 0/4] support reset of VF link

2016-07-05 Thread Lu, Wenzhuo
Hi Luca, > -Original Message- > From: Luca Boccassi [mailto:lboccass at Brocade.com] > Sent: Monday, July 4, 2016 11:48 PM > To: Lu, Wenzhuo > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v6 0/4] support reset of VF link > > On Mon, 2016-06-20 at 14:24

[dpdk-dev] [PATCH v6 0/4] support reset of VF link

2016-07-04 Thread Luca Boccassi
On Mon, 2016-06-20 at 14:24 +0800, Wenzhuo Lu wrote: > If the PF link is down and up, VF link will not work accordingly. > This patch set addes the support of VF link reset. So, when VF > receices the messges of physical link down/up. APP can reset the > VF link and let it recover. > > PS: This pa

[dpdk-dev] [PATCH v6 0/4] support reset of VF link

2016-06-20 Thread Wenzhuo Lu
If the PF link is down and up, VF link will not work accordingly. This patch set addes the support of VF link reset. So, when VF receices the messges of physical link down/up. APP can reset the VF link and let it recover. PS: This patch set is splitted from a previous patch set, *automatic link re