Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/73922/?format=api
http://patches.dpdk.org/api/patches/73922/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/b4f9941f447c8ef9277d966a706600c681cc0f6b.1594640822.git.vladimir.medvedkin@intel.com/", "project": { "id": 1, "url": "http://patches.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<b4f9941f447c8ef9277d966a706600c681cc0f6b.1594640822.git.vladimir.medvedkin@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/b4f9941f447c8ef9277d966a706600c681cc0f6b.1594640822.git.vladimir.medvedkin@intel.com", "date": "2020-07-13T11:56:25", "name": "[v7,1/8] eal/x86: introduce AVX 512-bit type", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "3377c60cf73e3fe167370cf7bfd4d4869ed090f5", "submitter": { "id": 1216, "url": "http://patches.dpdk.org/api/people/1216/?format=api", "name": "Vladimir Medvedkin", "email": "vladimir.medvedkin@intel.com" }, "delegate": { "id": 1, "url": "http://patches.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/b4f9941f447c8ef9277d966a706600c681cc0f6b.1594640822.git.vladimir.medvedkin@intel.com/mbox/", "series": [ { "id": 10990, "url": "http://patches.dpdk.org/api/series/10990/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=10990", "date": "2020-07-13T11:56:24", "name": "fib: implement AVX512 vector lookup", "version": 7, "mbox": "http://patches.dpdk.org/series/10990/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/73922/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/73922/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id A55A1A0540;\n\tMon, 13 Jul 2020 13:56:45 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id C3C3A1D663;\n\tMon, 13 Jul 2020 13:56:41 +0200 (CEST)", "from mga05.intel.com (mga05.intel.com [192.55.52.43])\n by dpdk.org (Postfix) with ESMTP id 01A121D633\n for <dev@dpdk.org>; Mon, 13 Jul 2020 13:56:37 +0200 (CEST)", "from orsmga004.jf.intel.com ([10.7.209.38])\n by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 13 Jul 2020 04:56:38 -0700", "from silpixa00400322.ir.intel.com ([10.237.214.86])\n by orsmga004.jf.intel.com with ESMTP; 13 Jul 2020 04:56:36 -0700" ], "IronPort-SDR": [ "\n oK7Pm5rBlNzgWiQRHH4xhJAi1v8iZTJVac/VQvB8OZu3I15yEREBUyD4d8np5u4NxCFg5lJpMr\n EYYn7lyuv8vg==", "\n P0BUr6IO8vam08Es/QFTKkKhJBRmy2lYNLzE0J+cB7I8KLwC9ydgxuFsFiho9WKh0c4yn0toU4\n pF8RQ0t0CS1g==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6000,8403,9680\"; a=\"233454698\"", "E=Sophos;i=\"5.75,347,1589266800\"; d=\"scan'208\";a=\"233454698\"", "E=Sophos;i=\"5.75,347,1589266800\"; d=\"scan'208\";a=\"429360199\"" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "From": "Vladimir Medvedkin <vladimir.medvedkin@intel.com>", "To": "dev@dpdk.org", "Cc": "david.marchand@redhat.com, jerinj@marvell.com, mdr@ashroe.eu,\n thomas@monjalon.net, konstantin.ananyev@intel.com,\n bruce.richardson@intel.com", "Date": "Mon, 13 Jul 2020 12:56:25 +0100", "Message-Id": "\n <b4f9941f447c8ef9277d966a706600c681cc0f6b.1594640822.git.vladimir.medvedkin@intel.com>", "X-Mailer": "git-send-email 2.17.1", "In-Reply-To": [ "<cover.1594640822.git.vladimir.medvedkin@intel.com>", "<cover.1594640822.git.vladimir.medvedkin@intel.com>" ], "References": [ "<cover.1594640822.git.vladimir.medvedkin@intel.com>", "<cover.1594638050.git.vladimir.medvedkin@intel.com>\n <cover.1594640822.git.vladimir.medvedkin@intel.com>" ], "Subject": "[dpdk-dev] [PATCH v7 1/8] eal/x86: introduce AVX 512-bit type", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "New data type to manipulate 512 bit AVX values.\n\nSigned-off-by: Vladimir Medvedkin <vladimir.medvedkin@intel.com>\nAcked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>\n---\n lib/librte_eal/x86/include/rte_vect.h | 19 +++++++++++++++++++\n 1 file changed, 19 insertions(+)", "diff": "diff --git a/lib/librte_eal/x86/include/rte_vect.h b/lib/librte_eal/x86/include/rte_vect.h\nindex df5a60762..64383c360 100644\n--- a/lib/librte_eal/x86/include/rte_vect.h\n+++ b/lib/librte_eal/x86/include/rte_vect.h\n@@ -13,6 +13,7 @@\n \n #include <stdint.h>\n #include <rte_config.h>\n+#include <rte_common.h>\n #include \"generic/rte_vect.h\"\n \n #if (defined(__ICC) || \\\n@@ -90,6 +91,24 @@ __extension__ ({ \\\n })\n #endif /* (defined(__ICC) && __ICC < 1210) */\n \n+#ifdef __AVX512F__\n+\n+#define RTE_X86_ZMM_SIZE\t(sizeof(__m512i))\n+#define RTE_X86_ZMM_MASK\t(RTE_X86_ZMM_SIZE - 1)\n+\n+typedef union __rte_x86_zmm {\n+\t__m512i\t z;\n+\tymm_t y[RTE_X86_ZMM_SIZE / sizeof(ymm_t)];\n+\txmm_t x[RTE_X86_ZMM_SIZE / sizeof(xmm_t)];\n+\tuint8_t u8[RTE_X86_ZMM_SIZE / sizeof(uint8_t)];\n+\tuint16_t u16[RTE_X86_ZMM_SIZE / sizeof(uint16_t)];\n+\tuint32_t u32[RTE_X86_ZMM_SIZE / sizeof(uint32_t)];\n+\tuint64_t u64[RTE_X86_ZMM_SIZE / sizeof(uint64_t)];\n+\tdouble pd[RTE_X86_ZMM_SIZE / sizeof(double)];\n+} __rte_aligned(RTE_X86_ZMM_SIZE) __rte_x86_zmm_t;\n+\n+#endif /* __AVX512F__ */\n+\n #ifdef __cplusplus\n }\n #endif\n", "prefixes": [ "v7", "1/8" ] }{ "id": 73922, "url": "