HomeFreeBSD

mlx4: replace LinuxKPI macros with ifnet functions

Description

mlx4: replace LinuxKPI macros with ifnet functions

The LinuxKPI net_device actually is an ifnet; in order to further
clean that up so we can extend "net_device" replace the few macros
inline in mlx4.

Sponsored by: The FreeBSD Foundation
MFC after: 12 days
Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D30476

Details

Provenance
bzAuthored on May 26 2021, 5:47 PM
Reviewer
kib
Differential Revision
D30476: mlx4: replace LinuxKPI macros with ifnet functions
Parents
rG16fa3dcba027: ibstat: Include prototype for sysctlbyname().
Branches
Unknown
Tags
Unknown