netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* BUG: igc: Unable to select 100 Mbps speed mode
@ 2023-12-01 12:59 Ferenc Fejes
  2023-12-01 23:40 ` Vinicius Costa Gomes
  0 siblings, 1 reply; 3+ messages in thread
From: Ferenc Fejes @ 2023-12-01 12:59 UTC (permalink / raw)
  To: netdev; +Cc: Vinicius Costa Gomes, anthony.l.nguyen, Jesse Brandeburg

Hi!

I upgraded from Ubuntu 23.04 to 23.10, the default Linux version
changed from 6.2 to 6.5.

We immediately noticed that we cannot set 100 Mbps mode on i225 with
the new kernel.

E.g.:
sudo ethtool -s enp4s0 speed 100 duplex full
dmesg:
[   60.304330] igc 0000:03:00.0 enp3s0: NIC Link is Down
[   62.582764] igc 0000:03:00.0 enp3s0: NIC Link is Up 2500 Mbps Full
Duplex, Flow Control: RX/TX

I just switched back to 6.2 and with that it works correctly.

Sorry if this has already been addressed, after a quick search in the
lore I cannot find anything related.

Best,
Ferenc

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

* Re: BUG: igc: Unable to select 100 Mbps speed mode
  2023-12-01 12:59 BUG: igc: Unable to select 100 Mbps speed mode Ferenc Fejes
@ 2023-12-01 23:40 ` Vinicius Costa Gomes
  2023-12-02  9:55   ` Ferenc Fejes
  0 siblings, 1 reply; 3+ messages in thread
From: Vinicius Costa Gomes @ 2023-12-01 23:40 UTC (permalink / raw)
  To: Ferenc Fejes, netdev; +Cc: anthony.l.nguyen, Jesse Brandeburg, Neftin, Sasha

Hi,

Ferenc Fejes <fejes@inf.elte.hu> writes:

> Hi!
>
> I upgraded from Ubuntu 23.04 to 23.10, the default Linux version
> changed from 6.2 to 6.5.
>
> We immediately noticed that we cannot set 100 Mbps mode on i225 with
> the new kernel.
>
> E.g.:
> sudo ethtool -s enp4s0 speed 100 duplex full
> dmesg:
> [   60.304330] igc 0000:03:00.0 enp3s0: NIC Link is Down
> [   62.582764] igc 0000:03:00.0 enp3s0: NIC Link is Up 2500 Mbps Full
> Duplex, Flow Control: RX/TX
>

I wonder if this patch fixes it, and it is still not available in your
distro:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e7684d29efdf37304c62bb337ea55b3428ca118e

> I just switched back to 6.2 and with that it works correctly.
>
> Sorry if this has already been addressed, after a quick search in the
> lore I cannot find anything related.
>

I think it was discussed here:

https://lore.kernel.org/all/20230922163804.7DDBA2440449@us122.sjc.aristanetworks.com/

> Best,
> Ferenc
>


Cheers,
-- 
Vinicius

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

* Re: BUG: igc: Unable to select 100 Mbps speed mode
  2023-12-01 23:40 ` Vinicius Costa Gomes
@ 2023-12-02  9:55   ` Ferenc Fejes
  0 siblings, 0 replies; 3+ messages in thread
From: Ferenc Fejes @ 2023-12-02  9:55 UTC (permalink / raw)
  To: Vinicius Costa Gomes, netdev
  Cc: anthony.l.nguyen, Jesse Brandeburg, Neftin, Sasha

Hi Vinicius,

On Fri, 2023-12-01 at 15:40 -0800, Vinicius Costa Gomes wrote:
> Hi,
> 
> Ferenc Fejes <fejes@inf.elte.hu> writes:
> 
> > Hi!
> > 
> > I upgraded from Ubuntu 23.04 to 23.10, the default Linux version
> > changed from 6.2 to 6.5.
> > 
> > We immediately noticed that we cannot set 100 Mbps mode on i225
> > with
> > the new kernel.
> > 
> > E.g.:
> > sudo ethtool -s enp4s0 speed 100 duplex full
> > dmesg:
> > [   60.304330] igc 0000:03:00.0 enp3s0: NIC Link is Down
> > [   62.582764] igc 0000:03:00.0 enp3s0: NIC Link is Up 2500 Mbps
> > Full
> > Duplex, Flow Control: RX/TX
> > 
> 
> I wonder if this patch fixes it, and it is still not available in
> your
> distro:
> 
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e7684d29efdf37304c62bb337ea55b3428ca118e

Will take a look, thanks. I'm not familiar Ubuntu's versioning and
custom patches, nor their backport policy.

However their "mantic" tree (6.5) looks like this:
https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/mantic/tree/drivers/net/ethernet/intel/igc/igc_ethtool.c#n1804

So the patch above not applied there.

> 
> > I just switched back to 6.2 and with that it works correctly.
> > 
> > Sorry if this has already been addressed, after a quick search in
> > the
> > lore I cannot find anything related.
> > 
> 
> I think it was discussed here:
> 
> https://lore.kernel.org/all/20230922163804.7DDBA2440449@us122.sjc.aristanetworks.com/

Thank you, look like I missed it. Sorry for the noise!

> 
> > Best,
> > Ferenc
> > 
> 
> 
> Cheers,

Best,
Ferenc


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

end of thread, other threads:[~2023-12-02  9:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-01 12:59 BUG: igc: Unable to select 100 Mbps speed mode Ferenc Fejes
2023-12-01 23:40 ` Vinicius Costa Gomes
2023-12-02  9:55   ` Ferenc Fejes

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).