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)
Oct 16 2024, 6:08 AM
Unknown Object (File)
Oct 14 2024, 12:25 PM
Unknown Object (File)
Sep 27 2024, 2:05 PM
Unknown Object (File)
Sep 17 2024, 6:09 PM
Unknown Object (File)
Sep 1 2024, 12:24 PM
Unknown Object (File)
Aug 31 2024, 6:02 AM
Unknown Object (File)
Aug 21 2024, 12:13 AM
Unknown Object (File)
Jul 24 2024, 4:22 AM
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.