HomeFreeBSD

qlnx: Return error from qlnxr_mod_load if it fails.

Description

qlnx: Return error from qlnxr_mod_load if it fails.

Fix qlnx_rdma_register_if return ENXIO rather than -1 on error and
propagate that error to the caller in qlnxr_mod_load.

(cherry picked from commit ee07d712131468908a61b948851ce17be76931ac)

Details

Provenance
jhbAuthored on Apr 8 2022, 12:01 AM
Parents
rG3fc514f4a722: otus: Return computed error value instead of ENXIO from otus_raw_xmit.
Branches
Unknown
Tags
Unknown