Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/132332/?format=api
https://patches.dpdk.org/api/patches/132332/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20231005115101.12276-1-bruce.richardson@intel.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": "<20231005115101.12276-1-bruce.richardson@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20231005115101.12276-1-bruce.richardson@intel.com", "date": "2023-10-05T11:51:00", "name": "[RFC] eventdev: ensure 16-byte alignment for events", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "6d5767b59e6120c5ab9d320300cd0bf895c62525", "submitter": { "id": 20, "url": "https://patches.dpdk.org/api/people/20/?format=api", "name": "Bruce Richardson", "email": "bruce.richardson@intel.com" }, "delegate": { "id": 310, "url": "https://patches.dpdk.org/api/users/310/?format=api", "username": "jerin", "first_name": "Jerin", "last_name": "Jacob", "email": "jerinj@marvell.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20231005115101.12276-1-bruce.richardson@intel.com/mbox/", "series": [ { "id": 29743, "url": "https://patches.dpdk.org/api/series/29743/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=29743", "date": "2023-10-05T11:51:00", "name": "[RFC] eventdev: ensure 16-byte alignment for events", "version": 1, "mbox": "https://patches.dpdk.org/series/29743/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/132332/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/132332/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 5C41C426C1;\n\tThu, 5 Oct 2023 13:51:29 +0200 (CEST)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 38A6C402C3;\n\tThu, 5 Oct 2023 13:51:29 +0200 (CEST)", "from mgamail.intel.com (mgamail.intel.com [134.134.136.126])\n by mails.dpdk.org (Postfix) with ESMTP id A3D7D402A9\n for <dev@dpdk.org>; Thu, 5 Oct 2023 13:51:27 +0200 (CEST)", "from orsmga006.jf.intel.com ([10.7.209.51])\n by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 05 Oct 2023 04:51:26 -0700", "from silpixa00401385.ir.intel.com ([10.237.214.41])\n by orsmga006.jf.intel.com with ESMTP; 05 Oct 2023 04:51:11 -0700" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1696506687; x=1728042687;\n h=from:to:cc:subject:date:message-id:mime-version:\n content-transfer-encoding;\n bh=PGvz9rrsJGE6cVgVEJEyhV6MqnaoufZGGVzhpvG9rA4=;\n b=FaZHzfKkB5tOS2uCQdtCM/nF8loF/lIb5nG1bQ+ahJ5y44wG8JTy8rBK\n FOZ7/xOlfDso9Mwk4v2EgstGtQkHt2ZR+kqdsHhHq+A30LxFrpPqBLiu0\n 6bXHNBtNR2p7SZAUVlvtL9vuGJfwGniir5f1KUiO2COGJbMkaRnKFZYau\n AsxPBWGOsOv3SLE5UICqqP7ixshAjtGE8+nVtGDIIu+wu5jcDZ6rNYcdE\n gPCBCUs9g8bU3nYcFnTPSO+OxRT/YuJBq+OP0GLFEkdVB0n/ZGsGhNeH9\n r917WLkIE7Ijhg9QGYN6PdhEVXeoQFhg6XRnw9gjoDsxtfwwKEKtG5AHy A==;", "X-IronPort-AV": [ "E=McAfee;i=\"6600,9927,10853\"; a=\"368545988\"", "E=Sophos;i=\"6.03,202,1694761200\"; d=\"scan'208\";a=\"368545988\"", "E=McAfee;i=\"6600,9927,10853\"; a=\"728421794\"", "E=Sophos;i=\"6.03,203,1694761200\"; d=\"scan'208\";a=\"728421794\"" ], "X-ExtLoop1": "1", "From": "Bruce Richardson <bruce.richardson@intel.com>", "To": "dev@dpdk.org", "Cc": "Bruce Richardson <bruce.richardson@intel.com>,\n Jerin Jacob <jerinj@marvell.com>", "Subject": "[RFC PATCH] eventdev: ensure 16-byte alignment for events", "Date": "Thu, 5 Oct 2023 12:51:00 +0100", "Message-Id": "<20231005115101.12276-1-bruce.richardson@intel.com>", "X-Mailer": "git-send-email 2.39.2", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "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 event structure in DPDK is 16-bytes in size, and events are\nregularly passed as parameters directly rather than being passed as\npointers. To help compiler optimize correctly, we can explicitly request\n16-byte alignment for events, which means that we should be able\nto do aligned vector loads/stores (e.g. with SSE or Neon) when working\nwith those events.\n\nSigned-off-by: Bruce Richardson <bruce.richardson@intel.com>\n---\n lib/eventdev/rte_eventdev.h | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/lib/eventdev/rte_eventdev.h b/lib/eventdev/rte_eventdev.h\nindex 2ba8a7b090..bb0d59b059 100644\n--- a/lib/eventdev/rte_eventdev.h\n+++ b/lib/eventdev/rte_eventdev.h\n@@ -1344,7 +1344,7 @@ struct rte_event {\n \t\tstruct rte_event_vector *vec;\n \t\t/**< Event vector pointer. */\n \t};\n-};\n+} __rte_aligned(16);\n \n /* Ethdev Rx adapter capability bitmap flags */\n #define RTE_EVENT_ETH_RX_ADAPTER_CAP_INTERNAL_PORT\t0x1\n", "prefixes": [ "RFC" ] }{ "id": 132332, "url": "