Cover Detail
Show a cover letter.
GET /api/covers/642/?format=api
http://patches.dpdk.org/api/covers/642/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/cover/1707884270-27189-1-git-send-email-roretzla@linux.microsoft.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": "<1707884270-27189-1-git-send-email-roretzla@linux.microsoft.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1707884270-27189-1-git-send-email-roretzla@linux.microsoft.com", "date": "2024-02-14T04:17:36", "name": "[v2,00/14] use C11 alignas and normalize type alignment", "submitter": { "id": 2077, "url": "http://patches.dpdk.org/api/people/2077/?format=api", "name": "Tyler Retzlaff", "email": "roretzla@linux.microsoft.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/cover/1707884270-27189-1-git-send-email-roretzla@linux.microsoft.com/mbox/", "series": [ { "id": 31101, "url": "http://patches.dpdk.org/api/series/31101/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=31101", "date": "2024-02-14T04:17:36", "name": "use C11 alignas and normalize type alignment", "version": 2, "mbox": "http://patches.dpdk.org/series/31101/mbox/" } ], "comments": "http://patches.dpdk.org/api/covers/642/comments/", "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 61E5943B1F;\n\tWed, 14 Feb 2024 05:17:55 +0100 (CET)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id E063B42E51;\n\tWed, 14 Feb 2024 05:17:54 +0100 (CET)", "from linux.microsoft.com (linux.microsoft.com [13.77.154.182])\n by mails.dpdk.org (Postfix) with ESMTP id 722D942E51\n for <dev@dpdk.org>; Wed, 14 Feb 2024 05:17:52 +0100 (CET)", "by linux.microsoft.com (Postfix, from userid 1086)\n id 88F82207F20D; Tue, 13 Feb 2024 20:17:51 -0800 (PST)" ], "DKIM-Filter": "OpenDKIM Filter v2.11.0 linux.microsoft.com 88F82207F20D", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com;\n s=default; t=1707884271;\n bh=BpbO3LHSUemtMQp+Su+DGuB+PfKZ0+I24rf4Kr3/+xU=;\n h=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n b=L2Ja6zR/I3IVaEzPzsT32Tnf2jQf1N6RyfetKJ1TpxfPvNoBxQWzGIuKTfedNnMWa\n 2N3Inxgq52+DszFT6xIfH8DO2+uoYaMmMdBrQ/C8oVIqpvB7J5ET+Y636Yt+7HKbfP\n MlvSyXcAqU0PzGp3HYnYU2G7toB1kimpMliibvR4=", "From": "Tyler Retzlaff <roretzla@linux.microsoft.com>", "To": "dev@dpdk.org", "Cc": "Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>,\n Bruce Richardson <bruce.richardson@intel.com>,\n Chengwen Feng <fengchengwen@huawei.com>,\n Cristian Dumitrescu <cristian.dumitrescu@intel.com>,\n David Christensen <drc@linux.vnet.ibm.com>,\n David Hunt <david.hunt@intel.com>, Ferruh Yigit <ferruh.yigit@amd.com>,\n Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>,\n Jasvinder Singh <jasvinder.singh@intel.com>,\n Jerin Jacob <jerinj@marvell.com>, Kevin Laatz <kevin.laatz@intel.com>,\n Konstantin Ananyev <konstantin.v.ananyev@yandex.ru>,\n Min Zhou <zhoumin@loongson.cn>, Ruifeng Wang <ruifeng.wang@arm.com>,\n Sameh Gobriel <sameh.gobriel@intel.com>,\n Stanislaw Kardach <kda@semihalf.com>,\n Thomas Monjalon <thomas@monjalon.net>,\n Vladimir Medvedkin <vladimir.medvedkin@intel.com>,\n Yipeng Wang <yipeng1.wang@intel.com>,\n Tyler Retzlaff <roretzla@linux.microsoft.com>", "Subject": "[PATCH v2 00/14] use C11 alignas and normalize type alignment", "Date": "Tue, 13 Feb 2024 20:17:36 -0800", "Message-Id": "<1707884270-27189-1-git-send-email-roretzla@linux.microsoft.com>", "X-Mailer": "git-send-email 1.8.3.1", "In-Reply-To": "<1707873986-29352-1-git-send-email-roretzla@linux.microsoft.com>", "References": "<1707873986-29352-1-git-send-email-roretzla@linux.microsoft.com>", "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": "This series normalizes type and object alignment by doing the following.\n\nFill in expansion of existing __rte_aligned, __rte_cache_aligned and\n__rte_cache_min_aligned macros for MSVC.\n\nWhere __rte_aligned, __rte_cache_aligned and __rte_cache_min_aligned\nare used to align *types* move them to a location on the type definition\nthat both GCC and MSVC accept for both C and C++ compilation.\n\nWhere __rte_aligned, __rte_cache_aligned or __rte_cache_min_aligned\nare used to align *objects* replace their usage with standard C11 alignas.\n\nI've elected to put the series forward without introducing a new macro\nsimilar to __rte_alignas. Assuming the convention of a lower case macro\nstarting with __rte is intended to be internal only and providing it\nwould only permit unintended use by applications.\n\nv2:\n * add missing #include <stdalign.h> for alignas macro.\n\nTyler Retzlaff (14):\n eal: use C11 alignas\n stack: use C11 alignas\n sched: use C11 alignas\n ring: remove unnecessary explicit alignment\n pipeline: use C11 alignas\n net: use C11 alignas\n mbuf: remove unnecessary explicit alignment\n hash: use C11 alignas\n eventdev: use C11 alignas\n ethdev: use C11 alignas\n dmadev: use C11 alignas\n distributor: use C11 alignas\n acl: use C11 alignas\n eal: redefine macro to be integer literal for MSVC\n\n lib/acl/acl_run.h | 4 ++--\n lib/distributor/rte_distributor.c | 3 ++-\n lib/dmadev/rte_dmadev_core.h | 4 ++--\n lib/eal/arm/include/rte_vect.h | 4 ++--\n lib/eal/include/generic/rte_atomic.h | 4 ++--\n lib/eal/include/rte_common.h | 2 +-\n lib/eal/loongarch/include/rte_vect.h | 8 ++++----\n lib/eal/ppc/include/rte_vect.h | 4 ++--\n lib/eal/riscv/include/rte_vect.h | 4 ++--\n lib/eal/x86/include/rte_vect.h | 9 ++++++---\n lib/ethdev/rte_ethdev.h | 4 ++--\n lib/eventdev/rte_eventdev.h | 8 ++++----\n lib/hash/rte_thash.h | 8 ++++----\n lib/mbuf/rte_mbuf_core.h | 2 +-\n lib/net/net_crc_avx512.c | 14 ++++++++------\n lib/net/net_crc_neon.c | 11 ++++++-----\n lib/net/net_crc_sse.c | 17 +++++++++--------\n lib/net/rte_arp.h | 8 ++++----\n lib/net/rte_ether.h | 8 ++++----\n lib/pipeline/rte_table_action.c | 24 ++++++++++++------------\n lib/ring/rte_ring_core.h | 4 ++--\n lib/sched/rte_sched.c | 3 ++-\n lib/sched/rte_sched_common.h | 2 --\n lib/stack/rte_stack.h | 4 +++-\n 24 files changed, 86 insertions(+), 77 deletions(-)" }{ "id": 642, "url": "