Versions in this module Expand all Collapse all v1 v1.1.0 Jul 14, 2026 Changes in this version + var ErrToolNotInstalled = errors.New("no RDMA tools installed (ibv_devinfo/ibstat)") + type Device struct + FWVersion string + Name string + NodeGUID string + Ports []Port + func Merge(devinfo, ibstat []Device) []Device + func ParseDevinfo(raw []byte) ([]Device, error) + func ParseIbstat(raw []byte) ([]Device, error) + type Port struct + LinkLayer string + Num int + Rate string + State string + type Result struct + Devices []Device + func Collect(ctx context.Context, runner execRunner) (*Result, error)