netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Regression][v3.10][v3.11] net: Kill link between CSUM and SG features.
@ 2013-07-16 18:09 Joseph Salisbury
  2013-07-16 18:29 ` Pravin Shelar
  0 siblings, 1 reply; 7+ messages in thread
From: Joseph Salisbury @ 2013-07-16 18:09 UTC (permalink / raw)
  To: pshelar
  Cc: davem, ben.howard, edumazet, xiyou.wangcong, alexander.h.duyck,
	jiri, netdev, LKML, kys, haiyangz

Hi Pravin,

A bug was opened against the Ubuntu kernel[0].  After a kernel bisect,
it was found that reverting the following commit resolved this bug:

commit ec5f061564238892005257c83565a0b58ec79295
Author: Pravin B Shelar <pshelar@nicira.com>
Date:   Thu Mar 7 09:28:01 2013 +0000

    net: Kill link between CSUM and SG features.


The regression was introduced as of v3.10-rc1.

I see that you are the author of this patch, so I wanted to run this by
you.  I was thinking of requesting a revert for v3.11, but I wanted to
get your feedback first.


Thanks,

Joe

[0] http://pad.lv/1200243

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

* Re: [Regression][v3.10][v3.11] net: Kill link between CSUM and SG features.
  2013-07-16 18:09 [Regression][v3.10][v3.11] net: Kill link between CSUM and SG features Joseph Salisbury
@ 2013-07-16 18:29 ` Pravin Shelar
  2013-07-16 19:53   ` Joseph Salisbury
  0 siblings, 1 reply; 7+ messages in thread
From: Pravin Shelar @ 2013-07-16 18:29 UTC (permalink / raw)
  To: Joseph Salisbury
  Cc: davem, ben.howard, edumazet, xiyou.wangcong, alexander.h.duyck,
	jiri, netdev, LKML, kys, haiyangz

On Tue, Jul 16, 2013 at 11:09 AM, Joseph Salisbury
<joseph.salisbury@canonical.com> wrote:
> Hi Pravin,
>
> A bug was opened against the Ubuntu kernel[0].  After a kernel bisect,
> it was found that reverting the following commit resolved this bug:
>
> commit ec5f061564238892005257c83565a0b58ec79295
> Author: Pravin B Shelar <pshelar@nicira.com>
> Date:   Thu Mar 7 09:28:01 2013 +0000
>
>     net: Kill link between CSUM and SG features.
>
>
> The regression was introduced as of v3.10-rc1.
>
> I see that you are the author of this patch, so I wanted to run this by
> you.  I was thinking of requesting a revert for v3.11, but I wanted to
> get your feedback first.
>
>
This issue was reported before and turning off sg solves problem for
HyperV driver. Drivers (intel and bnx2x) that I tested works fine with
this patch. Have you seen the issue on any other NIC?


> Thanks,
>
> Joe
>
> [0] http://pad.lv/1200243
>
> --
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [Regression][v3.10][v3.11] net: Kill link between CSUM and SG features.
  2013-07-16 18:29 ` Pravin Shelar
@ 2013-07-16 19:53   ` Joseph Salisbury
  2013-07-16 20:50     ` Pravin Shelar
  0 siblings, 1 reply; 7+ messages in thread
From: Joseph Salisbury @ 2013-07-16 19:53 UTC (permalink / raw)
  To: Pravin Shelar
  Cc: davem, ben.howard, edumazet, xiyou.wangcong, alexander.h.duyck,
	jiri, netdev, LKML, kys, haiyangz

