HomeFreeBSD

OFED: migrate LinuxKPI net_device/ifnet macros into ofed

Description

OFED: migrate LinuxKPI net_device/ifnet macros into ofed

The LinuxKPI net_device actually is an ifnet; in order to further
clean that up so we can extend "net_device" migrate the few macros
left into ofed and make sure the header is included in all files
which need access to the macros.

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

Details

Provenance
bzAuthored on May 26 2021, 5:51 PM
Reviewer
kib
Differential Revision
D30477: OFED: migrate LinuxKPI net_device/ifnet macros into ofed
Parents
rG60afad6fc307: mlx4: replace LinuxKPI macros with ifnet functions
Branches
Unknown
Tags
Unknown