HomeFreeBSD

MFC r331820:

Description

MFC r331820:
Properly check if crspace is supported in mlx5core.

The old code checked for MLX5_CR_SPACE_DOMAIN which is irrelevant here.
However, if dev->vsec_addr would be 0, an access to wrong offset would
happen.

Submitted by: slavash@
Sponsored by: Mellanox Technologies

Details

Provenance
hselaskyAuthored on
Parents
rS331912: MFC r331819:
Branches
Unknown
Tags
Unknown