On 07/16/2013 02:29 PM, Pravin Shelar wrote:
> On Tue, Jul 16, 2013 at 11:09 AM, Joseph Salisbury
> <joseph.salisbury@canonical.com> wrote:
>> Hi Pravin,
>>
>> A bug was opened against the Ubuntu kernel[0].  After a kernel bisect,
>> it was found that reverting the following commit resolved this bug:
>>
>> commit ec5f061564238892005257c83565a0b58ec79295
>> Author: Pravin B Shelar <pshelar@nicira.com>
>> Date:   Thu Mar 7 09:28:01 2013 +0000
>>
>>     net: Kill link between CSUM and SG features.
>>
>>
>> The regression was introduced as of v3.10-rc1.
>>
>> I see that you are the author of this patch, so I wanted to run this by
>> you.  I was thinking of requesting a revert for v3.11, but I wanted to
>> get your feedback first.
>>
>>
> This issue was reported before and turning off sg solves problem for
> HyperV driver. Drivers (intel and bnx2x) that I tested works fine with
> this patch. Have you seen the issue on any other NIC?

Thanks for the feedback.  We have only seen it on Intel hardware.  Can
you send a pointer to the patch? If so, we can provide some additional
testing.  Do you plan on submitting the patch for inclusion in 3.11?


>
>
>> Thanks,
>>
>> Joe
>>
>> [0] http://pad.lv/1200243
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe netdev" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [Regression][v3.10][v3.11] net: Kill link between CSUM and SG features.
  2013-07-16 19:53   ` Joseph Salisbury
@ 2013-07-16 20:50     ` Pravin Shelar
  2013-07-17 15:30       ` Joseph Salisbury
  0 siblings, 1 reply; 7+ messages in thread
From: Pravin Shelar @ 2013-07-16 20:50 UTC (permalink / raw)
  To: Joseph Salisbury
  Cc: davem, ben.howard, edumazet, xiyou.wangcong, alexander.h.duyck,
	jiri, netdev, LKML, kys, haiyangz

On Tue, Jul 16, 2013 at 12:53 PM, Joseph Salisbury
<joseph.salisbury@canonical.com> wrote:
> On 07/16/2013 02:29 PM, Pravin Shelar wrote:
>> On Tue, Jul 16, 2013 at 11:09 AM, Joseph Salisbury
>> <joseph.salisbury@canonical.com> wrote:
>>> Hi Pravin,
>>>
>>> A bug was opened against the Ubuntu kernel[0].  After a kernel bisect,
>>> it was found that reverting the following commit resolved this bug:
>>>
>>> commit ec5f061564238892005257c83565a0b58ec79295
>>> Author: Pravin B Shelar <pshelar@nicira.com>
>>> Date:   Thu Mar 7 09:28:01 2013 +0000
>>>
>>>     net: Kill link between CSUM and SG features.
>>>
>>>
>>> The regression was introduced as of v3.10-rc1.
>>>
>>> I see that you are the author of this patch, so I wanted to run this by
>>> you.  I was thinking of requesting a revert for v3.11, but I wanted to
>>> get your feedback first.
>>>
>>>
>> This issue was reported before and turning off sg solves problem for
>> HyperV driver. Drivers (intel and bnx2x) that I tested works fine with
>> this patch. Have you seen the issue on any other NIC?
>
> Thanks for the feedback.  We have only seen it on Intel hardware.  Can
> you send a pointer to the patch? If so, we can provide some additional
> testing.  Do you plan on submitting the patch for inclusion in 3.11?
>
>
What I mean is I do not see any problem with the patch that you have
pointed out on ixgbe and bnx2x platforms. HyperV problem went away
with disabling sg by ethtool utility.

Can you also give me more information about regression you are seeing
like driver name, features of the NIC set and features of device
without this patch. Does any other NIC than HyperV having this issue?

Thanks.

>>
>>
>>> Thanks,
>>>
>>> Joe
>>>
>>> [0] http://pad.lv/1200243
>>>
>>> --
>>> To unsubscribe from this list: send the line "unsubscribe netdev" in
>>> the body of a message to majordomo@vger.kernel.org
>>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

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

* Re: [Regression][v3.10][v3.11] net: Kill link between CSUM and SG features.
  2013-07-16 20:50     ` Pravin Shelar
@ 2013-07-17 15:30       ` Joseph Salisbury
  2013-07-17 17:45         ` Haiyang Zhang
  0 siblings, 1 reply; 7+ messages in thread
