Page MenuHomeFreeBSD

OFED: Add generic function to extract IB speed from netdev
ClosedPublic

Authored by jhb on Jun 29 2026, 6:58 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Sep 10, 9:22 PM
Unknown Object (File)
Thu, Sep 10, 12:03 AM
Unknown Object (File)
Mon, Sep 7, 8:37 PM
Unknown Object (File)
Sun, Sep 6, 8:49 PM
Unknown Object (File)
Sun, Sep 6, 1:49 PM
Unknown Object (File)
Sat, Sep 5, 1:00 PM
Unknown Object (File)
Sat, Sep 5, 12:36 PM
Unknown Object (File)
Sat, Sep 5, 11:21 AM
Subscribers

Details

Summary

Obtained from: Linux commit d41861942fc55c14b6280d9568a0d0112037f065
Sponsored by: Chelsio Communications

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Owners added a reviewer: Restricted Owners Package.Jun 29 2026, 6:58 PM
jhb requested review of this revision.Jun 29 2026, 6:58 PM

The upstream Linux commit changed bnxt_re(4) to also use this, but the current code in bnxt_re(4) assumes it has access to a count of lanes, and we don't currently have a way to get that from an ifp. If we add something like that in the future (if_getlanes() or something), then we can backport the commit that added the internal function ib_get_width_and_speed that takes lanes into account. Alternatively, I could backport that commit as well but expose the static function so that bnxt_re(4) could use it directly?

This revision was not accepted when it landed; it landed in state Needs Review.Jul 29 2026, 6:45 PM
This revision was automatically updated to reflect the committed changes.