public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH v3.10.y 0/4] IB/IPoIB fixes for SRIOV / cloud environment
       [not found] <1375778322-24408-1-git-send-email-ogerlitz@mellanox.com>
@ 2013-08-06  9:38 ` Greg KH
  2013-08-06 11:22   ` Or Gerlitz
  0 siblings, 1 reply; 8+ messages in thread
From: Greg KH @ 2013-08-06  9:38 UTC (permalink / raw)
  To: Or Gerlitz; +Cc: roland, stable, linux-rdma

On Tue, Aug 06, 2013 at 11:38:38AM +0300, Or Gerlitz wrote:
> Hi Greg,
> 
> This series contains few fixes to the IB core, mlx4 IB driver and IPoIB. 
> 
> The patches enable working properly with IPoIB devices set over SRIOV 
> Virtual Functions probed to VMs in cloud environment when the cloud 
> management system uses non trivial settings of IB PKEYs (Partition-Keys
> , sort of Ethernet vlans equivalent).

That really sounds like a new feature, and not a bugfix, for these
devices, right?

I need an agreement from the IB maintainers that this really is stable
material before I can accept it.

greg k-h

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH v3.10.y 0/4] IB/IPoIB fixes for SRIOV / cloud environment
  2013-08-06  9:38 ` [PATCH v3.10.y 0/4] IB/IPoIB fixes for SRIOV / cloud environment Greg KH
@ 2013-08-06 11:22   ` Or Gerlitz
  2013-08-12 10:38     ` Or Gerlitz
  0 siblings, 1 reply; 8+ messages in thread
From: Or Gerlitz @ 2013-08-06 11:22 UTC (permalink / raw)
  To: Greg KH; +Cc: roland, stable, linux-rdma

On 06/08/2013 12:38, Greg KH wrote:
> On Tue, Aug 06, 2013 at 11:38:38AM +0300, Or Gerlitz wrote:
>> Hi Greg,
>>
>> This series contains few fixes to the IB core, mlx4 IB driver and IPoIB.
>>
>> The patches enable working properly with IPoIB devices set over SRIOV
>> Virtual Functions probed to VMs in cloud environment when the cloud
>> management system uses non trivial settings of IB PKEYs (Partition-Keys
>> , sort of Ethernet vlans equivalent).
> That really sounds like a new feature, and not a bugfix, for these devices, right?



Hi Greg,

well... not really

3eac103 IB/mlx4: Use default pkey when creating tunnel QPs
ef5ed41 IB/core: Create QP1 using the pkey index which contains the 
default pkey

are point bug fixes to code in the IB core and mlx4 IB driver which assumed
that the default IB Partition-Key is located in index 0 of the PKEY table,
which isn't necessarily the case in virtualization environments.

3d790a4 IPoIB: Make sure child devices use valid/proper pkeys

is bug fix to the IPoIB driver to make sure we disallow child device
creation with invalid IB PKEY

and finally

c290414 IPoIB: Fix pkey change flow for virtualization environments

is indeed a bit of heavier but is a fix, the text there saying

> IPoIB's required behaviour w.r.t to the pkey used by the device is the following:
>
> - For "parent" interfaces (e.g ib0, ib1, etc) who are created
>    automatically as a result of hot-plug events from the IB core, the
>    driver needs to take whatever pkey vlaue it finds in index 0, and
>    stick to that index.
>
> - For child interfaces (e.g ib0.8001, etc) created by admin directive,
>    the driver needs to use and stick to the value provided during its
>    creation.
>

came to describe the driver design and how it works when the bug doesn't 
trigger,
the patch itself fixes the driver to always work along this design


> I need an agreement from the IB maintainers that this really is stable
> material before I can accept it.

sure, fair enough, just wanted to shed more light on the matter.

Or.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH v3.10.y 0/4] IB/IPoIB fixes for SRIOV / cloud environment
  2013-08-06 11:22   ` Or Gerlitz
@ 2013-08-12 10:38     ` Or Gerlitz
       [not found]       ` <5208BB43.60109-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Or Gerlitz @ 2013-08-12 10:38 UTC (permalink / raw)
  To: roland; +Cc: Greg KH, stable, linux-rdma

