HomeFreeBSD

ibcore: Introduce ib_port_phys_state enum.

Description

ibcore: Introduce ib_port_phys_state enum.

In order to improve readability, add ib_port_phys_state enum to replace
the use of magic numbers.

Linux commit:
72a7720fca37fec0daf295923f17ac5d88a613e1

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

(cherry picked from commit 4238b4a7a2cfe44e95f3553ff4a3f6f813fb81f5)

Details

Provenance
hselaskyAuthored on Jun 16 2021, 1:01 PM
Parents
rG645d0710fc48: ibcore: Fix unable to change lifespan entry for hw_counters.
Branches
Unknown
Tags
Unknown