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 9532AA0524; Mon, 19 Apr 2021 18:15:40 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 78419413B0; Mon, 19 Apr 2021 18:15:40 +0200 (CEST) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by mails.dpdk.org (Postfix) with ESMTP id CB78D41390 for ; Mon, 19 Apr 2021 18:15:38 +0200 (CEST) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 39B865C01D6; Mon, 19 Apr 2021 12:15:38 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Mon, 19 Apr 2021 12:15:38 -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=fm1; bh= qUHUD7pU45bnupsvgpJh/p2d2qdRyDB05fVFr21NJcE=; b=noN3EK8ZBMdP2CcX VDUktA/UBoTf7SXTeHyobeZVvYgwR/rO73ngkQ8e260aPWeQWR5H07TNX1Fpp203 xqhKBTHQ6FH8US4/LPZ2aDsGBZ7rglt0//IzT3bEmsTXUxwG0+j1LVsx4hrkLbh1 IhqedM4pd0F/2WlfWROahlBt8Ck04gGVPoMsU9W8cF5aja88wGG9UaI3kbYmrx7j w+BRYY7dI3OR9siawWPgu1T3e23ED+D/GqufuGIcnUkeW3cWgkpAYMACYko38zCp dQstHB8yCq3aKPIGqaH2WWvfZm/4xeOOjfMrlD5zUok9alaHhXUMJpIh1o/K3VWP oLjTtA== 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=fm2; bh=qUHUD7pU45bnupsvgpJh/p2d2qdRyDB05fVFr21NJ cE=; b=MTgw7Uha1m0i1+tjoUg/GQgoh05n2qitOxXrHcXDYYtQ9nJi+Ht2YZANS CYj6xjwm5tjzoDxnhCgy8L1Y2wdmwCwszKRho6uQf8iBuOAjUW7rNRa8g2oKOSya gvrrsYJFeYNDGlVROhUCSIS8HLAKTn6PG7L5vEXho8fpfK0qTNDaMGDc0ISQik/+ qWyWo2cYPmo2kMBf3TVxks3Ov1YKLZyVor2IvR6aR52Ov849yYJO1qHhI9GXve1+ Rhcak96i+U6sPCNGzn78pq8Agrk1uIVMsywf/jM5jQLBpsTA5Q3Q5lZAivxk+xTd mHEZX2eFAblknU2+HupCQ6poqkIDw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvddtgedguddttdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpedugefgvdefudfftdefgeelgffhueekgfffhfeujedtteeutdej ueeiiedvffegheenucfkphepjeejrddufeegrddvtdefrddukeegnecuvehluhhsthgvrh fuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgr lhhonhdrnhgvth X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id A3FFB108005B; Mon, 19 Apr 2021 12:15:36 -0400 (EDT) From: Thomas Monjalon To: Xueming Li Cc: dev@dpdk.org, Harris James R , Gaetan Rivet , Ray Kinsella Date: Mon, 19 Apr 2021 18:15:34 +0200 Message-ID: <1967339.MTWfq4Xfbs@thomas> In-Reply-To: <20210417151532.12628-1-xuemingl@nvidia.com> References: <20210417151532.12628-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] devargs: backup entry when inserting duplicated item 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" 17/04/2021 17:15, Xueming Li: > When insert devargs that already in list, existing one was reset and > replaced completely by new once, the entry info was lost during copy. > > This patch backups entry info before copy. > > Fixes: 64051bb1f144 ("devargs: unify scratch buffer storage") > Reported-by: Jim Harris > Signed-off-by: Xueming Li Applied, thanks