HomeFreeBSD

LinuxKPI/OFED/mlx4: cleanup netdevice.h some more

Description

LinuxKPI/OFED/mlx4: cleanup netdevice.h some more

This removes all unused bits from linux/netdevice.h and migrates two
inline functions into the mlx4 and ofed code respectively.

This gets the mlx4/ofed (struct ifnet) specific bits down to 7 lines
in netdevice.h.

Sponsored by: The FreeBSD Foundation
MFC after: 13 days
Reviewed by: hselasky, kib
Differential Revision: https://reviews.freebsd.org/D30461

Details

Provenance
bzAuthored on May 26 2021, 12:27 PM
Reviewer
hselasky
Differential Revision
D30461: LinuxKPI/OFED/mlx4: cleanup netdevice.h some more
Parents
rG3bca93e04275: rc.d/random: add support for zero harvest_mask
Branches
Unknown
Tags
Unknown