svn commit: r500919 - head/net/intel-ix-kmod
Serhii (Sergey) Kozlov
skozlov at FreeBSD.org
Mon May 6 14:57:30 UTC 2019
Author: skozlov
Date: Mon May 6 14:57:28 2019
New Revision: 500919
URL: https://svnweb.freebsd.org/changeset/ports/500919
Log:
net/intel-ix-kmod: Add SRIOV option
Add option to enable experimental SR-IOV support in the driver.
Because the feature is experimental - the option is disabled by
default.
Sponsored by: Intel Corporation
Modified:
head/net/intel-ix-kmod/Makefile
Modified: head/net/intel-ix-kmod/Makefile
==============================================================================
--- head/net/intel-ix-kmod/Makefile Mon May 6 13:59:34 2019 (r500918)
+++ head/net/intel-ix-kmod/Makefile Mon May 6 14:57:28 2019 (r500919)
@@ -19,4 +19,10 @@ MASTERDIR= ${.CURDIR}/../intel-ixl-kmod
PKGDIR= ${.CURDIR}
DISTINFO_FILE= ${.CURDIR}/distinfo
+OPTIONS_DEFINE= SRIOV
+SRIOV_DESC= Enable SR-IOV support (experimental)
+
+post-patch-SRIOV-on:
+ @${SED} -i '' 's|SRIOV_ENABLE = 0|SRIOV_ENABLE = 1|g' ${WRKSRC}/Makefile
+
.include "${MASTERDIR}/Makefile"
More information about the svn-ports-all
mailing list