* e1000 forced 1G support?
@ 2022-02-11 1:30 Bly, Mike
2022-02-11 8:57 ` Morten Brørup
0 siblings, 1 reply; 4+ messages in thread
From: Bly, Mike @ 2022-02-11 1:30 UTC (permalink / raw)
To: dev
[-- Attachment #1: Type: text/plain, Size: 1018 bytes --]
Hello,
This is in regards to the DPDK E1000 driver used for the i350 [8086:1521] NIC.
I am looking to see if we can get forced speed == 1000Mb (1Gb) support working on this NIC. The current DPDK driver does not appear to have support for forcing the NIC to 1G (1000M) speed. It only supports setting 100M and 10M. Is there a reason for this? Refer to: e1000_phy_force_speed_duplex_setup() in drivers/net/e1000/base/e1000_phy.c.
Based on my reading of ethernet-controller-i350-datasheet.pdf it would seem we should be able to force the speed to 1G. However, even after "updating" the above mentioned function to try and support a 1G forced speed, the only way we can get two of these NICs to link up to each other at 1G, is to set the port to auto-neg. We can certainly force speed on one link to 100M or 10M and the other NIC will link up, but no luck for 1G, regardless of whether we have one or both sides in a forced speed vs. auto-neg mode.
Is there a limitation I missed in the PDF perhaps?
-Mike
[-- Attachment #2: Type: text/html, Size: 2807 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: e1000 forced 1G support?
2022-02-11 1:30 e1000 forced 1G support? Bly, Mike
@ 2022-02-11 8:57 ` Morten Brørup
2022-02-11 14:44 ` Stephen Hemminger
0 siblings, 1 reply; 4+ messages in thread
From: Morten Brørup @ 2022-02-11 8:57 UTC (permalink / raw)
To: Bly, Mike; +Cc: dev
> From: Bly, Mike [mailto:mbly@ciena.com]
> Sent: Friday, 11 February 2022 02.30
>
> Hello,
>
> This is in regards to the DPDK E1000 driver used for the i350 [8086:1521] NIC.
>
> I am looking to see if we can get forced speed == 1000Mb (1Gb) support working on this NIC. The current DPDK driver does not appear to have support for forcing the NIC to 1G (1000M) speed. It only supports setting 100M and 10M. Is there a reason for this? Refer to: e1000_phy_force_speed_duplex_setup() in drivers/net/e1000/base/e1000_phy.c.
>
> Based on my reading of ethernet-controller-i350-datasheet.pdf it would seem we should be able to force the speed to 1G. However, even after "updating" the above mentioned function to try and support a 1G forced speed, the only way we can get two of these NICs to link up to each other at 1G, is to set the port to auto-neg. We can certainly force speed on one link to 100M or 10M and the other NIC will link up, but no luck for 1G, regardless of whether we have one or both sides in a forced speed vs. auto-neg mode.
>
> Is there a limitation I missed in the PDF perhaps?
Hi Mike,
Auto-negotiation is a *requirement* for 1 Gbps according to the IEEE 802.3 Ethernet standard, so the way to force 1 Gbps is: Enable auto-negotiation and only advertise 1 Gbps.
In other words: You cannot establish a 1 Gbps link without auto-neg.
Med venlig hilsen / Kind regards,
-Morten Brørup
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: e1000 forced 1G support?
2022-02-11 8:57 ` Morten Brørup
@ 2022-02-11 14:44 ` Stephen Hemminger
2022-02-11 17:23 ` [**EXTERNAL**] " Bly, Mike
0 siblings, 1 reply; 4+ messages in thread
From: Stephen Hemminger @ 2022-02-11 14:44 UTC (permalink / raw)
To: Morten Brørup; +Cc: Bly, Mike, dev
On Fri, 11 Feb 2022 09:57:31 +0100
Morten Brørup <mb@smartsharesystems.com> wrote:
> > From: Bly, Mike [mailto:mbly@ciena.com]
> > Sent: Friday, 11 February 2022 02.30
> >
> > Hello,
> >
> > This is in regards to the DPDK E1000 driver used for the i350 [8086:1521] NIC.
> >
> > I am looking to see if we can get forced speed == 1000Mb (1Gb) support working on this NIC. The current DPDK driver does not appear to have support for forcing the NIC to 1G (1000M) speed. It only supports setting 100M and 10M. Is there a reason for this? Refer to: e1000_phy_force_speed_duplex_setup() in drivers/net/e1000/base/e1000_phy.c.
> >
> > Based on my reading of ethernet-controller-i350-datasheet.pdf it would seem we should be able to force the speed to 1G. However, even after "updating" the above mentioned function to try and support a 1G forced speed, the only way we can get two of these NICs to link up to each other at 1G, is to set the port to auto-neg. We can certainly force speed on one link to 100M or 10M and the other NIC will link up, but no luck for 1G, regardless of whether we have one or both sides in a forced speed vs. auto-neg mode.
> >
> > Is there a limitation I missed in the PDF perhaps?
>
> Hi Mike,
>
> Auto-negotiation is a *requirement* for 1 Gbps according to the IEEE 802.3 Ethernet standard, so the way to force 1 Gbps is: Enable auto-negotiation and only advertise 1 Gbps.
>
> In other words: You cannot establish a 1 Gbps link without auto-neg.
>
>
> Med venlig hilsen / Kind regards,
> -Morten Brørup
>
Also, check your cable. 1G requires all 4 wire pairs to be connected. But 100M can get by with 2 pairs
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: [**EXTERNAL**] Re: e1000 forced 1G support?
2022-02-11 14:44 ` Stephen Hemminger
@ 2022-02-11 17:23 ` Bly, Mike
0 siblings, 0 replies; 4+ messages in thread
From: Bly, Mike @ 2022-02-11 17:23 UTC (permalink / raw)
To: Stephen Hemminger, Morten Brørup; +Cc: dev
Morten,
Thank you for the reminder. Need to dust off my IEEE stds once in a while I guess.
Stephen, cabling is good. We are able to run 1G with aneg enabled.
Thanks to both for the speedy response.
-Mike
-----Original Message-----
From: Stephen Hemminger <stephen@networkplumber.org>
Sent: Friday, February 11, 2022 6:45 AM
To: Morten Brørup <mb@smartsharesystems.com>
Cc: Bly, Mike <mbly@ciena.com>; dev@dpdk.org
Subject: [**EXTERNAL**] Re: e1000 forced 1G support?
On Fri, 11 Feb 2022 09:57:31 +0100
Morten Brørup <mb@smartsharesystems.com> wrote:
> > From: Bly, Mike [mailto:mbly@ciena.com]
> > Sent: Friday, 11 February 2022 02.30
> >
> > Hello,
> >
> > This is in regards to the DPDK E1000 driver used for the i350 [8086:1521] NIC.
> >
> > I am looking to see if we can get forced speed == 1000Mb (1Gb) support working on this NIC. The current DPDK driver does not appear to have support for forcing the NIC to 1G (1000M) speed. It only supports setting 100M and 10M. Is there a reason for this? Refer to: e1000_phy_force_speed_duplex_setup() in drivers/net/e1000/base/e1000_phy.c.
> >
> > Based on my reading of ethernet-controller-i350-datasheet.pdf it would seem we should be able to force the speed to 1G. However, even after "updating" the above mentioned function to try and support a 1G forced speed, the only way we can get two of these NICs to link up to each other at 1G, is to set the port to auto-neg. We can certainly force speed on one link to 100M or 10M and the other NIC will link up, but no luck for 1G, regardless of whether we have one or both sides in a forced speed vs. auto-neg mode.
> >
> > Is there a limitation I missed in the PDF perhaps?
>
> Hi Mike,
>
> Auto-negotiation is a *requirement* for 1 Gbps according to the IEEE 802.3 Ethernet standard, so the way to force 1 Gbps is: Enable auto-negotiation and only advertise 1 Gbps.
>
> In other words: You cannot establish a 1 Gbps link without auto-neg.
>
>
> Med venlig hilsen / Kind regards,
> -Morten Brørup
>
Also, check your cable. 1G requires all 4 wire pairs to be connected. But 100M can get by with 2 pairs
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-02-11 17:24 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-11 1:30 e1000 forced 1G support? Bly, Mike
2022-02-11 8:57 ` Morten Brørup
2022-02-11 14:44 ` Stephen Hemminger
2022-02-11 17:23 ` [**EXTERNAL**] " Bly, Mike
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).