git: 64cc26db79a0 - main - net/intel-irdma-kmod: add port for irdma driver
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 13 Jun 2023 17:10:36 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=64cc26db79a083329dcdc8dce146be4d7293c8b0
commit 64cc26db79a083329dcdc8dce146be4d7293c8b0
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2023-06-13 17:10:02 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2023-06-13 17:10:34 +0000
net/intel-irdma-kmod: add port for irdma driver
---
net/Makefile | 1 +
net/intel-irdma-kmod/Makefile | 30 ++++++++++++++++++++++++++++++
net/intel-irdma-kmod/distinfo | 3 +++
net/intel-irdma-kmod/files/pkg-message.in | 25 +++++++++++++++++++++++++
net/intel-irdma-kmod/pkg-descr | 5 +++++
5 files changed, 64 insertions(+)
diff --git a/net/Makefile b/net/Makefile
index c39e28085fe8..f11b64ecb40d 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -278,6 +278,7 @@
SUBDIR += intel-em-kmod
SUBDIR += intel-ice-kmod
SUBDIR += intel-igb-kmod
+ SUBDIR += intel-irdma-kmod
SUBDIR += intel-ix-kmod
SUBDIR += intel-ixl-kmod
SUBDIR += intel-ixv-kmod
diff --git a/net/intel-irdma-kmod/Makefile b/net/intel-irdma-kmod/Makefile
new file mode 100644
index 000000000000..0ad49a7384f3
--- /dev/null
+++ b/net/intel-irdma-kmod/Makefile
@@ -0,0 +1,30 @@
+PORTNAME= irdma
+PORTVERSION= 1.1.11
+CATEGORIES= net
+MASTER_SITES?= https://downloadmirror.intel.com/772536/
+
+MAINTAINER= freebsd@intel.com
+COMMENT= RDMA FreeBSD* driver for Intel® Ethernet Controller E810
+WWW= https://www.intel.com/content/www/us/en/download/19762/irdma-rdma-freebsd-driver-for-intel-ethernet-controller-e810.html
+
+LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/doc/irdma_readme.txt
+
+BUILD_DEPENDS= ${NONEXISTENT}:net/intel-ice-kmod:extract
+
+USES= kmod
+
+MAKE_CMD= ./build.sh
+MAKE_ENV= WERROR=""
+MAKE_FLAGS= `make -C ${PORTSDIR}/net/intel-ice-kmod -V WRKSRC`
+MAKEFILE=
+PLIST_FILES= ${KMODDIR}/${PORTNAME}_updated.ko \
+ man/man4/irdma.4.gz
+SUB_FILES= pkg-message
+SUB_LIST= PORTNAME=${PORTNAME}
+
+do-install:
+ ${INSTALL_KLD} ${WRKSRC}/src/${PORTNAME}.ko ${STAGEDIR}${KMODDIR}/${PORTNAME}_updated.ko
+ ${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.4.gz ${STAGEDIR}${MAN4PREFIX}/man/man4/
+
+.include <bsd.port.mk>
diff --git a/net/intel-irdma-kmod/distinfo b/net/intel-irdma-kmod/distinfo
new file mode 100644
index 000000000000..6ea8d57d0505
--- /dev/null
+++ b/net/intel-irdma-kmod/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1686583950
+SHA256 (irdma-1.1.11.tar.gz) = fd52fd08a0c098a39d48a115e480ceab8fa3323216fa5baf3478c5e6018e8575
+SIZE (irdma-1.1.11.tar.gz) = 269608
diff --git a/net/intel-irdma-kmod/files/pkg-message.in b/net/intel-irdma-kmod/files/pkg-message.in
new file mode 100644
index 000000000000..3c3d98259b54
--- /dev/null
+++ b/net/intel-irdma-kmod/files/pkg-message.in
@@ -0,0 +1,25 @@
+[
+{ type: install
+ message: <<EOM
+THIS PACKAGE INSTALLS THE NEWER VERSION OF THE SOFTWARE WHICH CAN CAUSE SYSTEM
+INSTABILITY WHILE USED. USE THE UPDATED VERSION ONLY IF YOU EXPERIENCE
+PROBLEMS WITH THE DRIVER PRESENT IN THE KERNEL DISTRIBUTION
+
+Usage:
+To load the updated version of the driver add this:
+
+%%PORTNAME%%_updated_load="YES"
+
+to your /boot/loader.conf and reboot the machine.
+There's no need to recompile the GENERIC kernel without %%PORTNAME%% driver
+
+After the reboot you may see this kind of messaged in the dmesg:
+
+module_register: module pci/%%PORTNAME%% already exists!
+Module pci/%%PORTNAME%% failed to register: 17
+
+This is the side effect of the newer version of the driver overriding the
+older one and can be safely disregarded
+EOM
+}
+]
diff --git a/net/intel-irdma-kmod/pkg-descr b/net/intel-irdma-kmod/pkg-descr
new file mode 100644
index 000000000000..6181d2ae75cb
--- /dev/null
+++ b/net/intel-irdma-kmod/pkg-descr
@@ -0,0 +1,5 @@
+This release includes the FreeBSD RDMA Driver for Intel(R) Ethernet Network Connections.
+
+The irdma driver supports devices based on the following controllers:
+ * Intel® Ethernet Controller E810-C
+ * Intel® Ethernet Controller E810-XXV