From nobody Thu Oct 14 07:30:41 2021 X-Original-To: dev-commits-ports-all@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 E9980180F53F; Thu, 14 Oct 2021 07:30:41 +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 4HVLfT68n6z4fdv; Thu, 14 Oct 2021 07:30:41 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 B3F36716F; Thu, 14 Oct 2021 07:30:41 +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 19E7UfOu047045; Thu, 14 Oct 2021 07:30:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 19E7UfRm047044; Thu, 14 Oct 2021 07:30:41 GMT (envelope-from git) Date: Thu, 14 Oct 2021 07:30:41 GMT Message-Id: <202110140730.19E7UfRm047044@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: "Vanilla I. Shu" Subject: git: e59e69659a1f - main - net/dpdk-20.11: add port. List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: vanilla X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e59e69659a1f1f7c2c3f435b889042499a5c5f70 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by vanilla: URL: https://cgit.FreeBSD.org/ports/commit/?id=e59e69659a1f1f7c2c3f435b889042499a5c5f70 commit e59e69659a1f1f7c2c3f435b889042499a5c5f70 Author: Vanilla I. Shu AuthorDate: 2021-10-14 07:17:48 +0000 Commit: Vanilla I. Shu CommitDate: 2021-10-14 07:29:42 +0000 net/dpdk-20.11: add port. PR: 254402 Reported by: Bruce Richardson --- net/Makefile | 1 + net/dpdk-20.11/Makefile | 51 ++ net/dpdk-20.11/distinfo | 3 + net/dpdk-20.11/pkg-descr | 17 + net/dpdk-20.11/pkg-message | 30 + net/dpdk-20.11/pkg-plist | 1376 ++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 1478 insertions(+) diff --git a/net/Makefile b/net/Makefile index 1bcb2aadb409..f40af331cf97 100644 --- a/net/Makefile +++ b/net/Makefile @@ -126,6 +126,7 @@ SUBDIR += dictd SUBDIR += dimes SUBDIR += dpdk + SUBDIR += dpdk-20.11 SUBDIR += dpinger SUBDIR += drawterm SUBDIR += drive diff --git a/net/dpdk-20.11/Makefile b/net/dpdk-20.11/Makefile new file mode 100644 index 000000000000..f8d598a1814d --- /dev/null +++ b/net/dpdk-20.11/Makefile @@ -0,0 +1,51 @@ +# $FreeBSD$ + +PORTNAME= dpdk +DISTVERSION= 20.11.1 +CATEGORIES= net +MASTER_SITES= http://fast.dpdk.org/rel/ +PKGNAMESUFFIX= 20.11 + +MAINTAINER= bruce.richardson@intel.com +COMMENT= DPDK: Software libraries for packet processing + +LICENSE= BSD3CLAUSE + +ONLY_FOR_ARCHS= amd64 +ONLY_FOR_ARCHS_REASON= Only tested on 64-bit x86 hardware + +LIB_DEPENDS= libjansson.so:devel/jansson +BUILD_DEPENDS= objdump:devel/binutils + +USES= meson kmod pkgconfig:both shebangfix tar:xz python:3.5+ +WRKSRC= ${WRKDIR}/${PORTNAME}-stable-${PORTVERSION} +MESON_ARGS= -Dmachine=default -Ddefault_library=shared -Denable_kmods=true +USE_LDCONFIG= yes +SHEBANG_FILES= usertools/dpdk-pmdinfo.py \ + usertools/dpdk-telemetry-client.py \ + usertools/dpdk-telemetry.py \ + usertools/dpdk-devbind.py \ + usertools/dpdk-pmdinfo.py \ + usertools/dpdk-hugepages.py \ + examples/ipsec-secgw/test/pkttest.py \ + examples/ipsec-secgw/test/pkttest.sh \ + examples/ipsec-secgw/test/run_test.sh \ + examples/ipsec-secgw/test/trs_ipv6opts.py \ + examples/ipsec-secgw/test/tun_null_header_reconstruct.py \ + examples/performance-thread/l3fwd-thread/test.sh \ + examples/pipeline/examples/vxlan_table.py \ + +OPTIONS_DEFINE= EXAMPLES DEBUG TOOLS TESTS +OPTIONS_DEFAULT= TOOLS +OPTIONS_SUB= yes +DEBUG_DESC= Debugging support (unoptimized build, impacts performance) +TOOLS_DESC= Install tool scripts +TESTS_DESC= Build the automated unit test binary + +EXAMPLES_MESON_ON= -Dexamples=all +DEBUG_MESON_ON= --buildtype=debug +DEBUG_MESON_OFF= --buildtype=release +TESTS_MESON_TRUE= tests +TOOLS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyelftools>=0:devel/py-pyelftools@${PY_FLAVOR} + +.include diff --git a/net/dpdk-20.11/distinfo b/net/dpdk-20.11/distinfo new file mode 100644 index 000000000000..fcdbff3dbf6a --- /dev/null +++ b/net/dpdk-20.11/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1615544817 +SHA256 (dpdk-20.11.1.tar.xz) = 66c95e81dc4a9b4d1bf5a39d29cb5e353b055065e3a28c579cd13a54c7ba6362 +SIZE (dpdk-20.11.1.tar.xz) = 13974116 diff --git a/net/dpdk-20.11/pkg-descr b/net/dpdk-20.11/pkg-descr new file mode 100644 index 000000000000..0a775ed3c088 --- /dev/null +++ b/net/dpdk-20.11/pkg-descr @@ -0,0 +1,17 @@ +The Data Plane Development Kit (DPDK) + +The DPDK is a set of software libraries to enable packet processing. It +consists of a set of polling mode drivers (PMD) which can be used to pull +network packets directly from a Network Interface Card (NIC), as well as +other libraries to assist in the processing of those packets. The additional +libraries include ones for: +* memory and buffer management +* packet classification +* software rings or FIFOs to allow packet transfer between cores +amongst others. + +Applications written using the DPDK run in userspace. The devices used by a +DPDK application are removed from kernel control and are instead managed +directly by that application. + +WWW: http://dpdk.org/ diff --git a/net/dpdk-20.11/pkg-message b/net/dpdk-20.11/pkg-message new file mode 100644 index 000000000000..f557b725ac78 --- /dev/null +++ b/net/dpdk-20.11/pkg-message @@ -0,0 +1,30 @@ +[ +{ type: install + message: <