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 BC6924307C; Wed, 16 Aug 2023 08:27:41 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D16F243251; Wed, 16 Aug 2023 08:27:37 +0200 (CEST) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2116.outbound.protection.outlook.com [40.107.223.116]) by mails.dpdk.org (Postfix) with ESMTP id A759F40693 for ; Wed, 16 Aug 2023 08:27:35 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Yx3vMtKHysv1C8C7jbE0VZA3caNEcE6Mpjf1nhw+wUdPKAlg3+HH42lJKq3QPy261wdDYumH/S3dzZBZRbrAwDsDRGn5QOaT6h20ulDnTyLl3O4MfGNnboWUu3HJT7tjhByAi66j3Rm+U7ZEig0g5/hmJZIlx4wQmz2MnuTV945Y4LN4nLQAmDIa0zoMx76hJia8OZxWRerVTCtht6negKOQvlL10igVt7ucOjWTv+U/ILwsILd4HdanR7hVzAkFvjvoUNsxdgxIX1+VtLrPgPNURn4K50aJZRbHpb7WyZ3GziwkEeXqBtjsiXv9s+WAgiP/4WtAbm9CPwbRO10oug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=GoOjQa6uo0m2/LbMaSBfyKrvZOPcuO3KKvo7WsQairs=; b=aI7vUUeD3woou/ZglqPiF52NEKAuRJB4fyUIgnYwz2oaE84grLsNxemQJBRt+PRncIWcnaLvy71L6yXG4ZQhLWL536WZfPqAguszsOp3819fZrik0n/6vDl04RdsLoiSB/qjNvVf5woG4ZyxqztkueAG047FMUEt2MRAEFb8Fg3J+t2ZaweCS0waKgm4dHOtZeZqfzpPyzDZxoDaiTAbW37749hgvXVsTn9Jy7+mnIoFOqFDarAn3ScZWm9tR84w2vF8aKUkcJyofa/3RlPpJh5qRsLUOl3sN4/xdZj/7Hnn18R2EP+idybc+/B5A1nQHP4UP+bnuMmJmkr6tIxilA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=corigine.com; dmarc=pass action=none header.from=corigine.com; dkim=pass header.d=corigine.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=corigine.onmicrosoft.com; s=selector2-corigine-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=GoOjQa6uo0m2/LbMaSBfyKrvZOPcuO3KKvo7WsQairs=; b=CiUxAs/UNoYmTTGDpRqPwoaIBANMC+S2anEWPB/QkXk4sjbsF/OSa3owyui7WkXdEYTCZuWOBu5ZuNjyn/gZMeTGQNMVso3oDV4nRO2RB9ZzTgCHAI/bg68uhoQwdm8mnKGYL9Opr7fVm31Y4m8jT2/6749/49tVrr6HSoHKNTo= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=corigine.com; Received: from SJ0PR13MB5545.namprd13.prod.outlook.com (2603:10b6:a03:424::5) by BY5PR13MB3812.namprd13.prod.outlook.com (2603:10b6:a03:21b::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6678.29; Wed, 16 Aug 2023 06:27:34 +0000 Received: from SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::51fe:5846:af8b:bace]) by SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::51fe:5846:af8b:bace%3]) with mapi id 15.20.6678.025; Wed, 16 Aug 2023 06:27:34 +0000 From: Chaoyong He To: dev@dpdk.org Cc: oss-drivers@corigine.com, niklas.soderlund@corigine.com, Long Wu , Chaoyong He Subject: [PATCH v5 1/2] ethdev: remove bonding deprecated macro Date: Wed, 16 Aug 2023 14:27:09 +0800 Message-Id: <20230816062710.2188087-2-chaoyong.he@corigine.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230816062710.2188087-1-chaoyong.he@corigine.com> References: <20230518084458.1531512-1-chaoyong.he@corigine.com> <20230816062710.2188087-1-chaoyong.he@corigine.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: BYAPR07CA0019.namprd07.prod.outlook.com (2603:10b6:a02:bc::32) To SJ0PR13MB5545.namprd13.prod.outlook.com (2603:10b6:a03:424::5) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ0PR13MB5545:EE_|BY5PR13MB3812:EE_ X-MS-Office365-Filtering-Correlation-Id: e4ad2faf-9281-4da3-fb45-08db9e21e05b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Kt4com84FgLLO/JZVRtkdveqQE3O0A8waPKhM5z1nYy/EFMNigIUsKYZhKo/Po3sjTUHCn92mGQ0JM6H4IEqz2lS/9jVR2okXDbf4iws/EOPzmnyk8Njr0Wq5Fo6TYWKfeQ86/8Jmpr46OH54Gyip/lwOdYHqgifGz2ZaHfzpKkFLrXjX7i1L8MZe4X7Bpt6nxxM/DoifHbvxUBTIuxzw5+Yjx52jJMKRuTAXzHH6bXcre9eGxtzg7uUBZbD7n76YsgoGfj1XWuViQtjN3oKe/O6o/zI3O+lSWTNvtngIoJwGPGoKMCCqf+fdZrEsu+subAaAv2Ts0RPNO8R7VEPjaXmHYgNh01WVOUv5a0PNuwuScpionCTL70vwon/7pWJhVTSAexPLcoJ/i2BUQIYNPVhify83Z8SOV5N2e47mqhHY+2wDFIJFuUR5wmKfPtvldjWFbX4wasRVK8FhjLP3rDbQmrOBJvGqazhRnIwF/onS6oKOdGvY1mhE7aZ0HgQWhGucZVs1toe3y3P6GOA1PUesM7nX2UIFdjjwYJ4GmrbXnIPo7mNDuy4If2FNbfV8POYleY9cumxhIXatBDPxR78ukgYadFvIu9LpGMmKvnJol9iXcD1yekksz9klvP5+rvrNCg9jxQ69XFmnMY1xrytPQn2aCnOfvvNfIjO8jqvYeO/GtC7Eqe6Iaz/oufNgWs/p2y4NfGuYm1AJZithA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR13MB5545.namprd13.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(136003)(39830400003)(376002)(366004)(346002)(396003)(1800799009)(451199024)(186009)(316002)(66946007)(54906003)(66476007)(66556008)(6916009)(12101799020)(41300700001)(5660300002)(44832011)(8936002)(8676002)(38100700002)(38350700002)(4326008)(2906002)(83380400001)(26005)(478600001)(86362001)(6512007)(107886003)(6506007)(52116002)(6666004)(1076003)(36756003)(6486002)(2616005); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?UKCD9kOlJ1Y9Cv//FZgb98IVKe1Izpo3Ha5n9cjrMOW4irVqfeSUAJBezwFQ?= =?us-ascii?Q?x32+ctBuAyLVHSa5NykMWt5qy+wOhJThc3wTC6J/F/22AxdYbmVvquLEzfrf?= =?us-ascii?Q?4yXmUanE0IHDMo6PefzkYjr74iYNH2/ByTpF6vo0oBp98MGIyenSFPzUXD9/?= =?us-ascii?Q?xOqWc0JsmuKrBypv5tA4IO0w/xitPcZZfcY8a4kzOCK9xrXB3cGbWC+Ha6J1?= =?us-ascii?Q?IxASTII0eHrZOh1WBDrVgI+g8ZTWTe0pthVwh7QTaPSRa6k6yxi+r5l9RkWH?= =?us-ascii?Q?I5Uc43lj0ToOUfLnzasm2dcjRtxVGkRqSdA/5H7yurTvO14QIprZcMborI9G?= =?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PQwV2I8KvNVY0kA257B1PACjkEYhQL8/H2P?= =?us-ascii?Q?/q50dIU+UnOqEh3ZnbhvFMeIYOiOFWJYJGVHQOCScRNB6qz6H9jAw2HIQkBi?= =?us-ascii?Q?qhnSXl0ADUfofrMZOi5YAvz9i1C9fJLatLRFqDFYC7xDf65RogyGzxbGIVv2?= =?us-ascii?Q?AHJCErHvKD/sybCEGjMRYVJMHG/5FolxsX2ZDtJBTB8Vbihl5njVs5lMfK6Z?= =?us-ascii?Q?beO7mBP0U654FCwxtRy3DR8svRtHwKPrYRG9M6lkSSjvNHdvKycNGN+c4h9q?= =?us-ascii?Q?dQ+d7eCNJGOVQGl7xAK+5nt0lQMt3sCYNjsBmEc90b98nkw4s4EgzSHwbEjR?= =?us-ascii?Q?9mz2YXAalnduBARdjMteYmUrE13edQSxeLaQJMdS2G3SvCimM0bJlhdwd9fz?= =?us-ascii?Q?uA=3D=3D?= X-OriginatorOrg: corigine.com X-MS-Exchange-CrossTenant-Network-Message-Id: e4ad2faf-9281-4da3-fb45-08db9e21e05b X-MS-Exchange-CrossTenant-AuthSource: SJ0PR13MB5545.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Aug 2023 06:27:34.0968 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: fe128f2c-073b-4c20-818e-7246a585940c X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: I6T9ulJtfoKJp1OOXlTXAohDcc5fGoAbJuukZVIKhoJGU8dAJH4k++3rBwItMTOkv49Mw8kD4jgY4kmjybww1JdV0tfZojP0VdKCFsAlz5E= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR13MB3812 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 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 */ -- 2.39.1