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 2D8C44307C; Wed, 16 Aug 2023 08:27:37 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BCF9340693; Wed, 16 Aug 2023 08:27:36 +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 5972C40041 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=Stu4WsPe/75FEEfAtnokAR3m2nLDySQHIU82fHVRuxlbgUzIkMJi2M5K1QYpDK7tOxPLSrORqLT5VcsNkiXk0u/UvuVE8bwKlwWQM7UQiKiLFaRug3+pwUMZ2OpXEhPhH7+M+GeP5B9FKG6mHTrS5kuPz02riIemTMU8We9b+5ItZxNDI6moz5JhYbdHEEjOvnK5N5jtrA/vFpWqq3LL/cgtukBT9qCGjbl1tq1uo+N+UVmSjuIUAPYA5fREytY9J7s/7gR6cMWYM59otbnoTVLps2mvi829kqm/310wSYAIoc2+6PXgLRlTFpDL2FsIRWlmKV1FW2WXQdbI/fpnHQ== 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=lPhJU1h3p6TNMU27LcQBb3h8tWuoKqnYcscisTKhVXE=; b=MYruYgBnlWRzgsp4QfU+02dWb96Zo3M0IqUBW3MIgM/87ZWdm+YSMlJwikEIji+fMiXd1h3ysbW/Mq04xEFSDLNGyXIf96WGSvCuPOdw40tDFOfgtZwrYV/l9U7l/bJq/R04h0e+kp4bNAu5RveD2wQlggR7Q8KiHSbQIsIMP/0rtsBfXm5w3U0ElpA6i0WmrG8GmxRKXRhujB7yQt/e3iWWUeH1CGnAK1vZy1wJp8oh4iPXf0ehhSNDFnY7XKQGpikSgRxsQoHO/vCArG4sCfntyegadF1JS+gvLgo2mhsJwB875+5bWyA8Fs5nGLaxbnkXXPZ4sGK0Mk0IzyhzjA== 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=lPhJU1h3p6TNMU27LcQBb3h8tWuoKqnYcscisTKhVXE=; b=hqaAvB5b0yzs6q0SmCSUpPy9ci4avGIsmWsmJRjbHWIQBuZUaDOTuHMMhJsFNzLj8jMjvpKqUelSEPDlkoSUGia9rBgowQbXfN7RnxTZV/lm7TEmNvPzxV/olzrHh4TOD89hXPt/ojTZJxthHMTDjSXdl/nZe39Ru8G8Dkbc+1E= 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:32 +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:32 +0000 From: Chaoyong He To: dev@dpdk.org Cc: oss-drivers@corigine.com, niklas.soderlund@corigine.com, Chaoyong He Subject: [PATCH v5 0/2] replace master/slave to main/member Date: Wed, 16 Aug 2023 14:27:08 +0800 Message-Id: <20230816062710.2188087-1-chaoyong.he@corigine.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230518084458.1531512-1-chaoyong.he@corigine.com> References: <20230518084458.1531512-1-chaoyong.he@corigine.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: 275ee498-ee62-4361-dda6-08db9e21df2a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: toefIZWOqcwWWrlq/L1FVP+5FhO+FSPLkqY9lxYFTVq2vGAydGqbrD99QxaxiaQuVv8/VBs0w9EuDXvVeCZvw2jq20rlVVl5fjUsF2wnVU/REDGpbko8c2nTKf4G72yC59H59VHwZCJlAyRgl1RXeePfiVo7qk5dTqLxZL2xoFTw1LGVdvtDsOQkg7fyxLU7Et3dnEdPSd1kde0PX6ElTH2mBH4mg778INRNOaYzOANLhT5eXqUODoO7XH0Z+y7JWSOL+bImQdaau3hTzBNMtIQVl3X5+UmMOPjrPy/tqrPrklKsNg1x1k7jKY1leyEz1UtlLO3MgQ0sAzMl8ouF4Gcbo3CQXfq9rTCHPsCPWBZk85SlR489SZIiwohEcK1QHq0mbAbR8C8UsqLFAM7y8cn0ihMePCnUB5vHJmfzBKBDg4oHiRKhi66TVB8+9S/PVWjIKiXfWgUnKu1PLLX7VTOQriWF6qWTuAIMf2avo1dK8jGgP+vs4/+lT91W/4muFhUwSjEK4SVSzqUK5bSMQW1CsVzAH1Kx36Qc+7QZ5Ibt/G8JfsJlHzR8t9LPGbqcWXI6GQCxgovFF2lxgyzh7F3UcCdrL4r9qu1x5GrmmdTymhCXlw83iCiWWzbw32lnJ6BaM8N99T4MVzbvrcpFIqzZhb4NugEx4Q0ZWXuyJuUd9euQ6kFqbB4TspX/otBTfM5UkLbZGUeEXmu5kDQUTw== 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)(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: =?utf-8?B?NFZPZ3FzeGVNL0xQYk50MzhnT3Qya2FTSE5aTjBxYlp0R0pYSklac3pUNmRj?= =?utf-8?B?VDdmWWxvUnJDVFhHWUt6aVgrN3dTU0NpeUVkTmNVMjU2ZDdSZWNZY0pGU21o?= =?utf-8?B?SXJzdXZybTE4ZDlKS0pQWFZ6ZDJJL0YrVWNENXNyZnArNktldGhocWx6VkZr?= =?utf-8?B?YUo2OEFrOVMwWDVCMExNMGhsa2dYYnhWUEdkWlZVQkUvcVloVnVEaFc4L1k4?= =?utf-8?B?WFJ3S2FDUjNlNEdubHFiZHBZVktmTkRRRE9qL2JGS1RVU2RMTEQ3aUFqdjlV?= =?utf-8?B?bkhGQ0wxdjZYYkkyRHEyNEVBRkpnN3psaVQvbUJveVllL0wxWWRLQnlGeUdm?= =?utf-8?B?eGFO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5aHovbEwwa0ZZM1BMKytlZ1BUMFRwaTM0?= =?utf-8?B?Rnc9PQ==?= X-OriginatorOrg: corigine.com X-MS-Exchange-CrossTenant-Network-Message-Id: 275ee498-ee62-4361-dda6-08db9e21df2a 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:32.2052 (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: vURveS6+hpJhcWejlsOzuAVC3Mw39oyYGs/0vxYCfl+izYvosOD/Vy8YLS4w02Xc9V56PKiJrG2vMk35YWPsOupkpiMMrrXpfzOAAeWJ1qE= 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 This patch series aims to replace all the master/slave to main/member in the bonding PMD. --- v5: * Rebase to DPDK v23.11. v4: * Fix the doc compile problem. v3: * Fix the check warning about 'CamelCase'. v2: * Modify related doc. * Add 'RTE_DEPRECATED' to related APIs. --- Long Wu (2): ethdev: remove bonding deprecated macro net/bonding: replace master/slave to main/member app/test-pmd/testpmd.c | 113 +- app/test-pmd/testpmd.h | 8 +- app/test/test_link_bonding.c | 2792 +++++++++-------- app/test/test_link_bonding_mode4.c | 588 ++-- app/test/test_link_bonding_rssconf.c | 166 +- doc/guides/howto/lm_bond_virtio_sriov.rst | 24 +- doc/guides/nics/bnxt.rst | 4 +- doc/guides/prog_guide/img/bond-mode-1.svg | 2 +- .../link_bonding_poll_mode_drv_lib.rst | 230 +- doc/guides/rel_notes/deprecation.rst | 19 - doc/guides/rel_notes/release_23_11.rst | 19 + drivers/net/bonding/bonding_testpmd.c | 178 +- drivers/net/bonding/eth_bond_8023ad_private.h | 40 +- drivers/net/bonding/eth_bond_private.h | 108 +- drivers/net/bonding/rte_eth_bond.h | 96 +- drivers/net/bonding/rte_eth_bond_8023ad.c | 372 +-- drivers/net/bonding/rte_eth_bond_8023ad.h | 67 +- drivers/net/bonding/rte_eth_bond_alb.c | 44 +- drivers/net/bonding/rte_eth_bond_alb.h | 20 +- drivers/net/bonding/rte_eth_bond_api.c | 482 +-- drivers/net/bonding/rte_eth_bond_args.c | 32 +- drivers/net/bonding/rte_eth_bond_flow.c | 54 +- drivers/net/bonding/rte_eth_bond_pmd.c | 1384 ++++---- drivers/net/bonding/version.map | 15 +- examples/bond/main.c | 40 +- lib/ethdev/rte_ethdev.h | 1 - 26 files changed, 3488 insertions(+), 3410 deletions(-) -- 2.39.1