From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1410B43D0E; Wed, 27 Mar 2024 20:56:55 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5FC0D410E6; Wed, 27 Mar 2024 20:56:51 +0100 (CET) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id E30A9402B2 for ; Wed, 27 Mar 2024 20:56:48 +0100 (CET) Received: by linux.microsoft.com (Postfix, from userid 1086) id 19761208B336; Wed, 27 Mar 2024 12:56:48 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 19761208B336 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1711569408; bh=mo4PePncAh/ay+939MGLBKClUeWN4hrVy1b3pdYWc7Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bvq9cZ9gGLFOuAFfzH7YohYze/ZM17Fl5o1E5lNh5XPjAiTiHMXZWWKnzo/B/sXMl pvRPXuARB793jDVG0q/e9xi3SW+tFYnHC8aQFFWs43p2UjcrIoiEgo3u/lb88GpwWa yuo54oFaM+o9LEN2OKpyp3/PLsH1byR3dRkJ4sPk= From: Tyler Retzlaff To: dev@dpdk.org Cc: Ajit Khaparde , Andrew Boyer , Andrew Rybchenko , Bruce Richardson , Chenbo Xia , Chengwen Feng , Dariusz Sosnowski , David Christensen , Hyong Youb Kim , Jerin Jacob , Jie Hai , Jingjing Wu , John Daley , Kevin Laatz , Kiran Kumar K , Konstantin Ananyev , Maciej Czekaj , Matan Azrad , Maxime Coquelin , Nithin Dabilpuram , Ori Kam , Ruifeng Wang , Satha Rao , Somnath Kotur , Suanming Mou , Sunil Kumar Kori , Viacheslav Ovsiienko , Yisen Zhuang , Yuying Zhang , mb@smartsharesystems.com, Tyler Retzlaff Subject: [PATCH v8 0/4] remove use of RTE_MARKER fields in libraries Date: Wed, 27 Mar 2024 12:56:42 -0700 Message-Id: <1711569406-7750-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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org 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. 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 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 +- 6 files changed, 121 insertions(+), 103 deletions(-) -- 1.8.3.1