HomeFreeBSD

ibcore: Fail early if unsupported QP is provided.

Description

ibcore: Fail early if unsupported QP is provided.

When requested QP type is not supported for a {device, port}, return the
error right away before validating all parameters during mad agent
registration time.

Linux commit:
798bba01b44b0ddf8cd6e542635b37cc9a9b739c

Reviewed by: kib
Sponsored by: Mellanox Technologies // NVIDIA Networking

(cherry picked from commit 507389a35a41f5f15592d2156d34039e3ee1c3e5)

Details

Provenance
hselaskyAuthored on Jun 16 2021, 1:01 PM
Parents
rGdd7241e04d90: ibcore: Use inline function to validate port
Branches
Unknown
Tags
Unknown