[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120312090950.GC11569@1wt.eu>
Date: Mon, 12 Mar 2012 10:09:50 +0100
From: Willy Tarreau <w@....eu>
To: Jonathan Nieder <jrnieder@...il.com>
Cc: "David S. Miller" <davem@...emloft.net>, netdev@...r.kernel.org,
stable@...r.kernel.org, Sony Chacko <sony.chacko@...gic.com>,
Ana Guerrero <ana@...ian.org>,
Michael Mastrogiacomo <mmastrogiacomo@...ralogistics.com>,
Amit Kumar Salecha <amit.salecha@...gic.com>,
Ameen Rahman <ameen.rahman@...gic.com>,
Anirban Chakraborty <anirban.chakraborty@...gic.com>
Subject: Re: [PATCH 2.6.32.y] netxen: support for GbE port settings
Hi Jonathan,
On Sun, Mar 11, 2012 at 11:35:39PM -0500, Jonathan Nieder wrote:
> From: Sony Chacko <sony.chacko@...gic.com>
> Date: Tue, 15 Mar 2011 14:54:55 -0700
>
> commit bfd823bd74333615783d8108889814c6d82f2ab0 upstream.
>
> o Enable setting speed and auto negotiation parameters for GbE ports.
> o Hardware do not support half duplex setting currently.
>
> David Miller:
> Amit please update your patch to silently reject link setting
> attempts that are unsupported by the device.
>
> [jn: backported for 2.6.32.y by Ana Guerrero]
>
> Signed-off-by: Sony Chacko <sony.chacko@...gic.com>
> Signed-off-by: Amit Kumar Salecha <amit.salecha@...gic.com>
> Signed-off-by: David S. Miller <davem@...emloft.net>
> Tested-by: Ana Guerrero <ana@...ian.org> # HP NC375i
> Signed-off-by: Jonathan Nieder <jrnieder@...il.com>
> ---
> Hi Dave,
>
> Michael Mastrogiacomo reports[1]:
>
> > The HP NC375i network card on an HP ML370 G6 server with Debian
> > squeeze OS installed as problems.
> >
> > The server is connected to a switch that does only 100/full and it
> > fails to autonegotiate correctly during reboot. A network
> > connection can be used if the switch side gets locked to 100 half
> > however which seems to be what the HP card assumes if negotiaton
> > fails. The HP card seems to assume a speed of 1000 which is
> > incorrect. It should learn a speed of 100 advertised by the switch
> > which it fails to do.
> >
> > Certain ethtool and miitool functions do not seem to work such as
> > ethtool -s (you can't set any parameters at all). ethtool -t also
> > fails.
>
> Ana Guerrero wrote:
>
> > Yes, it is a driver bug. We hit in this same problem because the
> > switches are not configured to allow auto-negociated GbE.
> > Eg with ethtool:
> >
> > # ethtool -s eth0 autoneg off
> > Cannot set new settings: Input/output error not setting autoneg
> > #
> >
> > The patch at
> > [...]h=bfd823bd74333615783d8108889814c6d82f2ab0
> >
> > fixes this problem. I am attaching it already updated to work on top
> > of 2.6.32-41.
> >
> > The patch has been tested successfully with a HP NC3751 card like
> > the reporter.
>
> Therefore I would like to see this patch in a future 2.6.32.y kernel,
> so everyone using that as a baseline can benefit from the fix. The
> patch hit mainline in the 2.6.39 merge window.
>
> What is the right way to submit networking patches for the 2.6.32.y
> tree? Should I send them to you or directly to Willy, are your
> requirements for them the same as the usual stable_kernel_rules.txt or
> other ones, and is [2] the right place to find a preview of patches
> destined for longterm trees or do they go somewhere else?
In general, valid driver fixes should be merged as they fix issues
affecting users. One very important requirement for merging such a
fix is that it is already present in more recent stable releases :
when users upgrade from 2.6.32 to 3.0, we don't want them to get
the bug again.
If this requirement is satisfied and David is not opposed to merging
the patch, then we can include it (even in this release, considering
the authors and reviewers are already CC'd).
Regards,
Willy
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists