HomeFreeBSD

cxgbetool(8): Be flexible about the nexus name.

Description

cxgbetool(8): Be flexible about the nexus name.

Use the name as-is but perform cxgbe specific ioctls on the device to
make sure that it is a Terminator device nexus. Determine the chip
type, pf/vf, etc. from the device registers rather than the nexus name.

This allows cxgbetool to work with the VF driver.

Sponsored by: Chelsio Communications

(cherry picked from commit e827b61cacddd4bc9a2f1657ad8c6d2bcd70d52e)

Details

Provenance
npAuthored on Jun 13 2024, 8:17 PM
Parents
rG8d214aa2c189: cxgbe(4): Consolidate all mk_set_tcb_field_ulp in one place.
Branches
Unknown
Tags
Unknown