HomeFreeBSD

LinuxKPI: netdevice.h remove more ifnet operating macros

Description

LinuxKPI: netdevice.h remove more ifnet operating macros

Now that mlx4 and ofed either are operating on ifnet functions
directly or have a private copy of these macros, we can remove them
from linux/netdevice.h.
With this only the #define for net_device to ifnet is left.

Sponsored by: The FreeBSD Foundation
Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D30478

(cherry picked from commit 9b6835f3ab7f05728caeaaa2ade09e80f1c5e825)

Details

Provenance
bzAuthored on May 26 2021, 5:55 PM
Reviewer
kib
Differential Revision
D30478: LinuxKPI: netdevice.h remove more ifnet operating macros
Parents
rGcc884fdb2933: OFED: migrate LinuxKPI net_device/ifnet macros into ofed
Branches
Unknown
Tags
Unknown