]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
LinuxKPI/OFED/mlx4: cleanup netdevice.h some more
authorBjoern A. Zeeb <bz@FreeBSD.org>
Wed, 26 May 2021 12:27:26 +0000 (12:27 +0000)
committerBjoern A. Zeeb <bz@FreeBSD.org>
Wed, 26 May 2021 12:30:02 +0000 (12:30 +0000)
commitc35034b338eb4de6fb42fd855865bce21c81a225
tree92067ae0aef7ff05c6f6d74dc10f7cf5c2908e00
parent3bca93e04275045c3d868d09a57f9201999908f0
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
sys/compat/linuxkpi/common/include/linux/netdevice.h
sys/dev/mlx4/mlx4_en/en.h
sys/ofed/drivers/infiniband/core/ib_addr.c
sys/ofed/drivers/infiniband/core/ib_cma.c
sys/ofed/include/rdma/ib_addr.h
sys/ofed/include/rdma/ib_addr_freebsd.h
sys/ofed/include/rdma/ib_sa.h