On 06/08/2013 14:22, Or Gerlitz wrote:
> On 06/08/2013 12:38, Greg KH wrote:
>> On Tue, Aug 06, 2013 at 11:38:38AM +0300, Or Gerlitz wrote:
>>> Hi Greg,
>>>
>>> This series contains few fixes to the IB core, mlx4 IB driver and 
>>> IPoIB.
>>>
>>> The patches enable working properly with IPoIB devices set over SRIOV
>>> Virtual Functions probed to VMs in cloud environment when the cloud
>>> management system uses non trivial settings of IB PKEYs (Partition-Keys
>>> , sort of Ethernet vlans equivalent).
>> That really sounds like a new feature, and not a bugfix, for these 
>> devices, right?
>
>
>
> Hi Greg,
>
> well... not really
>
> 3eac103 IB/mlx4: Use default pkey when creating tunnel QPs
> ef5ed41 IB/core: Create QP1 using the pkey index which contains the 
> default pkey
>
> are point bug fixes to code in the IB core and mlx4 IB driver which 
> assumed
> that the default IB Partition-Key is located in index 0 of the PKEY 
> table,
> which isn't necessarily the case in virtualization environments.
>
> 3d790a4 IPoIB: Make sure child devices use valid/proper pkeys
>
> is bug fix to the IPoIB driver to make sure we disallow child device
> creation with invalid IB PKEY
>
> and finally
>
> c290414 IPoIB: Fix pkey change flow for virtualization environments
>
> is indeed a bit of heavier but is a fix, the text there saying
>
>> IPoIB's required behaviour w.r.t to the pkey used by the device is 
>> the following:
>>
>> - For "parent" interfaces (e.g ib0, ib1, etc) who are created
>>    automatically as a result of hot-plug events from the IB core, the
>>    driver needs to take whatever pkey vlaue it finds in index 0, and
>>    stick to that index.
>>
>> - For child interfaces (e.g ib0.8001, etc) created by admin directive,
>>    the driver needs to use and stick to the value provided during its
>>    creation.
>>
>
> came to describe the driver design and how it works when the bug 
> doesn't trigger,
> the patch itself fixes the driver to always work along this design
>
>
>> I need an agreement from the IB maintainers that this really is stable
>> material before I can accept it.
>
> sure, fair enough, just wanted to shed more light on the matter.
>

Hi Roland,

Can you comment here, please.

Or.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH v3.10.y 0/4] IB/IPoIB fixes for SRIOV / cloud environment
       [not found]       ` <5208BB43.60109-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
@ 2013-08-22 21:43         ` Greg KH
  2013-08-22 22:36           ` Roland Dreier
  0 siblings, 1 reply; 8+ messages in thread
From: Greg KH @ 2013-08-22 21:43 UTC (permalink / raw)
  To: Or Gerlitz
  Cc: roland-DgEjT+Ai2ygdnm+yROfE0A, stable-u79uwXL29TY76Z2rM5mHXA,
	linux-rdma-u79uwXL29TY76Z2rM5mHXA

On Mon, Aug 12, 2013 at 01:38:59PM +0300, Or Gerlitz wrote:
> On 06/08/2013 14:22, Or Gerlitz wrote:
> >On 06/08/2013 12:38, Greg KH wrote:
> >>On Tue, Aug 06, 2013 at 11:38:38AM +0300, Or Gerlitz wrote:
> >>>Hi Greg,
> >>>
> >>>This series contains few fixes to the IB core, mlx4 IB driver
> >>>and IPoIB.
> >>>
> >>>The patches enable working properly with IPoIB devices set over SRIOV
> >>>Virtual Functions probed to VMs in cloud environment when the cloud
> >>>management system uses non trivial settings of IB PKEYs (Partition-Keys
> >>>, sort of Ethernet vlans equivalent).
> >>That really sounds like a new feature, and not a bugfix, for
> >>these devices, right?
> >
> >
> >
> >Hi Greg,
> >
> >well... not really
> >
> >3eac103 IB/mlx4: Use default pkey when creating tunnel QPs
> >ef5ed41 IB/core: Create QP1 using the pkey index which contains
> >the default pkey
> >
> >are point bug fixes to code in the IB core and mlx4 IB driver
> >which assumed
> >that the default IB Partition-Key is located in index 0 of the
> >PKEY table,
> >which isn't necessarily the case in virtualization environments.
> >
> >3d790a4 IPoIB: Make sure child devices use valid/proper pkeys
> >
> >is bug fix to the IPoIB driver to make sure we disallow child device
> >creation with invalid IB PKEY
> >
> >and finally
> >
> >c290414 IPoIB: Fix pkey change flow for virtualization environments
> >
> >is indeed a bit of heavier but is a fix, the text there saying
> >
> >>IPoIB's required behaviour w.r.t to the pkey used by the device
> >>is the following:
> >>
> >>- For "parent" interfaces (e.g ib0, ib1, etc) who are created
> >>   automatically as a result of hot-plug events from the IB core, the
> >>   driver needs to take whatever pkey vlaue it finds in index 0, and
> >>   stick to that index.
> >>
> >>- For child interfaces (e.g ib0.8001, etc) created by admin directive,
> >>   the driver needs to use and stick to the value provided during its
> >>   creation.
> >>
> >
> >came to describe the driver design and how it works when the bug
> >doesn't trigger,
> >the patch itself fixes the driver to always work along this design
> >
> >
> >>I need an agreement from the IB maintainers that this really is stable
> >>material before I can accept it.
> >
> >sure, fair enough, just wanted to shed more light on the matter.
> >
> 
> Hi Roland,
> 
> Can you comment here, please.

Given the lack of response, I'm guessing these don't matter for 3.10, so
I'll drop them from my mbox.  If Roland ever does ack them, please feel
free to resend them and I'll be glad to apply them.

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH v3.10.y 0/4] IB/IPoIB fixes for SRIOV / cloud environment
  2013-08-22 21:43         ` Greg KH
