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) - Commits
- rGea44c37d0bd1: OFED: Add generic function to extract IB speed from netdev
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
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?