From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
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 <dev@dpdk.org>; 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: <xms:hvZjYURVqEyAxlkhzgqdgl0yt_fZ_74AxYwzkD3UZhUqHkl0kliOBg>
 <xme:hvZjYRyC7bq1_S7-yArUERwNqWurmpiXLkU_dMXaLI7221C2fBiXyEjaXEucX107N
 8bpvfZ6sz6wjpBP8w>
X-ME-Received: <xmr:hvZjYR3mNSsnTQAw8Rq1qRstrj1zepcAnkXzcPjNLY_Kkv_8s4kLRHwASY8F7q8KLOHy52bvVml1bANydVt7FK1smlQBW-3y7zNk-vcvb7k>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrvddtiecutefuodetggdotefrodftvfcurf
 hrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecuuegr
 ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug
 hrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghsucfo
 ohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucggtffrrg
 htthgvrhhnpedugefgvdefudfftdefgeelgffhueekgfffhfeujedtteeutdejueeiiedv
 ffegheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe
 hthhhomhgrshesmhhonhhjrghlohhnrdhnvght
X-ME-Proxy: <xmx:hvZjYYB0UGAJ39NtvGrTCVpm0o9BwZhFHUebrWglSxyBZv6lizh8jQ>
 <xmx:hvZjYdheMO3UOFVyQPo1jLsdOe2Ym9NUfu5D1wSF4QqyTRpEURlKeA>
 <xmx:hvZjYUoO1bLG-5LuHQrunPYbR04zyIFTfePRKa9_q8VyK827oOuJXQ>
 <xmx:hvZjYeYpImzDWYBFuiJ9y4bb12JopOfh8H-rTg9dH5xHY_UdeI9w4A>
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon,
 11 Oct 2021 04:32:01 -0400 (EDT)
From: Thomas Monjalon <thomas@monjalon.net>
To: Akhil Goyal <gakhil@marvell.com>
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 <stephen@networkplumber.org>,
 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 <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
Sender: "dev" <dev-bounces@dpdk.org>

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?