From: Joseph Salisbury @ 2013-07-17 15:30 UTC (permalink / raw)
  To: Pravin Shelar
  Cc: davem, ben.howard, edumazet, xiyou.wangcong, alexander.h.duyck,
	jiri, netdev, LKML, kys, haiyangz

On 07/16/2013 04:50 PM, Pravin Shelar wrote:
> On Tue, Jul 16, 2013 at 12:53 PM, Joseph Salisbury
> <joseph.salisbury@canonical.com> wrote:
>> On 07/16/2013 02:29 PM, Pravin Shelar wrote:
>>> On Tue, Jul 16, 2013 at 11:09 AM, Joseph Salisbury
>>> <joseph.salisbury@canonical.com> wrote:
>>>> Hi Pravin,
>>>>
>>>> A bug was opened against the Ubuntu kernel[0].  After a kernel bisect,
>>>> it was found that reverting the following commit resolved this bug:
>>>>
>>>> commit ec5f061564238892005257c83565a0b58ec79295
>>>> Author: Pravin B Shelar <pshelar@nicira.com>
>>>> Date:   Thu Mar 7 09:28:01 2013 +0000
>>>>
>>>>     net: Kill link between CSUM and SG features.
>>>>
>>>>
>>>> The regression was introduced as of v3.10-rc1.
>>>>
>>>> I see that you are the author of this patch, so I wanted to run this by
>>>> you.  I was thinking of requesting a revert for v3.11, but I wanted to
>>>> get your feedback first.
>>>>
>>>>
>>> This issue was reported before and turning off sg solves problem for
>>> HyperV driver. Drivers (intel and bnx2x) that I tested works fine with
>>> this patch. Have you seen the issue on any other NIC?
>> Thanks for the feedback.  We have only seen it on Intel hardware.  Can
>> you send a pointer to the patch? If so, we can provide some additional
>> testing.  Do you plan on submitting the patch for inclusion in 3.11?
>>
>>
> What I mean is I do not see any problem with the patch that you have
> pointed out on ixgbe and bnx2x platforms. HyperV problem went away
> with disabling sg by ethtool utility.
Yes, we also see that the problem goes away when disabling sg with
ethtool.  There was a significant improvement in throughput with sg
enabled, so it's unfortunate it must be disabled. 

>
> Can you also give me more information about regression you are seeing
> like driver name, features of the NIC set and features of device
> without this patch. Does any other NIC than HyperV having this issue?

Some details info about the HyperV guest can be seen here:
http://paste.ubuntu.com/5884549/

In that output, you will see that scatter-gather is off, which was done
manually. 

Only a HyperV NIC is having this issue.

>
> Thanks.
>
>>>
>>>> Thanks,
>>>>
>>>> Joe
>>>>
>>>> [0] http://pad.lv/1200243
>>>>
>>>> --
>>>> To unsubscribe from this list: send the line "unsubscribe netdev" in
>>>> the body of a message to majordomo@vger.kernel.org
>>>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

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

