From nobody Mon Jun 12 15:14:32 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QfwG052j9z4cfJD; Mon, 12 Jun 2023 15:14:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QfwG03bXLz4Qws; Mon, 12 Jun 2023 15:14:32 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686582872; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=b9/rqC1WU7EjszI5NKW4paSyQJY7tFXY6XhNMhJvvAk=; b=YHLxWPsh81hk1rsEdvjBd6AgzGnw2ac/fONkNpepB163+dnTYzw0TeQexnMBBzlusWvGcW tFT8yvaYxNIp3FtTL+2SRtO0gGDzPwMyJLj7hoDN+FSX6G3nJD+1Kv/SttrjOjc9SPwQ67 Dbh5zaJ3JzCxZgijpoxB4a85YEMMnjFUwkBanJ6cTTNAsaFv16AEbxUsEzxZSSBSvwwPKL zaQVwiKzhA9NhG3vvq8O3xFXJX64lyo9tsq03rOy+iR/otg9nnf/s24MPHhj5IJQRY+21T dRDVfFrlMzLg0wIe8Ch60GOZLb3Ni/yIppHNKeT6CKTDKYUeNA1fuxwHW1k/XA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686582872; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=b9/rqC1WU7EjszI5NKW4paSyQJY7tFXY6XhNMhJvvAk=; b=IShH1YCNKrkJdiP2XRWytVwFNX8xfcDAIF8q06+A6IvzyN+o3zZ55L6bk33/R/8h9EkK9O 62pDYUimAYgW9/ZkVcmMRI1E3zjqvHWDCJGOrM9MXh8kv6CQiqczU0Bx0OmyA5pFAPnSkT 4QgsF1lfXFV9SSPgaxlk0t4Mb3XBLk/6IEFTIEl0LOf0KHz+AxIrUinutQboZdvr1BBuNe zh7aWwodWmewqNmnj4DtOZANdf4nAcrsBa8LCejVinPqgOIBAtydV0vlXkd+1HoQ6tmP/X sgBwPDFiPWgMkA0bg9RFoRcYtwHviXt2ouKkWyQqTioLiqk1ypNibAULCjRgpw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1686582872; a=rsa-sha256; cv=none; b=GxaRojfW8rEx65hiZ+UV0tXgRTnOznE5qUwofnNM/p6YNBr8OEDPQjnV8LA/bAL7cNATps VD8ELvcGgTwOfP7PYTxoEehH6hk9X8ZKR7pT7ORwHNjxxcoV2QVYaNXzYL0HKQ5WVwc7Ly Rzb6bNJTu0M0Bs3lu56ZAiuzLRnD9f310431xaaTSh754HDxolvGWhtPwxFr1dU6uvxOKt B62eIv0d8JhwgBbOl1UodkQuMvkFpOLgrLoL6g5lCehsbILFttts/V8T5a8f2BxAjBicT7 3c8+UKjeVG93ap4R/LU6Qtw/nYrCQbudxvXa90IssuhSUmem4bQj8MbpAqQHfg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QfwG02hjQzknS; Mon, 12 Jun 2023 15:14:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 35CFEWOw029809; Mon, 12 Jun 2023 15:14:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35CFEW9L029808; Mon, 12 Jun 2023 15:14:32 GMT (envelope-from git) Date: Mon, 12 Jun 2023 15:14:32 GMT Message-Id: <202306121514.35CFEW9L029808@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Piotr Kubaj Subject: git: 24ad47b239c0 - main - net/intel-ixv-kmod: add port for Intel 10G VF driver List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: pkubaj X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 24ad47b239c07f6e2f449bbcf25bcb59ddacc401 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=24ad47b239c07f6e2f449bbcf25bcb59ddacc401 commit 24ad47b239c07f6e2f449bbcf25bcb59ddacc401 Author: Piotr Kubaj AuthorDate: 2023-06-12 14:55:14 +0000 Commit: Piotr Kubaj CommitDate: 2023-06-12 15:14:21 +0000 net/intel-ixv-kmod: add port for Intel 10G VF driver --- net/Makefile | 1 + net/intel-ixv-kmod/Makefile | 25 +++++++++++++++++++++++++ net/intel-ixv-kmod/distinfo | 5 +++++ net/intel-ixv-kmod/files/patch-if__ixv.c | 15 +++++++++++++++ net/intel-ixv-kmod/pkg-descr | 5 +++++ 5 files changed, 51 insertions(+) diff --git a/net/Makefile b/net/Makefile index 0f36eb1fb1b1..b055b2dca592 100644 --- a/net/Makefile +++ b/net/Makefile @@ -279,6 +279,7 @@ SUBDIR += intel-igb-kmod SUBDIR += intel-ix-kmod SUBDIR += intel-ixl-kmod + SUBDIR += intel-ixv-kmod SUBDIR += iodine SUBDIR += ip2location SUBDIR += ip2proxy diff --git a/net/intel-ixv-kmod/Makefile b/net/intel-ixv-kmod/Makefile new file mode 100644 index 000000000000..8fc4aa444fdd --- /dev/null +++ b/net/intel-ixv-kmod/Makefile @@ -0,0 +1,25 @@ +PORTNAME= ixv +PORTVERSION= 1.5.33 +PORTEPOCH= 0 +MASTER_SITES?= https://downloadmirror.intel.com/762491/ \ + https://downloadmirror.intel.com/29626/eng/:man \ + +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ + ${_MAN_SOURCE}${EXTRACT_SUFX}:man +_MAN_SOURCE= ${PORTNAME}-1.5.17 + +MAINTAINER= freebsd@intel.com +COMMENT= 10G FreeBSD Base Driver Virtual Function for Intel(R) NIC + +MANPAGENAME= ixgbe +MANPAGELINKS= ixv if_ixv if_ixgbevf + +MASTERDIR= ${.CURDIR}/../intel-ixl-kmod +PATCHDIR= ${.CURDIR}/files +PKGDIR= ${.CURDIR} +DISTINFO_FILE= ${.CURDIR}/distinfo + +pre-install: + ${CP} ${WRKDIR}/${_MAN_SOURCE}/src/${MANPAGENAME}.4 ${WRKSRC} + +.include "${MASTERDIR}/Makefile" diff --git a/net/intel-ixv-kmod/distinfo b/net/intel-ixv-kmod/distinfo new file mode 100644 index 000000000000..42b4fa01a2d5 --- /dev/null +++ b/net/intel-ixv-kmod/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1686579057 +SHA256 (ixv-1.5.33.tar.gz) = 1ee4a87966ff77936b773a05fd0cfadbf747b4668220c2c7035db8fca4a82103 +SIZE (ixv-1.5.33.tar.gz) = 114683 +SHA256 (ixv-1.5.17.tar.gz) = f0557e35d2d217f78f4b96d085ce7d049ba753e047aace8e9419e49f9176eed2 +SIZE (ixv-1.5.17.tar.gz) = 110073 diff --git a/net/intel-ixv-kmod/files/patch-if__ixv.c b/net/intel-ixv-kmod/files/patch-if__ixv.c new file mode 100644 index 000000000000..186f108e0409 --- /dev/null +++ b/net/intel-ixv-kmod/files/patch-if__ixv.c @@ -0,0 +1,15 @@ +--- if_ixv.c.orig 2023-06-12 14:23:30 UTC ++++ if_ixv.c +@@ -146,8 +146,12 @@ static driver_t ixv_driver = { + "ixv", ixv_methods, sizeof(struct ixgbe_softc), + }; + ++#if __FreeBSD_version >= 1400058 ++DRIVER_MODULE(ixv, pci, ixv_driver, 0, 0); ++#else + devclass_t ixv_devclass; + DRIVER_MODULE(ixv, pci, ixv_driver, ixv_devclass, 0, 0); ++#endif + MODULE_DEPEND(ixv, pci, 1, 1, 1); + MODULE_DEPEND(ixv, ether, 1, 1, 1); + #ifdef DEV_NETMAP diff --git a/net/intel-ixv-kmod/pkg-descr b/net/intel-ixv-kmod/pkg-descr new file mode 100644 index 000000000000..3e3bbca6e3e1 --- /dev/null +++ b/net/intel-ixv-kmod/pkg-descr @@ -0,0 +1,5 @@ +This release includes the 10 gigabit FreeBSD Base Driver for Intel(R) Network +Connection. + +- ixgbe driver supports all 82599 and 82598EB-based 10 gigabit + network connections.