[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1321895445.2692.3.camel@bwh-desktop>
Date: Mon, 21 Nov 2011 17:10:45 +0000
From: Ben Hutchings <bhutchings@...arflare.com>
To: Ajit Khaparde <ajit.khaparde@...lex.com>
CC: <netdev@...r.kernel.org>, <davem@...emloft.net>
Subject: Re: [PATCH net-next 1/3] be2net: fix to display Pause
autonegotiation setting
On Sun, 2011-11-20 at 23:12 -0600, Ajit Khaparde wrote:
> Pause autonegotiation is supported by default.
>
> Signed-off-by: Ajit Khaparde <ajit.khaparde@...lex.com>
> ---
> drivers/net/ethernet/emulex/benet/be_ethtool.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/net/ethernet/emulex/benet/be_ethtool.c b/drivers/net/ethernet/emulex/benet/be_ethtool.c
> index 575c783..ff53489 100644
> --- a/drivers/net/ethernet/emulex/benet/be_ethtool.c
> +++ b/drivers/net/ethernet/emulex/benet/be_ethtool.c
> @@ -538,7 +538,7 @@ be_get_pauseparam(struct net_device *netdev, struct ethtool_pauseparam *ecmd)
> struct be_adapter *adapter = netdev_priv(netdev);
>
> be_cmd_get_flow_control(adapter, &ecmd->tx_pause, &ecmd->rx_pause);
> - ecmd->autoneg = 0;
> + ecmd->autoneg = 1;
> }
>
> static int
This is surely not true for XFP and SFP+ interfaces.
Ben.
--
Ben Hutchings, Staff Engineer, Solarflare
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.
--
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