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
Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D30476

(cherry picked from commit 60afad6fc307815ad2b70a9974d908b6d5d50674)

Details

Provenance
bzAuthored on May 26 2021, 5:47 PM
Reviewer
kib
Differential Revision
D30476: mlx4: replace LinuxKPI macros with ifnet functions
Parents
rGddecc06c9940: LinuxKPI/OFED/mlx4: cleanup netdevice.h some more
Branches
Unknown
Tags
Unknown