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 0BB8EA0C4A; Wed, 7 Jul 2021 10:23:33 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D0990406B4; Wed, 7 Jul 2021 10:23:32 +0200 (CEST) Received: from shelob.oktetlabs.ru (shelob.oktetlabs.ru [91.220.146.113]) by mails.dpdk.org (Postfix) with ESMTP id 3A0534069D for ; Wed, 7 Jul 2021 10:23:31 +0200 (CEST) Received: from [192.168.38.17] (aros.oktetlabs.ru [192.168.38.17]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by shelob.oktetlabs.ru (Postfix) with ESMTPSA id AC6457F463; Wed, 7 Jul 2021 11:23:30 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 shelob.oktetlabs.ru AC6457F463 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=oktetlabs.ru; s=default; t=1625646210; bh=B/r1/8PifgMWwsdajTljLJpLuZ2xa3K4H1iJO8aKr/U=; h=Subject:To:Cc:References:From:Date:In-Reply-To; b=wq4vC6ZzifbyVuQJuxLX1BmWeS5l13VXWkpG35O5xlWh4GfKA6xWHN3M23MR4Wgt3 JKbt0YcIO5huyN6PnDW5Evxi3sw9uFVheqmPJIE65vMo6Z9vpDG221L/rBTeoOR1CO hTyXeYWVKqelvknORkDfqsD2AOClGcifGHusHAZU= To: David Marchand , Dodji Seketeli Cc: Huisong Li , dev , Thomas Monjalon , "Yigit, Ferruh" , "Ananyev, Konstantin" , Ray Kinsella References: <1620460836-38506-1-git-send-email-lihuisong@huawei.com> <1625544608-30590-1-git-send-email-lihuisong@huawei.com> <966ec9cd-9142-b40d-b059-b63c8ece66bf@oktetlabs.ru> From: Andrew Rybchenko Organization: OKTET Labs Message-ID: Date: Wed, 7 Jul 2021 11:23:30 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH V2] ethdev: add dev configured flag 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" On 7/7/21 10:39 AM, David Marchand wrote: > On Tue, Jul 6, 2021 at 10:36 AM Andrew Rybchenko > wrote: >> >> @David, could you take a look at the ABI breakage warnings for >> the patch. May we ignore it since ABI looks backward >> compatible? Or should be marked as a minor change ABI >> which is backward compatible with DPDK_21? > > The whole eth_dev_shared_data area has always been reset to 0 at the > first port allocation in a dpdk application life. > Subsequent calls to rte_eth_dev_release_port() reset every port > eth_dev->data to 0. > > This bit flag is added in a hole of the structure, and it is > set/manipulated internally of ethdev. > > So unless the application was doing something nasty like highjacking > this empty hole in the structure, I see no problem with the change wrt > ABI. > > > I wonder if libabigail is too strict on this report. > Or maybe there is some extreme consideration on what a compiler could > do about this hole... I was wondering if it could be any specifics related to big- little endian vs bit fields placement, but throw the idea away... > Dodji? > > > For now, we can waive the warning. > I'll look into the exception rule to add. Thanks a lot. I'll hold on the patch for now.