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 D488841D30; Tue, 21 Feb 2023 16:02:39 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C493A431F8; Tue, 21 Feb 2023 16:02:39 +0100 (CET) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2103.outbound.protection.outlook.com [40.107.243.103]) by mails.dpdk.org (Postfix) with ESMTP id E6EBA40395 for ; Mon, 20 Feb 2023 10:46:25 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TUg8/LamVCxap7tTVsBzvtc39gvJxuKG4IdwaMn1/+OSWp0FCL4xqmYyyqVcuqDBRh1IByjBj7K4FLOU9zX73kBxKjLudxq4Tvz59Qt3o9bA83x2WvJ+gkpsID0f0Txdw6NiZDln8pS+MmdtQhoV7qa638NxhzgqXIfqXCYxZcBqU0F8+Oq0C8rTEuJejWCbn+r7F9+L4t7kgnymWFuu0gAwXepTfKD5X54iXGllTd1evRay/8BGdW9FKJ4POTrJnqqkLOtJ63OrEcrUhIDV5njK6VL48hr9KcPu3ZCW7pJgGrPvOOkUXPV4C/ZEYF5mYdNFEdSGJglepwp5gX2zjA== 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=2O19I8qXtQ56TfNba9Bdb5jyM1L6du3DspAoIfzGxbE=; b=c0ztqKkI6YuoEW/HOI4ujkrlkghvN1Y14YsO0B2UtXFauNQcjXfgeyqPTYaCffj+hAeHfbPfqP9ANCgzRm23t6szDcYaBHGxKCo7620NRtn/1/dqtzPCOGfXM0fqAuTo2sxpNu582qwjrBbP6oP1nP/JM8bApYfR9uDFC4SzUXsF/Zy2K4wW9n9YT0iNK+tDG12YnJn8PBEpMnSTg43X6Pv3qdv5BrPXC5hsD867KmZ4wXOPSn3h7sdYNJLHAqW9e0hqFQ7+KUzKB6L+B2bPIcxNDpE3CdNLYR+Nlfblh9R+GdSdnE1Z59L8jpkShrhQz8ZiGUfmLEPZn3Yup85BMQ== 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=2O19I8qXtQ56TfNba9Bdb5jyM1L6du3DspAoIfzGxbE=; b=mbySGpGdNaJpdJLIn4gv8Tx+C/gOsubJDN440BRctV2HnptQYb8uPsBXSs/c2z3Mom6dSbGFFbjAIGqeCcc1ABczwtrQarWa5dkBDgFYv8dHuCxgql//FlYl7u+xKkn6J+0Bv6Bri06ranNHun8OlyShCw3Qfu/PWYX11c+sTv8= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=corigine.com; Received: from PH0PR13MB4842.namprd13.prod.outlook.com (2603:10b6:510:78::6) by SN4PR13MB5278.namprd13.prod.outlook.com (2603:10b6:806:205::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6111.13; Mon, 20 Feb 2023 09:46:22 +0000 Received: from PH0PR13MB4842.namprd13.prod.outlook.com ([fe80::85f5:bdb:fb9e:294c]) by PH0PR13MB4842.namprd13.prod.outlook.com ([fe80::85f5:bdb:fb9e:294c%9]) with mapi id 15.20.6111.019; Mon, 20 Feb 2023 09:46:22 +0000 Date: Mon, 20 Feb 2023 10:46:16 +0100 From: Simon Horman To: Stephen Hemminger Cc: Chaoyong He , dev@dpdk.org, oss-drivers@corigine.com, niklas.soderlund@corigine.com, Long Wu Subject: Re: [PATCH 1/2] net/bonding: add independent LACP sending function Message-ID: References: <20230216071514.29418-1-chaoyong.he@corigine.com> <20230216071514.29418-2-chaoyong.he@corigine.com> <20230216114727.561e8abf@hermes.local> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230216114727.561e8abf@hermes.local> X-ClientProxiedBy: AS4P189CA0029.EURP189.PROD.OUTLOOK.COM (2603:10a6:20b:5db::20) To PH0PR13MB4842.namprd13.prod.outlook.com (2603:10b6:510:78::6) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH0PR13MB4842:EE_|SN4PR13MB5278:EE_ X-MS-Office365-Filtering-Correlation-Id: 72eb1343-17f4-4cea-a1c5-08db132752e3 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: dCLOgzWyzRL7A2vShfY3pW2FJV3GU3uHh2uted5aGVW6v/p42g/KGChDmivcdGcA/W/PUqKtMTbK5pFa5OwlQcLL9zWby4rLu07GFvav97GXLrN27zYNZh/UusHiNnxzcYzwD795moiu14NctkhEtFMwsB01uLf3y2mDfm0sLsT7gFZciwxtdbi9dBn75+8fcFl4Ab33ozNoGFhps9bED3FTnFXbfNOexZQaHoeX9cs5FFcA9YA9Hhh3Ii8gSqRji4+u+n737aZtQP3kD/SETO7AKJhse5rHt7qNLzHKVrMUW6QQWZ/e5TkrvihIMNatEBx/ZOyXcB3vM9AzY/B+ru5slXJxGJ7J1QnzGsZgv/yoaz+S1cozmJ64mtNd/wMRYKgsZcK4T3P7JsmxqNgDESE8mpf5vjWyizjfaNzFGWgLWk5ndZfdtTtOfp+4gMDBiP00U2BJK9srbZ1Nynj0XbQB2sfVohpyfyffuftw80dPKM/I2SYD35R0vzgma8bo69lPDKzUqoh9QEHgfQTB+ynr/DixD6gKBsA/cdRf8GPCFa1QHy0sri16vzy0v7E13qwLULInarDfMcY1xAcZDjx4kKOOlqIWusQ1669HOlkb8M0pui98HIn20RhrvYHDrB+nrT0nxKj3S4MrzRRGNw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR13MB4842.namprd13.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(4636009)(136003)(376002)(39840400004)(366004)(396003)(346002)(451199018)(66946007)(4744005)(36756003)(5660300002)(44832011)(107886003)(6506007)(478600001)(186003)(2616005)(6486002)(6512007)(66476007)(41300700001)(54906003)(8936002)(4326008)(6916009)(38100700002)(8676002)(6666004)(86362001)(316002)(66556008)(2906002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?oyxs0n88Dx+zBeK6kXikPS5anvyOfsa3eQvPqSwxiN08UJ2+/9AJxlW+O6Ss?= =?us-ascii?Q?b8pRMNoyPx2Wk/uSQIMrupFU5AaLNHCqwbIzlEf+oeMkb9rHrT2ePf2J3eyK?= =?us-ascii?Q?BsXwfuph5kMFjp4Xc3JWLOBwwXvZ4BXJndKfi3t3iDwENE2oaCcWt0aP/eD7?= =?us-ascii?Q?pidPfKTK0GShbmbJvAcBvv1DSOF70JfoEkNg2PhwKBqY971hdeuKfRvdhoTs?= =?us-ascii?Q?A1B4GWqdyVvorMxV/8r4HOCybvdLLxJbqtzCFiZWIz/i4md/cwN0xjiGObEs?= =?us-ascii?Q?MX6Q49QwU07tbaEwBKLQKKmh/w/X5Z3ycH8kG3rSTLFykSNDYDZ+dheY0r5Q?= =?us-ascii?Q?1BvidCn+BF5nNsx6roFH3ZqCT5CwhSAVkY4o8xQ2gLdSMmW6kOLCOWPlBTpe?= =?us-ascii?Q?4ldLfy9KTuVgC2xK/LBtXnFl5eoh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ascii?Q?EcoE+Srw/hoTs1nXIvbUrVxLC+SRPBthDG5OdYZfYR2uBljaBCRj7BOE/y81?= =?us-ascii?Q?Qwl1OMf6FlT7FahxDl31za0k3kuBoREOwZWd7fZYKQjLJg0dLB6R0r/U18Di?= =?us-ascii?Q?RsMSuBaf1fSchfGiL5+ZLyIuIZHC53hCehY4Be46XBZshGf+VTEUHGNShwul?= =?us-ascii?Q?SbKZLexlK/7URoEIeozO9farOx+e9mbxxADH8WP5ur9DabaM9pgSkXBgyTgV?= =?us-ascii?Q?4gnTWcDFoqbYrfT5B2JDlghCm9+kLj7o2+r6S1r6IgbzjG+GIt9CBLcdjE9B?= =?us-ascii?Q?GMbW99N5MLZoRj1YLoXV+oCJBl+LNxcMImJfjxkj3PzxeydW2EyVuAF5haHK?= =?us-ascii?Q?C5Ghng=3D=3D?= X-OriginatorOrg: corigine.com X-MS-Exchange-CrossTenant-Network-Message-Id: 72eb1343-17f4-4cea-a1c5-08db132752e3 X-MS-Exchange-CrossTenant-AuthSource: PH0PR13MB4842.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Feb 2023 09:46:22.0546 (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: OoyREeFxE0r32tWN8JUQwGFUeYssF5QxuHeq4HYpf0mHXS1CZ4iCsmbd9I4LvZe13gvTq/WrECp34qt/xbl5v/ZMQIOE1x3/YzHSBnLc9Ww= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN4PR13MB5278 X-Mailman-Approved-At: Tue, 21 Feb 2023 16:02:38 +0100 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 On Thu, Feb 16, 2023 at 11:47:27AM -0800, Stephen Hemminger wrote: > On Thu, 16 Feb 2023 15:15:13 +0800 > Chaoyong He wrote: > > > +void > > +rte_eth_bond_8023ad_lacp_send_one(void *queue) > > +{ > > + uint32_t i; > > + uint16_t slave_tx_count; > > + uint16_t active_slave_count; > > + uint16_t active_slave_ids[RTE_MAX_ETHPORTS]; > > Thinking ahead, all of bonding driver should remove the usage of the > terms master and slave. Perhaps you don't want to introduce new > usages that will have to be fixed. > > FYI - there is no usage of master/slave in any of the IEEE standards, > or operating systems other than Linux. Thanks Stephen, could we agree on alternative language?