Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 May 2019 14:57:29 +0000 (UTC)
From:      "Serhii (Sergey) Kozlov" <skozlov@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r500919 - head/net/intel-ix-kmod
Message-ID:  <201905061457.x46EvTHA066857@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905061457.x46EvTHA066857>