* RE: [Regression][v3.10][v3.11] net: Kill link between CSUM and SG features.
  2013-07-17 15:30       ` Joseph Salisbury
@ 2013-07-17 17:45         ` Haiyang Zhang
  2013-07-17 18:22           ` Joseph Salisbury
  0 siblings, 1 reply; 7+ messages in thread
From: Haiyang Zhang @ 2013-07-17 17:45 UTC (permalink / raw)
  To: Joseph Salisbury, Pravin Shelar
  Cc: davem@davemloft.net, ben.howard@canonical.com,
	edumazet@google.com, xiyou.wangcong@gmail.com,
	alexander.h.duyck@intel.com, jiri@resnulli.us,
	netdev@vger.kernel.org, LKML, KY Srinivasan



> -----Original Message-----
> From: Joseph Salisbury [mailto:joseph.salisbury@canonical.com]
> Sent: Wednesday, July 17, 2013 8:31 AM
> To: Pravin Shelar
> Cc: davem@davemloft.net; ben.howard@canonical.com;
> edumazet@google.com; xiyou.wangcong@gmail.com;
> alexander.h.duyck@intel.com; jiri@resnulli.us; netdev@vger.kernel.org;
> LKML; KY Srinivasan; Haiyang Zhang
> Subject: Re: [Regression][v3.10][v3.11] net: Kill link between CSUM and SG
> features.
> 
> On 07/16/2013 04:50 PM, Pravin Shelar wrote:
> > On Tue, Jul 16, 2013 at 12:53 PM, Joseph Salisbury
> > <joseph.salisbury@canonical.com> wrote:
> >> On 07/16/2013 02:29 PM, Pravin Shelar wrote:
> >>> On Tue, Jul 16, 2013 at 11:09 AM, Joseph Salisbury
> >>> <joseph.salisbury@canonical.com> wrote:
> >>>> Hi Pravin,
> >>>>
> >>>> A bug was opened against the Ubuntu kernel[0].  After a kernel
> >>>> bisect, it was found that reverting the following commit resolved this
> bug:
> >>>>
> >>>> commit ec5f061564238892005257c83565a0b58ec79295
> >>>> Author: Pravin B Shelar <pshelar@nicira.com>
> >>>> Date:   Thu Mar 7 09:28:01 2013 +0000
> >>>>
> >>>>     net: Kill link between CSUM and SG features.
> >>>>
> >>>>
> >>>> The regression was introduced as of v3.10-rc1.
> >>>>
> >>>> I see that you are the author of this patch, so I wanted to run
> >>>> this by you.  I was thinking of requesting a revert for v3.11, but
> >>>> I wanted to get your feedback first.
> >>>>
> >>>>
> >>> This issue was reported before and turning off sg solves problem for
> >>> HyperV driver. Drivers (intel and bnx2x) that I tested works fine
> >>> with this patch. Have you seen the issue on any other NIC?
> >> Thanks for the feedback.  We have only seen it on Intel hardware.
> >> Can you send a pointer to the patch? If so, we can provide some
> >> additional testing.  Do you plan on submitting the patch for inclusion in
> 3.11?
> >>
> >>
> > What I mean is I do not see any problem with the patch that you have
> > pointed out on ixgbe and bnx2x platforms. HyperV problem went away
> > with disabling sg by ethtool utility.
> Yes, we also see that the problem goes away when disabling sg with ethtool.
> There was a significant improvement in throughput with sg enabled, so it's
> unfortunate it must be disabled.
> 
> >
> > Can you also give me more information about regression you are seeing
> > like driver name, features of the NIC set and features of device
> > without this patch. Does any other NIC than HyperV having this issue?
> 
> Some details info about the HyperV guest can be seen here:
> http://paste.ubuntu.com/5884549/
> 
> In that output, you will see that scatter-gather is off, which was done
> manually.
> 
> Only a HyperV NIC is having this issue.
I have submitted a patch which has been accepted, and queued for -stable branch
as well: http://patchwork.ozlabs.org/patch/259596/
It removes the NETIF_F_SG flag from the hv_netvsc driver, which doesn't currently
support SG mode.

Thanks,
- Haiyang

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

* Re: [Regression][v3.10][v3.11] net: Kill link between CSUM and SG features.
  2013-07-17 17:45         ` Haiyang Zhang
