FreeBSD Bugzilla – Attachment 155647 Details for
Bug 199485
[MAINTAINER] net/dpdk: Update to 2.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch file with changes to update DPDK port to 2.0 release
Update-DPDK-to-release-2.0.patch (text/plain), 9.00 KB, created by
Bruce Richardson
on 2015-04-16 16:20:00 UTC
(
hide
)
Description:
Patch file with changes to update DPDK port to 2.0 release
Filename:
MIME Type:
Creator:
Bruce Richardson
Created:
2015-04-16 16:20:00 UTC
Size:
9.00 KB
patch
obsolete
>From e0950af67b9865ddf351ae9e78ae321159bbb040 Mon Sep 17 00:00:00 2001 >From: Bruce Richardson <bruce.richardson@intel.com> >Date: Thu, 16 Apr 2015 14:14:51 +0100 >Subject: [PATCH] Updated to 2.0 release version > >--- > Makefile | 9 +++----- > distinfo | 4 ++-- > .../patch-lib-librte_eal-bsdapp-nic_uio-nic_uio.c | 18 ---------------- > pkg-plist | 24 ++++++++++++++++++---- > 4 files changed, 25 insertions(+), 30 deletions(-) > delete mode 100644 files/patch-lib-librte_eal-bsdapp-nic_uio-nic_uio.c > >diff --git a/Makefile b/Makefile >index 3165b56..2f7e5b4 100644 >--- a/Makefile >+++ b/Makefile >@@ -1,7 +1,7 @@ > # $FreeBSD: head/net/dpdk/Makefile 375235 2014-12-22 12:18:25Z vanilla $ > > PORTNAME= dpdk >-PORTVERSION= 1.8.0 >+PORTVERSION= 2.0.0 > CATEGORIES= net > MASTER_SITES= http://www.dpdk.org/browse/dpdk/snapshot/ > >@@ -21,15 +21,12 @@ WRKBUILD= ${WRKSRC}/${RTE_TARGET} > ALL_TARGET= install T=${RTE_TARGET} > > # build up the list of files in the compiled directory that should be executable >-EXEC_FILES= hostapp/testhost \ >- app/cmdline_test \ >+EXEC_FILES= app/cmdline_test \ > app/testpipeline \ > app/testpmd \ >+ app/testacl \ > app/test > >-post-patch: >- @${REINPLACE_CMD} -e 's/-fdirectives-only//' ${WRKSRC}/mk/rte.sdkconfig.mk >- > do-install: > ${MKDIR} ${STAGEDIR}${DATADIR}/${RTE_TARGET}/app \ > ${STAGEDIR}${DATADIR}/${RTE_TARGET}/lib \ >diff --git a/distinfo b/distinfo >index 324b2da..7179722 100644 >--- a/distinfo >+++ b/distinfo >@@ -1,2 +1,2 @@ >-SHA256 (dpdk-1.8.0.tar.gz) = 9f5386830bd999355182e20408f3fc2cfa0802a4497fdded8d43202feede1939 >-SIZE (dpdk-1.8.0.tar.gz) = 14706839 >+SHA256 (dpdk-2.0.0.tar.gz) = 643789a3be5ba44dd84d6b248cdf5471b260f8736dada177dadf076aebfbff3f >+SIZE (dpdk-2.0.0.tar.gz) = 14960022 >diff --git a/files/patch-lib-librte_eal-bsdapp-nic_uio-nic_uio.c b/files/patch-lib-librte_eal-bsdapp-nic_uio-nic_uio.c >deleted file mode 100644 >index 54c0b2a..0000000 >--- a/files/patch-lib-librte_eal-bsdapp-nic_uio-nic_uio.c >+++ /dev/null >@@ -1,18 +0,0 @@ >---- lib/librte_eal/bsdapp/nic_uio/nic_uio.c.orig 2015-01-09 11:56:48.000000000 -0500 >-+++ lib/librte_eal/bsdapp/nic_uio/nic_uio.c 2015-01-09 11:57:05.000000000 -0500 >-@@ -175,13 +175,13 @@ >- >- >- int >--nic_uio_open(struct cdev *dev, int oflags, int devtype, d_thread_t *td) >-+nic_uio_open(struct cdev *dev, int oflags, int devtype, struct thread *td) >- { >- return 0; >- } >- >- int >--nic_uio_close(struct cdev *dev, int fflag, int devtype, d_thread_t *td) >-+nic_uio_close(struct cdev *dev, int fflag, int devtype, struct thread *td) >- { >- return 0; >- } >diff --git a/pkg-plist b/pkg-plist >index 55e73f4..6400541 100644 >--- a/pkg-plist >+++ b/pkg-plist >@@ -3,6 +3,9 @@ > include/dpdk > lib/dpdk > %%DATADIR%%/examples/Makefile >+%%DATADIR%%/examples/bond/Makefile >+%%DATADIR%%/examples/bond/main.c >+%%DATADIR%%/examples/bond/main.h > %%DATADIR%%/examples/cmdline/Makefile > %%DATADIR%%/examples/cmdline/commands.c > %%DATADIR%%/examples/cmdline/commands.h >@@ -53,6 +56,8 @@ lib/dpdk > %%DATADIR%%/examples/l2fwd-ivshmem/host/Makefile > %%DATADIR%%/examples/l2fwd-ivshmem/host/host.c > %%DATADIR%%/examples/l2fwd-ivshmem/include/common.h >+%%DATADIR%%/examples/l2fwd-jobstats/Makefile >+%%DATADIR%%/examples/l2fwd-jobstats/main.c > %%DATADIR%%/examples/l2fwd/Makefile > %%DATADIR%%/examples/l2fwd/main.c > %%DATADIR%%/examples/l3fwd-acl/Makefile >@@ -99,6 +104,8 @@ lib/dpdk > %%DATADIR%%/examples/netmap_compat/lib/compat_netmap.h > %%DATADIR%%/examples/netmap_compat/netmap/netmap.h > %%DATADIR%%/examples/netmap_compat/netmap/netmap_user.h >+%%DATADIR%%/examples/packet_ordering/Makefile >+%%DATADIR%%/examples/packet_ordering/main.c > %%DATADIR%%/examples/qos_meter/Makefile > %%DATADIR%%/examples/qos_meter/main.c > %%DATADIR%%/examples/qos_meter/main.h >@@ -130,6 +137,8 @@ lib/dpdk > %%DATADIR%%/examples/quota_watermark/qwctl/commands.h > %%DATADIR%%/examples/quota_watermark/qwctl/qwctl.c > %%DATADIR%%/examples/quota_watermark/qwctl/qwctl.h >+%%DATADIR%%/examples/rxtx_callbacks/Makefile >+%%DATADIR%%/examples/rxtx_callbacks/main.c > %%DATADIR%%/examples/skeleton/Makefile > %%DATADIR%%/examples/skeleton/basicfwd.c > %%DATADIR%%/examples/timer/Makefile >@@ -165,6 +174,7 @@ lib/dpdk > %%DATADIR%%/mk/arch/i686/rte.vars.mk > %%DATADIR%%/mk/arch/ppc_64/rte.vars.mk > %%DATADIR%%/mk/arch/x86_64/rte.vars.mk >+%%DATADIR%%/mk/arch/x86_x32/rte.vars.mk > %%DATADIR%%/mk/exec-env/bsdapp/rte.app.mk > %%DATADIR%%/mk/exec-env/bsdapp/rte.vars.mk > %%DATADIR%%/mk/exec-env/linuxapp/rte.app.mk >@@ -177,6 +187,7 @@ lib/dpdk > %%DATADIR%%/mk/internal/rte.compile-pre.mk > %%DATADIR%%/mk/internal/rte.depdirs-post.mk > %%DATADIR%%/mk/internal/rte.depdirs-pre.mk >+%%DATADIR%%/mk/internal/rte.extvars.mk > %%DATADIR%%/mk/internal/rte.install-post.mk > %%DATADIR%%/mk/internal/rte.install-pre.mk > %%DATADIR%%/mk/machine/atm/rte.vars.mk >@@ -196,7 +207,6 @@ lib/dpdk > %%DATADIR%%/mk/rte.extobj.mk > %%DATADIR%%/mk/rte.extshared.mk > %%DATADIR%%/mk/rte.extsubdir.mk >-%%DATADIR%%/mk/rte.extvars.mk > %%DATADIR%%/mk/rte.gnuconfigure.mk > %%DATADIR%%/mk/rte.hostapp.mk > %%DATADIR%%/mk/rte.hostlib.mk >@@ -229,7 +239,7 @@ lib/dpdk > %%DATADIR%%/x86_64-native-bsdapp-clang/.config > %%DATADIR%%/x86_64-native-bsdapp-clang/app/cmdline_test > %%DATADIR%%/x86_64-native-bsdapp-clang/app/test >-%%DATADIR%%/x86_64-native-bsdapp-clang/app/testhost >+%%DATADIR%%/x86_64-native-bsdapp-clang/app/testacl > %%DATADIR%%/x86_64-native-bsdapp-clang/app/testpipeline > %%DATADIR%%/x86_64-native-bsdapp-clang/app/testpmd > %%DATADIR%%/x86_64-native-bsdapp-clang/include/generic/rte_atomic.h >@@ -266,7 +276,7 @@ lib/dpdk > %%DATADIR%%/x86_64-native-bsdapp-clang/include/rte_byteorder_64.h > %%DATADIR%%/x86_64-native-bsdapp-clang/include/rte_cfgfile.h > %%DATADIR%%/x86_64-native-bsdapp-clang/include/rte_common.h >-%%DATADIR%%/x86_64-native-bsdapp-clang/include/rte_common_vect.h >+%%DATADIR%%/x86_64-native-bsdapp-clang/include/rte_compat.h > %%DATADIR%%/x86_64-native-bsdapp-clang/include/rte_config.h > %%DATADIR%%/x86_64-native-bsdapp-clang/include/rte_cpuflags.h > %%DATADIR%%/x86_64-native-bsdapp-clang/include/rte_cycles.h >@@ -292,6 +302,7 @@ lib/dpdk > %%DATADIR%%/x86_64-native-bsdapp-clang/include/rte_ip.h > %%DATADIR%%/x86_64-native-bsdapp-clang/include/rte_ip_frag.h > %%DATADIR%%/x86_64-native-bsdapp-clang/include/rte_jhash.h >+%%DATADIR%%/x86_64-native-bsdapp-clang/include/rte_jobstats.h > %%DATADIR%%/x86_64-native-bsdapp-clang/include/rte_kvargs.h > %%DATADIR%%/x86_64-native-bsdapp-clang/include/rte_launch.h > %%DATADIR%%/x86_64-native-bsdapp-clang/include/rte_lcore.h >@@ -323,6 +334,7 @@ lib/dpdk > %%DATADIR%%/x86_64-native-bsdapp-clang/include/rte_prefetch.h > %%DATADIR%%/x86_64-native-bsdapp-clang/include/rte_random.h > %%DATADIR%%/x86_64-native-bsdapp-clang/include/rte_red.h >+%%DATADIR%%/x86_64-native-bsdapp-clang/include/rte_reorder.h > %%DATADIR%%/x86_64-native-bsdapp-clang/include/rte_ring.h > %%DATADIR%%/x86_64-native-bsdapp-clang/include/rte_rwlock.h > %%DATADIR%%/x86_64-native-bsdapp-clang/include/rte_sched.h >@@ -338,10 +350,10 @@ lib/dpdk > %%DATADIR%%/x86_64-native-bsdapp-clang/include/rte_table_lpm_ipv6.h > %%DATADIR%%/x86_64-native-bsdapp-clang/include/rte_table_stub.h > %%DATADIR%%/x86_64-native-bsdapp-clang/include/rte_tailq.h >-%%DATADIR%%/x86_64-native-bsdapp-clang/include/rte_tailq_elem.h > %%DATADIR%%/x86_64-native-bsdapp-clang/include/rte_tcp.h > %%DATADIR%%/x86_64-native-bsdapp-clang/include/rte_timer.h > %%DATADIR%%/x86_64-native-bsdapp-clang/include/rte_udp.h >+%%DATADIR%%/x86_64-native-bsdapp-clang/include/rte_vect.h > %%DATADIR%%/x86_64-native-bsdapp-clang/include/rte_version.h > %%DATADIR%%/x86_64-native-bsdapp-clang/lib/libethdev.a > %%DATADIR%%/x86_64-native-bsdapp-clang/lib/librte_acl.a >@@ -351,6 +363,7 @@ lib/dpdk > %%DATADIR%%/x86_64-native-bsdapp-clang/lib/librte_eal.a > %%DATADIR%%/x86_64-native-bsdapp-clang/lib/librte_hash.a > %%DATADIR%%/x86_64-native-bsdapp-clang/lib/librte_ip_frag.a >+%%DATADIR%%/x86_64-native-bsdapp-clang/lib/librte_jobstats.a > %%DATADIR%%/x86_64-native-bsdapp-clang/lib/librte_kvargs.a > %%DATADIR%%/x86_64-native-bsdapp-clang/lib/librte_lpm.a > %%DATADIR%%/x86_64-native-bsdapp-clang/lib/librte_malloc.a >@@ -361,13 +374,16 @@ lib/dpdk > %%DATADIR%%/x86_64-native-bsdapp-clang/lib/librte_pmd_bond.a > %%DATADIR%%/x86_64-native-bsdapp-clang/lib/librte_pmd_e1000.a > %%DATADIR%%/x86_64-native-bsdapp-clang/lib/librte_pmd_enic.a >+%%DATADIR%%/x86_64-native-bsdapp-clang/lib/librte_pmd_fm10k.a > %%DATADIR%%/x86_64-native-bsdapp-clang/lib/librte_pmd_i40e.a > %%DATADIR%%/x86_64-native-bsdapp-clang/lib/librte_pmd_ixgbe.a >+%%DATADIR%%/x86_64-native-bsdapp-clang/lib/librte_pmd_null.a > %%DATADIR%%/x86_64-native-bsdapp-clang/lib/librte_pmd_pcap.a > %%DATADIR%%/x86_64-native-bsdapp-clang/lib/librte_pmd_ring.a > %%DATADIR%%/x86_64-native-bsdapp-clang/lib/librte_pmd_virtio_uio.a > %%DATADIR%%/x86_64-native-bsdapp-clang/lib/librte_pmd_vmxnet3_uio.a > %%DATADIR%%/x86_64-native-bsdapp-clang/lib/librte_port.a >+%%DATADIR%%/x86_64-native-bsdapp-clang/lib/librte_reorder.a > %%DATADIR%%/x86_64-native-bsdapp-clang/lib/librte_ring.a > %%DATADIR%%/x86_64-native-bsdapp-clang/lib/librte_sched.a > %%DATADIR%%/x86_64-native-bsdapp-clang/lib/librte_table.a >-- >2.1.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
koobs
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 199485
: 155647