]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
OFED: migrate LinuxKPI net_device/ifnet macros into ofed
authorBjoern A. Zeeb <bz@FreeBSD.org>
Wed, 26 May 2021 17:51:24 +0000 (17:51 +0000)
committerBjoern A. Zeeb <bz@FreeBSD.org>
Thu, 27 May 2021 12:26:01 +0000 (12:26 +0000)
commit825b7d4c9d1d7cb0c79ffe002bc1bd58f28e1a67
tree3beadc5ae19fc0855469c50d86af598571197c75
parent60afad6fc307815ad2b70a9974d908b6d5d50674
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
sys/ofed/drivers/infiniband/core/ib_cache.c
sys/ofed/drivers/infiniband/core/ib_cm.c
sys/ofed/drivers/infiniband/core/ib_sysfs.c
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c
sys/ofed/include/rdma/ib_addr.h