Re: [dpdk-dev] [PATCH dpdk 4/5] vfio: Do try setting IOMMU type if already set

2017-04-26 Thread Alejandro Lucero
On Wed, Apr 26, 2017 at 9:58 AM, Burakov, Anatoly wrote: > Hi Alejandro, > > > I was counting on first submitted patch being accepted. > > OK, that's on me then. > > > There is another thing to solve which is to unplug ports when there are > more than one (already plugged) in an IOMMU group. I ha

Re: [dpdk-dev] [PATCH dpdk 4/5] vfio: Do try setting IOMMU type if already set

2017-04-26 Thread Burakov, Anatoly
Hi Alejandro, > I was counting on first submitted patch being accepted.  OK, that's on me then. > There is another thing to solve which is to unplug ports when there are more > than one (already plugged) in an IOMMU group. I have a patch for this but I > can not test it for that scenario, just

Re: [dpdk-dev] [PATCH dpdk 4/5] vfio: Do try setting IOMMU type if already set

2017-04-26 Thread Alejandro Lucero
Muthukrishnan > > > > Subject: Re: [dpdk-dev] [PATCH dpdk 4/5] vfio: Do try setting IOMMU type > if > > already set > > > > On 21/04/17 18:54, Andrew Rybchenko wrote: > > > On 04/20/2017 10:24 AM, Alexey Kardashevskiy wrote: > > >> The exi

Re: [dpdk-dev] [PATCH dpdk 4/5] vfio: Do try setting IOMMU type if already set

2017-04-26 Thread Burakov, Anatoly
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Alexey > Kardashevskiy > Sent: Wednesday, April 26, 2017 8:51 AM > To: Andrew Rybchenko ; dev@dpdk.org > Cc: j...@zurich.ibm.com; Gowrishankar Muthukrishnan > > Subject: Re: [dpdk-dev] [PATCH dpdk 4/5] vfio: Do try

Re: [dpdk-dev] [PATCH dpdk 4/5] vfio: Do try setting IOMMU type if already set

2017-04-26 Thread Alexey Kardashevskiy
On 21/04/17 18:54, Andrew Rybchenko wrote: > On 04/20/2017 10:24 AM, Alexey Kardashevskiy wrote: >> The existing code correctly checks if a container is set to a group and >> does not try attaching a group to a container for a second/third/... >> device from the same IOMMU group. >> >> However it s

Re: [dpdk-dev] [PATCH dpdk 4/5] vfio: Do try setting IOMMU type if already set

2017-04-21 Thread Andrew Rybchenko
On 04/20/2017 10:24 AM, Alexey Kardashevskiy wrote: The existing code correctly checks if a container is set to a group and does not try attaching a group to a container for a second/third/... device from the same IOMMU group. However it still tries to set IOMMU type to a container for every dev

Re: [dpdk-dev] [PATCH dpdk 4/5] vfio: Do try setting IOMMU type if already set

2017-04-20 Thread gowrishankar muthukrishnan
On Thursday 20 April 2017 12:54 PM, Alexey Kardashevskiy wrote: The existing code correctly checks if a container is set to a group and does not try attaching a group to a container for a second/third/... device from the same IOMMU group. However it still tries to set IOMMU type to a container f

[dpdk-dev] [PATCH dpdk 4/5] vfio: Do try setting IOMMU type if already set

2017-04-20 Thread Alexey Kardashevskiy
The existing code correctly checks if a container is set to a group and does not try attaching a group to a container for a second/third/... device from the same IOMMU group. However it still tries to set IOMMU type to a container for every device in a group which produces failure and closes conta