From: Willy Tarreau <w@1wt.eu>
To: Jonathan Nieder <jrnieder@gmail.com>
Cc: "David S. Miller" <davem@davemloft.net>,
netdev@vger.kernel.org, stable@vger.kernel.org,
Sony Chacko <sony.chacko@qlogic.com>,
Ana Guerrero <ana@debian.org>,
Michael Mastrogiacomo <mmastrogiacomo@ultralogistics.com>,
Amit Kumar Salecha <amit.salecha@qlogic.com>,
Ameen Rahman <ameen.rahman@qlogic.com>,
Anirban Chakraborty <anirban.chakraborty@qlogic.com>
Subject: Re: [PATCH 2.6.32.y] netxen: support for GbE port settings
Date: Mon, 12 Mar 2012 10:09:50 +0100 [thread overview]
Message-ID: <20120312090950.GC11569@1wt.eu> (raw)
In-Reply-To: <20120312043539.GA15903@burratino>
Hi Jonathan,
On Sun, Mar 11, 2012 at 11:35:39PM -0500, Jonathan Nieder wrote:
> From: Sony Chacko <sony.chacko@qlogic.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@qlogic.com>
> Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com>
> Signed-off-by: David S. Miller <davem@davemloft.net>
> Tested-by: Ana Guerrero <ana@debian.org> # HP NC375i
> Signed-off-by: Jonathan Nieder <jrnieder@gmail.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
next prev parent reply other threads:[~2012-03-12 9:20 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-15 6:56 [PATCHv2 NEXT 1/1] netxen: support for GbE port settings Amit Kumar Salecha
2011-03-15 21:55 ` David Miller
2012-03-12 4:35 ` [PATCH 2.6.32.y] " Jonathan Nieder
2012-03-12 9:09 ` Willy Tarreau [this message]
2012-03-12 9:40 ` Jonathan Nieder
2012-03-13 17:43 ` Rajesh Borundia
2012-03-15 9:32 ` Willy Tarreau
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120312090950.GC11569@1wt.eu \
--to=w@1wt.eu \
--cc=ameen.rahman@qlogic.com \
--cc=amit.salecha@qlogic.com \
--cc=ana@debian.org \
--cc=anirban.chakraborty@qlogic.com \
--cc=davem@davemloft.net \
--cc=jrnieder@gmail.com \
--cc=mmastrogiacomo@ultralogistics.com \
--cc=netdev@vger.kernel.org \
--cc=sony.chacko@qlogic.com \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).