@ 2013-08-22 22:36           ` Roland Dreier
  2013-08-25  8:10             ` Or Gerlitz
  0 siblings, 1 reply; 8+ messages in thread
From: Roland Dreier @ 2013-08-22 22:36 UTC (permalink / raw)
  To: Greg KH; +Cc: Or Gerlitz, stable, linux-rdma@vger.kernel.org

Sorry for not replying.  My feeling about these patches is basically
"meh".  They seem to be correct fixes but I can't convince myself the
impact merits applying them to stable.

On Thu, Aug 22, 2013 at 2:43 PM, Greg KH <gregkh@linuxfoundation.org> wrote:
> On Mon, Aug 12, 2013 at 01:38:59PM +0300, Or Gerlitz wrote:
>> On 06/08/2013 14:22, Or Gerlitz wrote:
>> >On 06/08/2013 12:38, Greg KH wrote:
>> >>On Tue, Aug 06, 2013 at 11:38:38AM +0300, Or Gerlitz wrote:
>> >>>Hi Greg,
>> >>>
>> >>>This series contains few fixes to the IB core, mlx4 IB driver
>> >>>and IPoIB.
>> >>>
>> >>>The patches enable working properly with IPoIB devices set over SRIOV
>> >>>Virtual Functions probed to VMs in cloud environment when the cloud
>> >>>management system uses non trivial settings of IB PKEYs (Partition-Keys
>> >>>, sort of Ethernet vlans equivalent).
>> >>That really sounds like a new feature, and not a bugfix, for
>> >>these devices, right?
>> >
>> >
>> >
>> >Hi Greg,
>> >
>> >well... not really
>> >
>> >3eac103 IB/mlx4: Use default pkey when creating tunnel QPs
>> >ef5ed41 IB/core: Create QP1 using the pkey index which contains
>> >the default pkey
>> >
>> >are point bug fixes to code in the IB core and mlx4 IB driver
>> >which assumed
>> >that the default IB Partition-Key is located in index 0 of the
>> >PKEY table,
>> >which isn't necessarily the case in virtualization environments.
>> >
>> >3d790a4 IPoIB: Make sure child devices use valid/proper pkeys
>> >
>> >is bug fix to the IPoIB driver to make sure we disallow child device
>> >creation with invalid IB PKEY
>> >
>> >and finally
>> >
>> >c290414 IPoIB: Fix pkey change flow for virtualization environments
>> >
>> >is indeed a bit of heavier but is a fix, the text there saying
>> >
>> >>IPoIB's required behaviour w.r.t to the pkey used by the device
>> >>is the following:
>> >>
>> >>- For "parent" interfaces (e.g ib0, ib1, etc) who are created
>> >>   automatically as a result of hot-plug events from the IB core, the
>> >>   driver needs to take whatever pkey vlaue it finds in index 0, and
>> >>   stick to that index.
>> >>
>> >>- For child interfaces (e.g ib0.8001, etc) created by admin directive,
>> >>   the driver needs to use and stick to the value provided during its
>> >>   creation.
>> >>
>> >
>> >came to describe the driver design and how it works when the bug
>> >doesn't trigger,
>> >the patch itself fixes the driver to always work along this design
>> >
>> >
>> >>I need an agreement from the IB maintainers that this really is stable
>> >>material before I can accept it.
>> >
>> >sure, fair enough, just wanted to shed more light on the matter.
>> >
>>
>> Hi Roland,
>>
>> Can you comment here, please.
>
> Given the lack of response, I'm guessing these don't matter for 3.10, so
> I'll drop them from my mbox.  If Roland ever does ack them, please feel
> free to resend them and I'll be glad to apply them.
>
> thanks,
>
> greg k-h

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH v3.10.y 0/4] IB/IPoIB fixes for SRIOV / cloud environment
  2013-08-22 22:36           ` Roland Dreier
@ 2013-08-25  8:10             ` Or Gerlitz
  2013-08-25 16:19               ` Greg KH
  0 siblings, 1 reply; 8+ messages in thread
From: Or Gerlitz @ 2013-08-25  8:10 UTC (permalink / raw)
  To: Roland Dreier; +Cc: Greg KH, stable, linux-rdma@vger.kernel.org

On 23/08/2013 01:36, Roland Dreier wrote:
> Sorry for not replying.  My feeling about these patches is basically "meh".

English (please)?

> They seem to be correct fixes but I can't convince myself the impact merits applying them to stable.

Let it be for now, if it turns out that 3.10.y becomes long term 
supported (e.g such as 2.6.32, 3.2 etc) I would ask the re-examine this 
again, we'll see

Or.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH v3.10.y 0/4] IB/IPoIB fixes for SRIOV / cloud environment
  2013-08-25  8:10             ` Or Gerlitz
