HomeFreeBSD

mlx5: remove dependency on ifnet specifics of linux/netdevice.h

Description

mlx5: remove dependency on ifnet specifics of linux/netdevice.h

Rename the last remaining bits depending on ifnet from linux/netdevice.h
instead of using the compat macros. This helps clearing up
struct netdevice being struct ifnet from linux/netdevice.h.

Sponsored-by: The FreeBSD Foundation
MFC-after: 2 weeks
Reviewed-by: hselasky, kib
X-D-R: D29366
Differential Revision: https://reviews.freebsd.org/D29497

Details

Provenance
bzAuthored on Mar 30 2021, 3:58 PM
Differential Revision
D29497: mlx5: remove dependency on ifnet specifics of linux/netdevice.h
Parents
rGa78109d5db87: Partially revert r248770.
Branches
Unknown
Tags
Unknown