Re: [dpdk-dev] [PATCH] net/vdev_netvsc: handle removal of associated pci device

2020-10-20 Thread Gaƫtan Rivet
; > > if(). If a call to rte_eth_dev_start() returning EIO (as the case in > > > fs_dev_start), the best choice would be bail out and fail this sub device. > > > > > > Can you please take a look? > > > > > > Thanks, > > > Long > > >

Re: [dpdk-dev] [PATCH] net/vdev_netvsc: handle removal of associated pci device

2020-10-19 Thread Thomas Monjalon
sub device. > > > > Can you please take a look? > > > > Thanks, > > Long > > > > ________________ > > From: Matan Azrad > > Sent: Tuesday, September 15, 2020 12:00 AM > > To: Long Li ; Stephen Hemminger > > > &

Re: [dpdk-dev] [PATCH] net/vdev_netvsc: handle removal of associated pci device

2020-10-19 Thread Thomas Monjalon
fs_dev_start), > the best choice would be bail out and fail this sub device. > > Can you please take a look? > > Thanks, > Long > > > From: Matan Azrad > Sent: Tuesday, September 15, 2020 12:00 AM > To: Long Li ; Stephen Hemminger > > Cc: ma...@me

Re: [dpdk-dev] [PATCH] net/vdev_netvsc: handle removal of associated pci device

2020-09-25 Thread Long Li
anox.com ; gr...@u246.net ; dev@dpdk.org ; Raslan Darawsheh Subject: RE: [dpdk-dev] [PATCH] net/vdev_netvsc: handle removal of associated pci device Hi Li From: Long Li > >Subject: Re: [dpdk-dev] [PATCH] net/vdev_netvsc: handle removal of > >associated pci device > > > >H

Re: [dpdk-dev] [PATCH] net/vdev_netvsc: handle removal of associated pci device

2020-09-15 Thread Long Li
>Subject: Re: [dpdk-dev] [PATCH] net/vdev_netvsc: handle removal of >associated pci device > >Hi Stephen > >From: Stephen Hemminger: >> On Sun, 6 Sep 2020 12:38:18 + >> Matan Azrad wrote: >> >> > Hi Stephen >> > >> > From: Steph

Re: [dpdk-dev] [PATCH] net/vdev_netvsc: handle removal of associated pci device

2020-09-15 Thread Matan Azrad
Hi Li From: Long Li > >Subject: Re: [dpdk-dev] [PATCH] net/vdev_netvsc: handle removal of > >associated pci device > > > >Hi Stephen > > > >From: Stephen Hemminger: > >> On Sun, 6 Sep 2020 12:38:18 + > >> Matan Azrad wrote: > &

Re: [dpdk-dev] [PATCH] net/vdev_netvsc: handle removal of associated pci device

2020-09-07 Thread Matan Azrad
Hi Stephen From: Stephen Hemminger: > On Sun, 6 Sep 2020 12:38:18 + > Matan Azrad wrote: > > > Hi Stephen > > > > From: Stephen Hemminger: > > > The vdev_netvsc was not detecting when the associated PCI device > > > (SRIOV) was removed. Because of that it would keep feeding the same > > > (r

Re: [dpdk-dev] [PATCH] net/vdev_netvsc: handle removal of associated pci device

2020-09-06 Thread Stephen Hemminger
On Sun, 6 Sep 2020 12:38:18 + Matan Azrad wrote: > Hi Stephen > > From: Stephen Hemminger: > > The vdev_netvsc was not detecting when the associated PCI device > > (SRIOV) was removed. Because of that it would keep feeding the same > > (removed) device to failsafe PMD which would then unsucc

Re: [dpdk-dev] [PATCH] net/vdev_netvsc: handle removal of associated pci device

2020-09-06 Thread Matan Azrad
Hi Stephen From: Stephen Hemminger: > The vdev_netvsc was not detecting when the associated PCI device > (SRIOV) was removed. Because of that it would keep feeding the same > (removed) device to failsafe PMD which would then unsuccessfully try and > probe for it. > > Change to use a mark/sweep me

Re: [dpdk-dev] [PATCH] net/vdev_netvsc: handle removal of associated pci device

2020-09-06 Thread Long Li
>Subject: [dpdk-dev] [PATCH] net/vdev_netvsc: handle removal of associated >pci device > >The vdev_netvsc was not detecting when the associated PCI device >(SRIOV) was removed. Because of that it would keep feeding the same >(removed) device to failsafe PMD which would then unsu

[dpdk-dev] [PATCH] net/vdev_netvsc: handle removal of associated pci device

2020-08-19 Thread Stephen Hemminger
The vdev_netvsc was not detecting when the associated PCI device (SRIOV) was removed. Because of that it would keep feeding the same (removed) device to failsafe PMD which would then unsuccessfully try and probe for it. Change to use a mark/sweep method to detect that PCI device was removed, and a