@ 2013-08-25 16:19               ` Greg KH
       [not found]                 ` <20130825161936.GA4808-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Greg KH @ 2013-08-25 16:19 UTC (permalink / raw)
  To: Or Gerlitz; +Cc: Roland Dreier, stable, linux-rdma@vger.kernel.org

On Sun, Aug 25, 2013 at 11:10:36AM +0300, Or Gerlitz wrote:
> On 23/08/2013 01:36, Roland Dreier wrote:
> > Sorry for not replying.  My feeling about these patches is basically "meh".
> 
> English (please)?

That was English:
	http://www.urbandictionary.com/define.php?term=meh

> > They seem to be correct fixes but I can't convince myself the impact merits applying them to stable.
> 
> Let it be for now, if it turns out that 3.10.y becomes long term 
> supported (e.g such as 2.6.32, 3.2 etc) I would ask the re-examine this 
> again, we'll see

That is exactly what 3.10 is going to be:
	http://kroah.com/log/blog/2013/08/04/longterm-kernel-3-dot-10/

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH v3.10.y 0/4] IB/IPoIB fixes for SRIOV / cloud environment
       [not found]                 ` <20130825161936.GA4808-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
@ 2013-08-26 11:36                   ` Or Gerlitz
  0 siblings, 0 replies; 8+ messages in thread
From: Or Gerlitz @ 2013-08-26 11:36 UTC (permalink / raw)
  To: Greg KH
  Cc: Roland Dreier, stable-u79uwXL29TY76Z2rM5mHXA,
	linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org

On 25/08/2013 19:19, Greg KH wrote:
> On Sun, Aug 25, 2013 at 11:10:36AM +0300, Or Gerlitz wrote:
>> On 23/08/2013 01:36, Roland Dreier wrote:
>>> Sorry for not replying.  My feeling about these patches is basically "meh".
>> English (please)?
> That was English:
> 	http://www.urbandictionary.com/define.php?term=meh

OK, thanks for the pointer, will try harder next time

>
>>> They seem to be correct fixes but I can't convince myself the impact merits applying them to stable.
>> Let it be for now, if it turns out that 3.10.y becomes long term
>> supported (e.g such as 2.6.32, 3.2 etc) I would ask the re-examine this
>> again, we'll see
> That is exactly what 3.10 is going to be:
> 	http://kroah.com/log/blog/2013/08/04/longterm-kernel-3-dot-10/
>
>

OK, good to know, so now when I know what is Meh and understand that 
3.10 is an LTS kernel,
I will revive the discussion at some near future point ...

Or.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-08-26 11:36 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1375778322-24408-1-git-send-email-ogerlitz@mellanox.com>
2013-08-06  9:38 ` [PATCH v3.10.y 0/4] IB/IPoIB fixes for SRIOV / cloud environment Greg KH
2013-08-06 11:22   ` Or Gerlitz
2013-08-12 10:38     ` Or Gerlitz
     [not found]       ` <5208BB43.60109-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2013-08-22 21:43         ` Greg KH
2013-08-22 22:36           ` Roland Dreier
2013-08-25  8:10             ` Or Gerlitz
2013-08-25 16:19               ` Greg KH
     [not found]                 ` <20130825161936.GA4808-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2013-08-26 11:36                   ` Or Gerlitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox