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 263E6A034F; Mon, 11 Oct 2021 10:32:08 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A864A410DB; Mon, 11 Oct 2021 10:32:07 +0200 (CEST) Received: from new1-smtp.messagingengine.com (new1-smtp.messagingengine.com [66.111.4.221]) by mails.dpdk.org (Postfix) with ESMTP id 00473410DA for ; Mon, 11 Oct 2021 10:32:06 +0200 (CEST) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailnew.nyi.internal (Postfix) with ESMTP id 86DBB580B39; Mon, 11 Oct 2021 04:32:06 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Mon, 11 Oct 2021 04:32:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm2; bh= jwn0apPkLBBcPwVmAU23cDGfcaICEEEQZeBCKUtD978=; b=Y/VEbpgyD2C9BeYf 8O5l3ZzA6clI8z82vjLb6fhHMEWR5kXJHp8KBvexlwnTpddozACF/vcto2rXY2lm NGJ7H95bx1u31kRN2tKnum+pUwbxIJGSZpNUE0cPyA/F3Xm3f+VoA3g/8iEVx7MV fOONQw16R1EtfkhvxeZPBSJOo/oBSkhPQ9LzqTr/qs3Q8drd0SY6Xwv7Qw4wQH2y 0JGEeMNApG7BNcGdQStWrsr6A8wB2zaMUDqgGqnVQBh/bS59Gxzr3G1SUEoHDj1W OCwRqz53er7qnOH4M07NE09j/WWXIEY7miDQnaG0ilV09WAwc3zjHYLb4NGonFXA Ux+b6A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=jwn0apPkLBBcPwVmAU23cDGfcaICEEEQZeBCKUtD9 78=; b=Ah/BZOC+kvr2HrNsivxy5m8bqotwoUyZ8YVEGDr3PnFHF5+eOVAukrvx7 Ay407CYFxEgUUgv0YAm3gWD0/XrIZyuLoM1pf43a7ix+UdJYZZ3QgBfFsfMSbsp3 ml3To3a3Jx6etbWrdflizaUYJhYSuvhq3YugsJ1hEec8KDNTkER/VFZjSbCsrCal Y8XsyHVgA0LzTcpPE5P1sAYvwOVn6AndTwGc8Vg9HBX8nhRAgF0L41vbN98UdoGF g3bITpv9jyQO4MfaRtFzMZ//FuqKjjiW8NT+Vjq1vEj3/OTE7aAyn9LFFsgkB81M T86LL2JoxNpetyu8o7UwaMB7IroZA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrvddtiecutefuodetggdotefrodftvfcurf hrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug hrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghsucfo ohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucggtffrrg htthgvrhhnpedugefgvdefudfftdefgeelgffhueekgfffhfeujedtteeutdejueeiiedv ffegheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe hthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 11 Oct 2021 04:32:01 -0400 (EDT) From: Thomas Monjalon To: Akhil Goyal Cc: dev@dpdk.org, david.marchand@redhat.com, hemant.agrawal@nxp.com, anoobj@marvell.com, pablo.de.lara.guarch@intel.com, fiona.trahe@intel.com, declan.doherty@intel.com, matan@nvidia.com, g.singh@nxp.com, roy.fan.zhang@intel.com, jianjay.zhou@huawei.com, asomalap@amd.com, ruifeng.wang@arm.com, konstantin.ananyev@intel.com, radu.nicolau@intel.com, ajit.khaparde@broadcom.com, rnagadheeraj@marvell.com, adwivedi@marvell.com, ciara.power@intel.com, Stephen Hemminger , ray.kinsella@intel.com, bruce.richardson@intel.com Date: Mon, 11 Oct 2021 10:31:58 +0200 Message-ID: <2663373.9MILaYa0Np@thomas> In-Reply-To: <20211008204516.3497060-3-gakhil@marvell.com> References: <20210731181327.660296-1-gakhil@marvell.com> <20211008204516.3497060-1-gakhil@marvell.com> <20211008204516.3497060-3-gakhil@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2 3/3] security: add reserved bitfields 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 Sender: "dev" 08/10/2021 22:45, Akhil Goyal: > In struct rte_security_ipsec_sa_options, for every new option > added, there is an ABI breakage, to avoid, a reserved_opts > bitfield is added to for the remaining bits available in the > structure. > Now for every new sa option, these reserved_opts can be reduced > and new option can be added. How do you make sure this field is initialized to 0?