Obtained from: Linux commit d41861942fc55c14b6280d9568a0d0112037f065
Sponsored by: Chelsio Communications
Details
Details
- Reviewers
kgalazka sumit.saxena_broadcom.com kib slavash aehrenberg_nvidia.com - Group Reviewers
Restricted Owners Package (Owns No Changed Paths)
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped - Build Status
Buildable 74389 Build 71272: arc lint + arc unit
Event Timeline
Comment Actions
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?