Message ID | 1712088530-24948-1-git-send-email-roretzla@linux.microsoft.com (mailing list archive) |
---|---|
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]) by inbox.dpdk.org (Postfix) with ESMTP id 7A4DF43DCA; Tue, 2 Apr 2024 22:09:05 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B6AC9402DD; Tue, 2 Apr 2024 22:08:59 +0200 (CEST) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id 64CF240272 for <dev@dpdk.org>; Tue, 2 Apr 2024 22:08:57 +0200 (CEST) Received: by linux.microsoft.com (Postfix, from userid 1086) id 4E66D20E8BFB; Tue, 2 Apr 2024 13:08:56 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 4E66D20E8BFB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1712088536; bh=vnKVYkniuT1rsVrVIbFjvaCdCx6U8cwx1NIqMnp8vIw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hEFV371aK7TokQWJelFRZaMxNcdRYkALbcpfycRpLdtDeHs28eitXwKfy10abAQa1 2W0tJ0dCe4u8jcE6L3volmyTHIUt/JWDQ0YXp/Qkd/45aPOhy828WdQ1aYoJS9dtAe AYMXCxXXz1D/JJ0f5vyHfMNNFvoqjFixirH4UOvs= From: Tyler Retzlaff <roretzla@linux.microsoft.com> To: dev@dpdk.org Cc: Ajit Khaparde <ajit.khaparde@broadcom.com>, Andrew Boyer <andrew.boyer@amd.com>, Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>, Bruce Richardson <bruce.richardson@intel.com>, Chenbo Xia <chenbox@nvidia.com>, Chengwen Feng <fengchengwen@huawei.com>, Dariusz Sosnowski <dsosnowski@nvidia.com>, David Christensen <drc@linux.vnet.ibm.com>, Hyong Youb Kim <hyonkim@cisco.com>, Jerin Jacob <jerinj@marvell.com>, Jie Hai <haijie1@huawei.com>, Jingjing Wu <jingjing.wu@intel.com>, John Daley <johndale@cisco.com>, Kevin Laatz <kevin.laatz@intel.com>, Kiran Kumar K <kirankumark@marvell.com>, Konstantin Ananyev <konstantin.v.ananyev@yandex.ru>, Maciej Czekaj <mczekaj@marvell.com>, Matan Azrad <matan@nvidia.com>, Maxime Coquelin <maxime.coquelin@redhat.com>, Nithin Dabilpuram <ndabilpuram@marvell.com>, Ori Kam <orika@nvidia.com>, Ruifeng Wang <ruifeng.wang@arm.com>, Satha Rao <skoteshwar@marvell.com>, Somnath Kotur <somnath.kotur@broadcom.com>, Suanming Mou <suanmingm@nvidia.com>, Sunil Kumar Kori <skori@marvell.com>, Viacheslav Ovsiienko <viacheslavo@nvidia.com>, Yisen Zhuang <yisen.zhuang@huawei.com>, Yuying Zhang <Yuying.Zhang@intel.com>, mb@smartsharesystems.com, Tyler Retzlaff <roretzla@linux.microsoft.com> Subject: [PATCH v9 0/4] remove use of RTE_MARKER fields in libraries Date: Tue, 2 Apr 2024 13:08:46 -0700 Message-Id: <1712088530-24948-1-git-send-email-roretzla@linux.microsoft.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1706657173-26166-1-git-send-email-roretzla@linux.microsoft.com> References: <1706657173-26166-1-git-send-email-roretzla@linux.microsoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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>, <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>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org |
Series |
remove use of RTE_MARKER fields in libraries
|
|
Message
Tyler Retzlaff
April 2, 2024, 8:08 p.m. UTC
As per techboard meeting 2024/03/20 adopt hybrid proposal of adapting descriptor fields and removing cachline fields. RTE_MARKER typedefs are a GCC extension unsupported by MSVC. Remove RTE_MARKER fields. For cacheline{0,1} fields remove fields entirely and use inline functions to prefetch. Provide new rearm_data and rx_descriptor_fields1 fields in anonymous unions as single element arrays of with types matching the original markers to maintain API compatibility. Note: diff is easier viewed with -b due to additional nesting from unions / structs that have been introduced. v9: * provide narrowest possible libabigail.abignore to suppress removal of fields that were agreed are not actual abi changes. v8: * rx_descriptor_fields1 array is now constexpr sized to 24 / sizeof(void *) so that the array encompasses fields accessed via the array. * add a comment to rx_descriptor_fields1 array site noting that void * type of elements is retained for compatibility with existing drivers. * clean up comments of fields in rte_mbuf to be before the field they apply to instead of after. * duplicate alignas(RTE_CACHE_LINE_MIN_SIZE) into both legs of conditional compile for first field of cacheline 1 instead of once before conditional compile block. v7: * complete re-write of series, previous versions not noted. all reviewed-by and acked-by tags (if any) were removed. Tyler Retzlaff (4): net/i40e: use inline prefetch function mbuf: remove rte marker fields security: remove rte marker fields cryptodev: remove rte marker fields devtools/libabigail.abignore | 6 + doc/guides/rel_notes/release_24_03.rst | 8 ++ drivers/net/i40e/i40e_rxtx_vec_avx512.c | 2 +- lib/cryptodev/cryptodev_pmd.h | 5 +- lib/mbuf/rte_mbuf.h | 4 +- lib/mbuf/rte_mbuf_core.h | 200 +++++++++++++++++--------------- lib/security/rte_security_driver.h | 5 +- 7 files changed, 127 insertions(+), 103 deletions(-)