All of lore.kernel.org
 help / color / mirror / Atom feed
* sfc: Fix reading non-legacy supported link modes
@ 2021-11-02 20:58 Erik Ekman
  2021-11-03  9:41 ` Greg KH
  0 siblings, 1 reply; 3+ messages in thread
From: Erik Ekman @ 2021-11-02 20:58 UTC (permalink / raw)
  To: stable

Upstream commit 041c61488236a5a84789083e3d9f0a51139b6edf

Initially this just fixed 50G and 100G modes which felt rare enough to
not apply this to stable (also it got merged before I really had
thought about it).

The testing mentioned in the change was actually from my development
of c62041c5ba ("sfc: Export fibre-specific supported link modes"). I
failed to mention the link between the two changes however and this
commit ended up in net-next (just merged) while the second ended up in
5.15 via the net branch. The result is that for 5.15 even 10G cards
only show 1G as supported:

$ ethtool ext
    Settings for ext:
    Supported ports: [ FIBRE ]
    Supported link modes:   1000baseT/Full
    Supported pause frame use: Symmetric Receive-only
[..]

So this commit is needed at least for 5.15 to fix that.

Fixes:  c62041c5ba ("sfc: Export fibre-specific supported link modes")

It can also be applied further back if we want to fix the 50/100G
modes (from v4.16 I believe):

Fixes: 5abb5e7f916 ("sfc: add bits for 25/50/100G supported/advertised speeds")

Thanks/
Erik

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

* Re: sfc: Fix reading non-legacy supported link modes
  2021-11-02 20:58 sfc: Fix reading non-legacy supported link modes Erik Ekman
@ 2021-11-03  9:41 ` Greg KH
  2021-11-03 11:34   ` Erik Ekman
  0 siblings, 1 reply; 3+ messages in thread
From: Greg KH @ 2021-11-03  9:41 UTC (permalink / raw)
  To: Erik Ekman; +Cc: stable

On Tue, Nov 02, 2021 at 09:58:22PM +0100, Erik Ekman wrote:
> Upstream commit 041c61488236a5a84789083e3d9f0a51139b6edf
> 
> Initially this just fixed 50G and 100G modes which felt rare enough to
> not apply this to stable (also it got merged before I really had
> thought about it).
> 
> The testing mentioned in the change was actually from my development
> of c62041c5ba ("sfc: Export fibre-specific supported link modes"). I
> failed to mention the link between the two changes however and this
> commit ended up in net-next (just merged) while the second ended up in
> 5.15 via the net branch. The result is that for 5.15 even 10G cards
> only show 1G as supported:
> 
> $ ethtool ext
>     Settings for ext:
>     Supported ports: [ FIBRE ]
>     Supported link modes:   1000baseT/Full
>     Supported pause frame use: Symmetric Receive-only
> [..]
> 
> So this commit is needed at least for 5.15 to fix that.
> 
> Fixes:  c62041c5ba ("sfc: Export fibre-specific supported link modes")
> 
> It can also be applied further back if we want to fix the 50/100G
> modes (from v4.16 I believe):
> 
> Fixes: 5abb5e7f916 ("sfc: add bits for 25/50/100G supported/advertised speeds")

I have queued this up for 5.10.y, 5.14.y, and 5.15.y now, but I need a
backported version for 5.4.y and 4.19.y please.

thanks,

greg k-h

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

* Re: sfc: Fix reading non-legacy supported link modes
  2021-11-03  9:41 ` Greg KH
@ 2021-11-03 11:34   ` Erik Ekman
  0 siblings, 0 replies; 3+ messages in thread
From: Erik Ekman @ 2021-11-03 11:34 UTC (permalink / raw)
  To: Greg KH; +Cc: stable

On Wed, 3 Nov 2021 at 10:41, Greg KH <gregkh@linuxfoundation.org> wrote:
>
> On Tue, Nov 02, 2021 at 09:58:22PM +0100, Erik Ekman wrote:
> > Upstream commit 041c61488236a5a84789083e3d9f0a51139b6edf
> >
> > Initially this just fixed 50G and 100G modes which felt rare enough to
> > not apply this to stable (also it got merged before I really had
> > thought about it).
> >
> > The testing mentioned in the change was actually from my development
> > of c62041c5ba ("sfc: Export fibre-specific supported link modes"). I
> > failed to mention the link between the two changes however and this
> > commit ended up in net-next (just merged) while the second ended up in
> > 5.15 via the net branch. The result is that for 5.15 even 10G cards
> > only show 1G as supported:
> >
> > $ ethtool ext
> >     Settings for ext:
> >     Supported ports: [ FIBRE ]
> >     Supported link modes:   1000baseT/Full
> >     Supported pause frame use: Symmetric Receive-only
> > [..]
> >
> > So this commit is needed at least for 5.15 to fix that.
> >
> > Fixes:  c62041c5ba ("sfc: Export fibre-specific supported link modes")
> >
> > It can also be applied further back if we want to fix the 50/100G
> > modes (from v4.16 I believe):
> >
> > Fixes: 5abb5e7f916 ("sfc: add bits for 25/50/100G supported/advertised speeds")
>
> I have queued this up for 5.10.y, 5.14.y, and 5.15.y now, but I need a
> backported version for 5.4.y and 4.19.y please.

Thank you! I sent the backported patch in another thread. (Plus some
noise, git send-email is hard)

/Erik

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

end of thread, other threads:[~2021-11-03 11:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-02 20:58 sfc: Fix reading non-legacy supported link modes Erik Ekman
2021-11-03  9:41 ` Greg KH
2021-11-03 11:34   ` Erik Ekman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.