mirror of
https://github.com/opnsense/src.git
synced 2026-02-23 18:00:31 -05:00
This is an initial commit for RDMA FreeBSD driver for Intel(R) Ethernet Controller E810, called irdma. Supporting both RoCEv2 and iWARP protocols in per-PF manner, RoCEv2 being the default. Testing has been done using krping tool, perftest, ucmatose, rping, ud_pingpong, rc_pingpong and others. Signed-off-by: Eric Joyner <erj@FreeBSD.org> Reviewed by: #manpages (pauamma_gundo.com) [documentation] MFC after: 1 week Relnotes: yes Sponsored by: Intel Corporation Differential Revision: https://reviews.freebsd.org/D34690
23 lines
723 B
Makefile
23 lines
723 B
Makefile
.include <bsd.own.mk>
|
|
|
|
OFED_INC_DIR = ${.CURDIR}/../../ofed/include
|
|
ICE_DIR = ${.CURDIR}/../../dev/ice
|
|
.PATH: ${.CURDIR}/../../dev/irdma
|
|
|
|
KMOD= irdma
|
|
SRCS= icrdma.c
|
|
SRCS+= fbsd_kcompat.c irdma_hw.c irdma_verbs.c irdma_utils.c
|
|
SRCS+= irdma_cm.c irdma_kcompat.c
|
|
SRCS+= irdma_if.h irdma_di_if.h ice_rdma.h vnode_if.h device_if.h bus_if.h opt_inet.h pci_if.h opt_inet6.h
|
|
# Shared source
|
|
SRCS+= irdma_ctrl.c irdma_hmc.c icrdma_hw.c irdma_pble.c irdma_puda.c irdma_uda.c irdma_uk.c irdma_ws.c
|
|
|
|
CFLAGS+= -I${ICE_DIR} -I${OFED_INC_DIR}
|
|
CFLAGS+= -I${OFED_INC_DIR}/uapi
|
|
CFLAGS+= -I${.CURDIR}/../../compat/linuxkpi/common/include
|
|
CFLAGS+= -DCONFIG_INFINIBAND_USER_MEM
|
|
|
|
ice_rdma.h:
|
|
cp $(ICE_DIR)/ice_rdma.h .
|
|
|
|
.include <bsd.kmod.mk>
|