diff options
author | Christian Ehrhardt <christian.ehrhardt@canonical.com> | 2016-12-08 16:53:30 +0100 |
---|---|---|
committer | Christian Ehrhardt <christian.ehrhardt@canonical.com> | 2016-12-12 15:41:58 +0100 |
commit | 785bfaf06ad4c0b962016fe546fd2d9c5a3cce5e (patch) | |
tree | 09a6e7c7eeae5fc7ef6eb7fc8e2d8571e00e8dce /debian/patches/dpdk-dev-ppc-enable-3-7-examples-l3fwd-add-AltiVec-for-ppc64.patch | |
parent | bb8b0e4891dbbaa9d7931fbd267c7c6573ea982d (diff) |
Drop d/p/dpdk-dev-ppc-enable-* (are upstream)
Change-Id: I5a7da250bc8bf6c2d5f7ee0ae8561c1620d201ce
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Diffstat (limited to 'debian/patches/dpdk-dev-ppc-enable-3-7-examples-l3fwd-add-AltiVec-for-ppc64.patch')
-rw-r--r-- | debian/patches/dpdk-dev-ppc-enable-3-7-examples-l3fwd-add-AltiVec-for-ppc64.patch | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/debian/patches/dpdk-dev-ppc-enable-3-7-examples-l3fwd-add-AltiVec-for-ppc64.patch b/debian/patches/dpdk-dev-ppc-enable-3-7-examples-l3fwd-add-AltiVec-for-ppc64.patch deleted file mode 100644 index a0eb79ce..00000000 --- a/debian/patches/dpdk-dev-ppc-enable-3-7-examples-l3fwd-add-AltiVec-for-ppc64.patch +++ /dev/null @@ -1,41 +0,0 @@ -From: Gowrishankar Muthukrishnan <gowrishankar.m@linux.vnet.ibm.com> -Date: Thu, 8 Sep 2016 22:18:05 +0530 -Subject: [PATCH 3/7] examples/l3fwd: add AltiVec for ppc64 - -This patch adds ppc64le port for em_mask_key function. - -Signed-off-by: Gowrishankar Muthukrishnan <gowrishankar.m@linux.vnet.ibm.com> -Acked-by: Chao Zhu <chaozhu@linux.vnet.ibm.com> - -Origin: Upstream, commit:f2379ca1f679c1ded6ed2239fc3b7f58844d903b -Author: Gowrishankar Muthukrishnan <gowrishankar.m@linux.vnet.ibm.com> -Last-Update: 2016-09-21 ---- - examples/l3fwd/l3fwd_em.c | 10 +++++++++- - 1 file changed, 9 insertions(+), 1 deletion(-) - -diff --git a/examples/l3fwd/l3fwd_em.c b/examples/l3fwd/l3fwd_em.c -index def5a02..6053a62 100644 ---- a/examples/l3fwd/l3fwd_em.c -+++ b/examples/l3fwd/l3fwd_em.c -@@ -259,8 +259,16 @@ em_mask_key(void *key, xmm_t mask) - - return vandq_s32(data, mask); - } -+#elif defined(RTE_MACHINE_CPUFLAG_ALTIVEC) -+static inline xmm_t -+em_mask_key(void *key, xmm_t mask) -+{ -+ xmm_t data = vec_ld(0, (xmm_t *)(key)); -+ -+ return vec_and(data, mask); -+} - #else --#error No vector engine (SSE, NEON) available, check your toolchain -+#error No vector engine (SSE, NEON, ALTIVEC) available, check your toolchain - #endif - - static inline uint8_t --- -1.9.1 - |