Page MenuHomeFreeBSD

Rework BGX detection to support both new and old firmware
ClosedPublic

Authored by zbb on Mar 2 2017, 2:27 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 21 2023, 1:49 AM
Unknown Object (File)
Dec 20 2023, 1:18 AM
Unknown Object (File)
Nov 9 2023, 2:15 PM
Unknown Object (File)
Nov 7 2023, 11:31 PM
Unknown Object (File)
Nov 4 2023, 4:39 PM
Unknown Object (File)
Nov 2 2023, 6:06 AM
Unknown Object (File)
Oct 30 2023, 8:10 PM
Unknown Object (File)
Oct 6 2023, 10:14 PM
Subscribers

Details

Summary

Improve existing BGX detection and adjust it to support both
new and older ThunderX firmwares. Match BGX FDT nodes by name
and reg. Match PHY instances by qlm-mode and name.
Tested on Firmware Version: 2016-09-30 09:12:11

Test Plan

Please test on ThunderX present in the FreeBSD ZOO.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

zbb retitled this revision from to Rework BGX detection to support both new and old firmware.
zbb updated this object.
zbb edited the test plan for this revision. (Show Details)
zbb added reviewers: wma, andrew.
zbb set the repository for this revision to rS FreeBSD src repository - subversion.
zbb added a subscriber: arm64.

Any comments or test results?

The BGX interface is unconnected in the ThunderX units in the netperf cluster

The BGX interface is unconnected in the ThunderX units in the netperf cluster

You mean network interfaces are not connected to anything?
This is not a problem as we need to know whether BGX attaches & configures PHYs. Even if the network is not connected we can still bring-up VFs using iovctl.

@andrew Do you have any objections to committing this patch? If not, I would like to push it to head. It was marinated long enough here :)

This revision was automatically updated to reflect the committed changes.