@ 2013-07-17 18:22           ` Joseph Salisbury
  0 siblings, 0 replies; 7+ messages in thread
From: Joseph Salisbury @ 2013-07-17 18:22 UTC (permalink / raw)
  To: Haiyang Zhang
  Cc: Pravin Shelar, davem@davemloft.net, ben.howard@canonical.com,
	edumazet@google.com, xiyou.wangcong@gmail.com,
	alexander.h.duyck@intel.com, jiri@resnulli.us,
	netdev@vger.kernel.org, LKML, KY Srinivasan

On 07/17/2013 01:45 PM, Haiyang Zhang wrote:
>
>> -----Original Message-----
>> From: Joseph Salisbury [mailto:joseph.salisbury@canonical.com]
>> Sent: Wednesday, July 17, 2013 8:31 AM
>> To: Pravin Shelar
>> Cc: davem@davemloft.net; ben.howard@canonical.com;
>> edumazet@google.com; xiyou.wangcong@gmail.com;
>> alexander.h.duyck@intel.com; jiri@resnulli.us; netdev@vger.kernel.org;
>> LKML; KY Srinivasan; Haiyang Zhang
>> Subject: Re: [Regression][v3.10][v3.11] net: Kill link between CSUM and SG
>> features.
>>
>> On 07/16/2013 04:50 PM, Pravin Shelar wrote:
>>> On Tue, Jul 16, 2013 at 12:53 PM, Joseph Salisbury
>>> <joseph.salisbury@canonical.com> wrote:
>>>> On 07/16/2013 02:29 PM, Pravin Shelar wrote:
>>>>> On Tue, Jul 16, 2013 at 11:09 AM, Joseph Salisbury
>>>>> <joseph.salisbury@canonical.com> wrote:
>>>>>> Hi Pravin,
>>>>>>
>>>>>> A bug was opened against the Ubuntu kernel[0].  After a kernel
>>>>>> bisect, it was found that reverting the following commit resolved this
>> bug:
>>>>>> commit ec5f061564238892005257c83565a0b58ec79295
>>>>>> Author: Pravin B Shelar <pshelar@nicira.com>
>>>>>> Date:   Thu Mar 7 09:28:01 2013 +0000
>>>>>>
>>>>>>     net: Kill link between CSUM and SG features.
>>>>>>
>>>>>>
>>>>>> The regression was introduced as of v3.10-rc1.
>>>>>>
>>>>>> I see that you are the author of this patch, so I wanted to run
>>>>>> this by you.  I was thinking of requesting a revert for v3.11, but
>>>>>> I wanted to get your feedback first.
>>>>>>
>>>>>>
>>>>> This issue was reported before and turning off sg solves problem for
>>>>> HyperV driver. Drivers (intel and bnx2x) that I tested works fine
>>>>> with this patch. Have you seen the issue on any other NIC?
>>>> Thanks for the feedback.  We have only seen it on Intel hardware.
>>>> Can you send a pointer to the patch? If so, we can provide some
>>>> additional testing.  Do you plan on submitting the patch for inclusion in
>> 3.11?
>>>>
>>> What I mean is I do not see any problem with the patch that you have
>>> pointed out on ixgbe and bnx2x platforms. HyperV problem went away
>>> with disabling sg by ethtool utility.
>> Yes, we also see that the problem goes away when disabling sg with ethtool.
>> There was a significant improvement in throughput with sg enabled, so it's
>> unfortunate it must be disabled.
>>
>>> Can you also give me more information about regression you are seeing
>>> like driver name, features of the NIC set and features of device
>>> without this patch. Does any other NIC than HyperV having this issue?
>> Some details info about the HyperV guest can be seen here:
>> http://paste.ubuntu.com/5884549/
>>
>> In that output, you will see that scatter-gather is off, which was done
>> manually.
>>
>> Only a HyperV NIC is having this issue.
> I have submitted a patch which has been accepted, and queued for -stable branch
> as well: http://patchwork.ozlabs.org/patch/259596/
> It removes the NETIF_F_SG flag from the hv_netvsc driver, which doesn't currently
> support SG mode.
>
> Thanks,
> - Haiyang
>
That's great.  Thanks, Haiyang!

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

end of thread, other threads:[~2013-07-17 18:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-16 18:09 [Regression][v3.10][v3.11] net: Kill link between CSUM and SG features Joseph Salisbury
2013-07-16 18:29 ` Pravin Shelar
2013-07-16 19:53   ` Joseph Salisbury
2013-07-16 20:50     ` Pravin Shelar
2013-07-17 15:30       ` Joseph Salisbury
2013-07-17 17:45         ` Haiyang Zhang
2013-07-17 18:22           ` Joseph Salisbury

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).