how to fouce pciex4 speed is 2.5G

We install an Intel PCIex4 Ethernet, and auto running with x4 5GT/s. How can we force it running with 2.5GT/s x4 mode. Modify DTS or with special command ?

LnkCap:	Port #0, Speed 5GT/s, Width x4, ASPM L0s L1, Exit Latency L0s <4us, L1 <32us
			ClockPM- Surprise- LLActRep- BwNot- ASPMOptComp+

Thanks.

You can set ‘nvidia,max-speed’ DT property to 1/2/3/4 to set limit the advertisement of root port’s max supported speed capability.
But, if your intention is not to limit the maximum advertised speed by root port, but to get only the link up at a specific speed and be able to take the link to a higher speed later on, you can use ‘nvidia,init-speed’ with 1/2/3/4 to get link working at the respective speed post boot.

@nidyas Thanks for your replay.

Both either ‘nvidia,max-speed’ or ‘nvidia,init-speed’ can not be searched with “Linux_for_Tegra/sources/hardware” and “Linux_for_Tegra/sources/kernel”.

Where I can found reference code example?

Please use the rel-32.1 code base.

@WaneWWW We current use Jetpack 3.2. If we switch to rel-32.1, do we have to switch to Jetpack 4.2?
Or we just switch sources code part to rel-32.1?

You have to switch all of them.

Hello,

I am searching to increase max speed of the pcie on jetson nano and xavier.
Their are limited at 2,5 GT/s.
Xavier seems to be able to grow up to 8 GT/s and Nano to 5 GT/s.
I am using Jetpack 4.5 and i don’t find where i can change settings to grow up the pcie bus speed.

Xavier

0004:00:00.0 PCI bridge: NVIDIA Corporation Device 1ad1 (rev a1) (prog-if 00 [Normal decode])
		LnkCap:	Port #0, Speed 8GT/s, Width x1, ASPM not supported, Exit Latency L0s <1us, L1 <64us
		LnkSta:	Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive+ BWMgmt+ ABWMgmt-

Nano

00:02.0 PCI bridge: NVIDIA Corporation Device 0faf (rev a1) (prog-if 00 [Normal decode])
		LnkCap:	Port #1, Speed 5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s <512ns, L1 <4us
		LnkSta:	Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive+ BWMgmt- ABWMgmt-

Any help would be appreciated.

Regards

Hi daveau1,

Please help to open a new topic if it’s still an issue.

Thanks

Ok,
Done here