Re: [PATCH net v2] sfc: report supported link speeds on SFP connections
From: Jarod Wilson
Date: Wed Jun 08 2016 - 09:41:28 EST
On Tue, Jun 07, 2016 at 05:20:16PM -0400, Jarod Wilson wrote:
> On Mon, Jun 06, 2016 at 02:55:29PM -0400, Jarod Wilson wrote:
> > On Mon, Jun 06, 2016 at 05:29:30PM +0100, Bert Kenward wrote:
> > > 7000-series SFC NICs connected with an SFP+ module currently fail to
> > > report any supported link speeds.
> > >
> > > Reported-by: Jarod Wilson <jarod@xxxxxxxxxx>
> > > Signed-off-by: Bert Kenward <bkenward@xxxxxxxxxxxxxx>
> >
> > Had a feeling my cut might not have been quite right. Looks good to me.
> >
> > Reviewed-by: Jarod Wilson <jarod@xxxxxxxxxx>
>
> ...however, upon testing, there's a gotcha. This results in my 10Gbps sfc
> nic reporting that it supports 40Gbps:
>
> $ ethtool ens4f0
> Settings for ens4f0:
> Supported ports: [ FIBRE ]
> Supported link modes: 1000baseT/Full
> 10000baseT/Full
> 40000baseKR4/Full
This turned out to be a flub on my part. My local tree wasn't clean, had
some lingering test/debug crap in it that I thought I'd removed, but
clearly, hadn't. With that removed, we're all good here.
Tested-by: Jarod Wilson <jarod@xxxxxxxxxx>
--
Jarod Wilson
jarod@xxxxxxxxxx