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 4042343089; Thu, 17 Aug 2023 04:28:09 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BD38240ED8; Thu, 17 Aug 2023 04:28:08 +0200 (CEST) Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by mails.dpdk.org (Postfix) with ESMTP id 7FEAE40685 for ; Thu, 17 Aug 2023 04:28:06 +0200 (CEST) Received: from kwepemm600004.china.huawei.com (unknown [172.30.72.54]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4RR84h4rGrzVkQs for ; Thu, 17 Aug 2023 10:25:56 +0800 (CST) Received: from [10.67.103.231] (10.67.103.231) by kwepemm600004.china.huawei.com (7.193.23.242) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.31; Thu, 17 Aug 2023 10:28:02 +0800 Message-ID: <969521c2-758c-2122-95b6-b29f172857d1@huawei.com> Date: Thu, 17 Aug 2023 10:28:02 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 Subject: Re: [PATCH v5 1/2] ethdev: remove bonding deprecated macro To: References: <20230518084458.1531512-1-chaoyong.he@corigine.com> <20230816062710.2188087-1-chaoyong.he@corigine.com> <20230816062710.2188087-2-chaoyong.he@corigine.com> From: "lihuisong (C)" In-Reply-To: <20230816062710.2188087-2-chaoyong.he@corigine.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.67.103.231] X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) To kwepemm600004.china.huawei.com (7.193.23.242) X-CFilter-Loop: Reflected 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 在 2023/8/16 14:27, Chaoyong He 写道: > From: Long Wu > > The macro RTE_ETH_DEV_BONDED_SLAVE was marked as deprecated in v23.07, > we can remove it. > > Signed-off-by: Long Wu > Reviewed-by: Chaoyong He > --- > doc/guides/rel_notes/deprecation.rst | 5 +---- > doc/guides/rel_notes/release_23_11.rst | 2 ++ > lib/ethdev/rte_ethdev.h | 1 - > 3 files changed, 3 insertions(+), 5 deletions(-) > > diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst > index 317875c505..82455f9e18 100644 > --- a/doc/guides/rel_notes/deprecation.rst > +++ b/doc/guides/rel_notes/deprecation.rst > @@ -124,10 +124,7 @@ Deprecation Notices > The legacy actions should be removed > once ``MODIFY_FIELD`` alternative is implemented in drivers. > > -* bonding: The macro ``RTE_ETH_DEV_BONDED_SLAVE`` will be > - deprecated in DPDK 23.07, and removed in DPDK 23.11. > - The relevant code can be updated using ``RTE_ETH_DEV_BONDING_MEMBER``. > - The data structure ``struct rte_eth_bond_8023ad_slave_info`` will be > +* bonding: The data structure ``struct rte_eth_bond_8023ad_slave_info`` will be > renamed to ``struct rte_eth_bond_8023ad_member_info`` in DPDK 23.11. > The following functions will be removed in DPDK 23.11. > The old functions: > diff --git a/doc/guides/rel_notes/release_23_11.rst b/doc/guides/rel_notes/release_23_11.rst > index 4411bb32c1..2fae9539e2 100644 > --- a/doc/guides/rel_notes/release_23_11.rst > +++ b/doc/guides/rel_notes/release_23_11.rst > @@ -87,6 +87,8 @@ Removed Items > > * eal: Removed deprecated ``RTE_FUNC_PTR_OR_*`` macros. > > +* ethdev: Removed deprecated macro ``RTE_ETH_DEV_BONDED_SLAVE``. > + > * flow_classify: Removed flow classification library and examples. > > * kni: Removed the Kernel Network Interface (KNI) library and driver. > diff --git a/lib/ethdev/rte_ethdev.h b/lib/ethdev/rte_ethdev.h > index 04a2564f22..a6bf7c16cf 100644 > --- a/lib/ethdev/rte_ethdev.h > +++ b/lib/ethdev/rte_ethdev.h > @@ -2038,7 +2038,6 @@ struct rte_eth_dev_owner { > #define RTE_ETH_DEV_INTR_LSC RTE_BIT32(1) > /** Device is a bonding member */ > #define RTE_ETH_DEV_BONDING_MEMBER RTE_BIT32(2) > -#define RTE_ETH_DEV_BONDED_SLAVE RTE_DEPRECATED(RTE_ETH_DEV_BONDED_SLAVE) RTE_ETH_DEV_BONDING_MEMBER > /** Device supports device removal interrupt */ > #define RTE_ETH_DEV_INTR_RMV RTE_BIT32(3) > /** Device is port representor */ Acked-by: Huisong Li