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 0388E42E70; Fri, 14 Jul 2023 10:16:03 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 26A5542BAC; Fri, 14 Jul 2023 10:15:53 +0200 (CEST) Received: from NAM04-DM6-obe.outbound.protection.outlook.com (mail-dm6nam04on2130.outbound.protection.outlook.com [40.107.102.130]) by mails.dpdk.org (Postfix) with ESMTP id 9011140685 for ; Fri, 14 Jul 2023 10:15:50 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AcjGdQ7Z9r8P30Vxmkb0bS3cyxztw/VrecEJO5/9SFWn0h43qW1PLzh27/uO6/R3JlrXFYZOcwC+aByiKTrbBsh1cl6j4iMXZporQm3YgextpNA3BqYzPLxnji9p405Ctexh/qFQbyYFyEumsaZlqGjmPe0TKwIdkirEfIkI6iNMt874mCsqvYL+wJxLK1prasMdt/ZYr0GKPsRBpzDONTHBhNu58qSV+cdp2fibyBrwxqd198Dv221N5+DmpiljzpebOZTrl5uVqsOFjr1p/XSWVWcRBrIl4gTZPVsG+Qlo1+OWCha704OmkUYpfrPbPqkaSsVmpyAXxVOoe6GwPQ== 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=lDJneSsTzIFQq/tcbVY+IV5W2eGYGbPTLEcOET9aYR0=; b=Ra6GZAJRRA9/J6D61gSR6u5u93Q2LLphC0Cjd3ROH3eckVPAvl9QTRjE04RjWntjA80U4PbNyXfRPSrgIlfvTXIUw4Tb5hton57cqCXFU6nv/hqmdRzVi72UU9TB0dFUfqrU4I+Jj1Yb/GbiA7sL6uM3shhWitUrtf1vgVXKfZRJhMIi9ixUE2GP4OgTE6qfpDX1U+7Ggj7ku7T8SpDwsnXRCxKtF4CfUWJ1EdMnylDmAvnYZAyWcTz8dQCKs68cd9hH3LWKboJYoUenZFUv9SNQKH7qmgUFwe729MidyeJblp5PSVDqon+UzknOB73XHht9KP6Mayd3klgOFn+uZg== 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=lDJneSsTzIFQq/tcbVY+IV5W2eGYGbPTLEcOET9aYR0=; b=sc5HQjYFW4WWLMalU3JMEy65vKpAOVngJByJzyQG7kaI5R/Yh4WgSa0NNnDeUNvbJEp7ir1PSgwLxNEQvN4RMAJo99L7W3z2Dhgjh3vQZ/nySfbZ5s9r0qVas9dCBbvkKGws2xB5kFWiIqqy9prA0yJJCEf+6D8sxYDSB0GJlns= 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 SA0PR13MB6001.namprd13.prod.outlook.com (2603:10b6:806:152::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6588.27; Fri, 14 Jul 2023 08:15:49 +0000 Received: from SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::d2cb:a650:e1ce:2174]) by SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::d2cb:a650:e1ce:2174%4]) with mapi id 15.20.6588.027; Fri, 14 Jul 2023 08:15:49 +0000 From: Chaoyong He To: dev@dpdk.org Cc: oss-drivers@corigine.com, niklas.soderlund@corigine.com, Chaoyong He Subject: [PATCH 2/3] doc: announce bonding data change Date: Fri, 14 Jul 2023 16:15:25 +0800 Message-Id: <20230714081526.1277786-3-chaoyong.he@corigine.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230714081526.1277786-1-chaoyong.he@corigine.com> References: <20230714081526.1277786-1-chaoyong.he@corigine.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SJ0PR13CA0240.namprd13.prod.outlook.com (2603:10b6:a03:2c1::35) To SJ0PR13MB5545.namprd13.prod.outlook.com (2603:10b6:a03:424::5) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ0PR13MB5545:EE_|SA0PR13MB6001:EE_ X-MS-Office365-Filtering-Correlation-Id: 5d79b43f-b235-48ff-004f-08db844287fd X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 5OvocYMI/AvdARuQCtq2vdOMvfaJP4mGuL21btjY3AM+Q9v7WA81re80uFKDW0uJ6FWzTs901YOJcF1dM+FtGFL4hmVvj8TAOP77yILw5RsNMv0kW0Ad8eOF7+5CO1AAuGtue8TwwhF7+ebil4xHJ3qllDJL1DsREdrEFPUgUQXbHNZkypot5f0gpwgn0+T3Q3KcG3IqW12+mLUBMWeXQm6fMX62DAY7BT3TvLcrrkDRNlMkbUgLhWoIMb7+pt4Xi49IMwxIKR6loUywMzrCP8wlP7JN9o0bVm/VZyB0ZEvsWZp9evvY+U2DQhLrp6HT1cEszI2CV+d6bLZTIrxrLfCok6R4b8UdYqGfb72HZGqWwb0XwJxAj0YvAesHwMGxwZg8RLh7lMA4KXlIgNtnRjv36vtRkHtJrQTP5M+6ku2r6r4TVgizG30pzkxs+7wJZbFqZgVl4DKlnDdfPcph+rh6DFvzCeOSmSNiTqfQci/t4Oy608FNTJ63VRaqZtzqBrXR/TD+lMTSONfM6BqwOuAWI7dR4LXAlG+gUjmuoLrcaiLTTHAf4GxVRU7QukXY/j3TBzFIekJ4goQaKpHjzG4ZVfL1Ctn+WitxOfhYMjckTEsr0fK2L2xI054Uz0oy73vykgRQZXNJBPGMaviG2vJytD6YX3fpF1spHUHygMI= 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:(13230028)(4636009)(136003)(396003)(39840400004)(366004)(346002)(376002)(451199021)(2906002)(38100700002)(38350700002)(6512007)(83380400001)(2616005)(186003)(107886003)(26005)(1076003)(6506007)(5660300002)(86362001)(8676002)(8936002)(44832011)(36756003)(478600001)(41300700001)(6486002)(52116002)(6666004)(316002)(4326008)(6916009)(66476007)(66556008)(66946007); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?mVsywh0U+7Vo6qIqp3extSEHxhQKegjrra05U54ziF0vjkm+9yReamCBfAdu?= =?us-ascii?Q?RGLWlmkZ3DNGsbO5SrGHOLED2ipnjkUv6kJhxfJR+cLRmzOQAkyhXAGjgGAR?= =?us-ascii?Q?AXH1xAx7rwpuPj/qgRLr1obMAEKIzl1baEHqEXRGmwrBlYFErwO38uh2JyF/?= =?us-ascii?Q?q2suj+uo5lIa/zEuEMjZmwlr4WyWqiNppRwyOae4Z1NiOOqj5pDONxTSEiGy?= =?us-ascii?Q?h+kxpxgE151oi4WuIYAHaxQoNSb1A1Ar3ggDsIFJ9KILp7Cjs5YCjAhUXkQy?= =?us-ascii?Q?U7/ejXqy2w+Sr2O3yNA+JknYemI7rA2gpkC9n/dCckXIH12NmIFFv39EhmeR?= =?us-ascii?Q?F54mdhaxYKvW2lj7E/OtsvGPtign9pdh2My1FwvTuQerIilo55hZ1adeEN6v?= =?us-ascii?Q?nM92H9h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5lf/SQjW8obd?= =?us-ascii?Q?6UmWFVlZ35mr6CBv+CSvBWNCV0Q2DSLTAb84ZhfaAfOxE1fhBG5KWIR4iEk7?= =?us-ascii?Q?OkbLBKsu4gmpAH+2kvge8u1MXzgtEMQVpoPtWhS/TXbPK59yxL0dYlZbcl9X?= =?us-ascii?Q?6OnkzUm0UozA5kmOEc3j4BwKRaPUTMDErAxNavZvtppAWnWxdPl7gXG8dgGX?= =?us-ascii?Q?5PwKctkhp/NTcn4ogjj4/fk/DgvGeN46NxO41Uz4/Ob6JEswQxrnF4gJvLrM?= =?us-ascii?Q?oCiZ8Tb5Id41lJpfR9esjsoYfFvdxiFmMurOp1gV/f6HInyz4pbL9aKJF7xn?= =?us-ascii?Q?7g=3D=3D?= X-OriginatorOrg: corigine.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5d79b43f-b235-48ff-004f-08db844287fd X-MS-Exchange-CrossTenant-AuthSource: SJ0PR13MB5545.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Jul 2023 08:15:49.0215 (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: 4kKyU44NivC7J5NfC133VKYFljmTlTDSX5RSHAgVsFGP1sd6KPvOZ/tGHBR79YKsq5vgQbh4+v+x6oCIFjEdU7/btCb3dOQzqtcqmXPq6PU= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA0PR13MB6001 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 In order to support inclusive naming, the data structure of bonding 8023 info need to be renamed. Do this through deprecation process now for 23.07. Signed-off-by: Chaoyong He --- doc/guides/rel_notes/deprecation.rst | 3 +++ drivers/net/bonding/rte_eth_bond_8023ad.c | 2 +- drivers/net/bonding/rte_eth_bond_8023ad.h | 4 ++-- drivers/net/bonding/rte_eth_bond_pmd.c | 4 ++-- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst index c9477dd0da..5b16b66267 100644 --- a/doc/guides/rel_notes/deprecation.rst +++ b/doc/guides/rel_notes/deprecation.rst @@ -165,3 +165,6 @@ Deprecation Notices * 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 + deprecated in DPDK 23.07, and removed in DPDK 23.11. The relevant code can be + updated using ``struct rte_eth_bond_8023ad_member_info``. diff --git a/drivers/net/bonding/rte_eth_bond_8023ad.c b/drivers/net/bonding/rte_eth_bond_8023ad.c index 4a266bb2ca..49f22ffab1 100644 --- a/drivers/net/bonding/rte_eth_bond_8023ad.c +++ b/drivers/net/bonding/rte_eth_bond_8023ad.c @@ -1518,7 +1518,7 @@ rte_eth_bond_8023ad_setup(uint16_t port_id, int rte_eth_bond_8023ad_slave_info(uint16_t port_id, uint16_t slave_id, - struct rte_eth_bond_8023ad_slave_info *info) + struct rte_eth_bond_8023ad_member_info *info) { struct rte_eth_dev *bond_dev; struct bond_dev_private *internals; diff --git a/drivers/net/bonding/rte_eth_bond_8023ad.h b/drivers/net/bonding/rte_eth_bond_8023ad.h index 7ad8d6d00b..ab6d0182a9 100644 --- a/drivers/net/bonding/rte_eth_bond_8023ad.h +++ b/drivers/net/bonding/rte_eth_bond_8023ad.h @@ -141,7 +141,7 @@ struct rte_eth_bond_8023ad_conf { enum rte_bond_8023ad_agg_selection agg_selection; }; -struct rte_eth_bond_8023ad_slave_info { +struct rte_eth_bond_8023ad_member_info { enum rte_bond_8023ad_selection selected; uint8_t actor_state; struct port_params actor; @@ -195,7 +195,7 @@ rte_eth_bond_8023ad_setup(uint16_t port_id, */ int rte_eth_bond_8023ad_slave_info(uint16_t port_id, uint16_t slave_id, - struct rte_eth_bond_8023ad_slave_info *conf); + struct rte_eth_bond_8023ad_member_info *conf); #ifdef __cplusplus } diff --git a/drivers/net/bonding/rte_eth_bond_pmd.c b/drivers/net/bonding/rte_eth_bond_pmd.c index 73205f78f4..0a595d427c 100644 --- a/drivers/net/bonding/rte_eth_bond_pmd.c +++ b/drivers/net/bonding/rte_eth_bond_pmd.c @@ -3471,7 +3471,7 @@ dump_lacp_port_param(const struct port_params *params, FILE *f) } static void -dump_lacp_slave(const struct rte_eth_bond_8023ad_slave_info *info, FILE *f) +dump_lacp_slave(const struct rte_eth_bond_8023ad_member_info *info, FILE *f) { char a_state[256] = { 0 }; char p_state[256] = { 0 }; @@ -3520,7 +3520,7 @@ dump_lacp_slave(const struct rte_eth_bond_8023ad_slave_info *info, FILE *f) static void dump_lacp(uint16_t port_id, FILE *f) { - struct rte_eth_bond_8023ad_slave_info slave_info; + struct rte_eth_bond_8023ad_member_info slave_info; struct rte_eth_bond_8023ad_conf port_conf; uint16_t slaves[RTE_MAX_ETHPORTS]; int num_active_slaves; -- 2.39.1