Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/115308/?format=api
https://patches.dpdk.org/api/patches/115308/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20220820103032.119741-1-mb@smartsharesystems.com/", "project": { "id": 1, "url": "https://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": "<20220820103032.119741-1-mb@smartsharesystems.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20220820103032.119741-1-mb@smartsharesystems.com", "date": "2022-08-20T10:30:32", "name": "x86: rte_mov256 was missing for AVX2", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "322e42093d935f000fbb7080c420722b1e9d8743", "submitter": { "id": 591, "url": "https://patches.dpdk.org/api/people/591/?format=api", "name": "Morten Brørup", "email": "mb@smartsharesystems.com" }, "delegate": { "id": 24651, "url": "https://patches.dpdk.org/api/users/24651/?format=api", "username": "dmarchand", "first_name": "David", "last_name": "Marchand", "email": "david.marchand@redhat.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20220820103032.119741-1-mb@smartsharesystems.com/mbox/", "series": [ { "id": 24369, "url": "https://patches.dpdk.org/api/series/24369/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=24369", "date": "2022-08-20T10:30:32", "name": "x86: rte_mov256 was missing for AVX2", "version": 1, "mbox": "https://patches.dpdk.org/series/24369/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/115308/comments/", "check": "fail", "checks": "https://patches.dpdk.org/api/patches/115308/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 mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 3DA69A034C;\n\tSat, 20 Aug 2022 12:30:43 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 17D7B40693;\n\tSat, 20 Aug 2022 12:30:42 +0200 (CEST)", "from smartserver.smartsharesystems.com\n (smartserver.smartsharesystems.com [77.243.40.215])\n by mails.dpdk.org (Postfix) with ESMTP id 34ADB40223\n for <dev@dpdk.org>; Sat, 20 Aug 2022 12:30:41 +0200 (CEST)", "from dkrd2.smartsharesys.local ([192.168.4.12]) by\n smartserver.smartsharesystems.com with Microsoft SMTPSVC(6.0.3790.4675);\n Sat, 20 Aug 2022 12:30:39 +0200" ], "From": "=?utf-8?q?Morten_Br=C3=B8rup?= <mb@smartsharesystems.com>", "To": "bruce.richardson@intel.com,\n\tkonstantin.v.ananyev@yandex.ru", "Cc": "dev@dpdk.org, =?utf-8?q?Morten_Br=C3=B8rup?= <mb@smartsharesystems.com>", "Subject": "[PATCH] x86: rte_mov256 was missing for AVX2", "Date": "Sat, 20 Aug 2022 12:30:32 +0200", "Message-Id": "<20220820103032.119741-1-mb@smartsharesystems.com>", "X-Mailer": "git-send-email 2.17.1", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=UTF-8", "Content-Transfer-Encoding": "8bit", "X-OriginalArrivalTime": "20 Aug 2022 10:30:39.0306 (UTC)\n FILETIME=[E46462A0:01D8B47F]", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "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" }, "content": "The rte_mov256 function was missing for AVX2.\nDoes nobody build test for AVX2 and check the compiler output?\n\nSigned-off-by: Morten Brørup <mb@smartsharesystems.com>\n---\n lib/eal/x86/include/rte_memcpy.h | 17 +++++++++++++++++\n 1 file changed, 17 insertions(+)", "diff": "diff --git a/lib/eal/x86/include/rte_memcpy.h b/lib/eal/x86/include/rte_memcpy.h\nindex b678b5c942..d4d7a5cfc8 100644\n--- a/lib/eal/x86/include/rte_memcpy.h\n+++ b/lib/eal/x86/include/rte_memcpy.h\n@@ -371,6 +371,23 @@ rte_mov128(uint8_t *dst, const uint8_t *src)\n \trte_mov32((uint8_t *)dst + 3 * 32, (const uint8_t *)src + 3 * 32);\n }\n \n+/**\n+ * Copy 256 bytes from one location to another,\n+ * locations should not overlap.\n+ */\n+static __rte_always_inline void\n+rte_mov256(uint8_t *dst, const uint8_t *src)\n+{\n+\trte_mov32((uint8_t *)dst + 0 * 32, (const uint8_t *)src + 0 * 32);\n+\trte_mov32((uint8_t *)dst + 1 * 32, (const uint8_t *)src + 1 * 32);\n+\trte_mov32((uint8_t *)dst + 2 * 32, (const uint8_t *)src + 2 * 32);\n+\trte_mov32((uint8_t *)dst + 3 * 32, (const uint8_t *)src + 3 * 32);\n+\trte_mov32((uint8_t *)dst + 4 * 32, (const uint8_t *)src + 4 * 32);\n+\trte_mov32((uint8_t *)dst + 5 * 32, (const uint8_t *)src + 5 * 32);\n+\trte_mov32((uint8_t *)dst + 6 * 32, (const uint8_t *)src + 6 * 32);\n+\trte_mov32((uint8_t *)dst + 7 * 32, (const uint8_t *)src + 7 * 32);\n+}\n+\n /**\n * Copy 128-byte blocks from one location to another,\n * locations should not overlap.\n", "prefixes": [] }{ "id": 115308, "url": "