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 9E2F241CAE; Thu, 16 Feb 2023 08:15:35 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 809B440EE3; Thu, 16 Feb 2023 08:15:35 +0100 (CET) Received: from NAM04-BN8-obe.outbound.protection.outlook.com (mail-bn8nam04on2125.outbound.protection.outlook.com [40.107.100.125]) by mails.dpdk.org (Postfix) with ESMTP id D777540E0F for ; Thu, 16 Feb 2023 08:15:33 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZnhKW87j3qPIO/d+b1SMTP3J7pzP2gApsGJi70CrOMOjL2Pv4x/5oVDzMmUh0dzo4xhuOccieLUqDA3Lym3sxHGrymWbaKgQN6bZzkB681K9C8hQNSa8C7c1KyABJNlzU0LSiFAHIBLZVSzXtn1bYslToaSA2FH1syWBSPSrnhovckKHypuT8/LciM79fy9bym6g6m8O+xPYIC6+zO/x3MCkxwzxjPLiHYuglyuQYKZ40caId1qQ9FbhjrvZqsIUkqiVhZcNjEG/qdD6EM0rsr5S8yWNyW0axbjTd2VXcZey4MYuw81krsJTrej1nFfJMkdt3AYPfPqQkKhx58Yxpw== 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=pQzn7Zkjl5I5LZ1qZTSF7oMhueH73UFFhKBbhUALzDA=; b=CTC92EgDlJD+eCc0oNkEL1EjluUS7mXUJ/30jjJNIoq+m7eGQCPg6ET2a0YMbpzNHY8w87wRzuKXy2p1EnIhyB2//+8Rgbm7ZR5BVhJD6q1F4ZWfmNuB6Oo5Npe0Wr7ANyAxbBgyirVFHABrWNJJsQljNnt/kriDkplQpgdACbWlDVuGaOywivvgmxJnPMMxak896rRGE0bNgjku7LfO7ZJh98yrOvE8CcZQSwi7TzCg8GsZ36rK2nkgobo3riukVMdNAGoqsP+4QNxHxUn6kDKEAGvfcaB+2bWz4E7E+KDwDE8P2+7xquI2CAN3tn2r32Q+LzN28xcDDRON2r2Dxw== 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=pQzn7Zkjl5I5LZ1qZTSF7oMhueH73UFFhKBbhUALzDA=; b=HUw1fhO4zQHqL1+gsgEgbQPNqieoLslbHBcc7m7be8tEvmwVDSXLDOQfM1IGbMsMLxtb7s6MaMcrZEC5GOwd3j6cu+tYEuPY9n67TRd4kZABAPW/Mtljy+9+G9SWR181Uxc5E2tghntq3X3dvwXmPj96BT7V9UZz8walDFUha1k= 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 SA0PR13MB6002.namprd13.prod.outlook.com (2603:10b6:806:152::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6086.26; Thu, 16 Feb 2023 07:15:32 +0000 Received: from SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::7ea4:e421:5dd5:9f4d]) by SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::7ea4:e421:5dd5:9f4d%5]) with mapi id 15.20.6086.026; Thu, 16 Feb 2023 07:15:32 +0000 From: Chaoyong He To: dev@dpdk.org Cc: oss-drivers@corigine.com, niklas.soderlund@corigine.com, Chaoyong He Subject: [PATCH 0/2] enhance bonding PMD to support the LACP negotiation Date: Thu, 16 Feb 2023 15:15:12 +0800 Message-Id: <20230216071514.29418-1-chaoyong.he@corigine.com> X-Mailer: git-send-email 2.29.3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: SI2PR01CA0046.apcprd01.prod.exchangelabs.com (2603:1096:4:193::18) To SJ0PR13MB5545.namprd13.prod.outlook.com (2603:10b6:a03:424::5) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ0PR13MB5545:EE_|SA0PR13MB6002:EE_ X-MS-Office365-Filtering-Correlation-Id: b978e5ea-5ee4-48b5-a03d-08db0fed96a2 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: jvJiQgwogLVhskq30k26J9MiuY1N7fRuWUDm/T2zrI414kERz4raGDNUAe8jbbwhbjUBu3hwcfn9HOUKhu1F60zQcUIlfnri1+5ytohaqZrlFG7FY4l0qB6Jh48hHHr/Zj+r9Sfd8CEUJHP4ZQz/o47IJDbtQHqlLc5iqDzC5VL4mYgXZ1I+opoXGrEhKhPUYjWYn+e+bnILOrOst8Cev5mztbAdX/FLi05oH95kJgK3XYuRDbhm8ciuXUn5DYOawF2FkhsQUETyeghOAxNR/IyUQx/pJS19j9EDKC9jx4wedlBoiARRE1KrBFerfnOpFtBNOO4aG2TEXyqAtviNJNJ5LSpsfGXR1WERZwerAltelXH7iBN8k2ux/x+rBWDJKlkJpNKo3o/FRw90Xm7iZuCchjrCg3jalh10ME5Obd2pOL/RyCp0Jc0lQgGZTl3+mxf80xdLEv5TSRfMlbzNh78fv2C0OvMkC5+fe9K6GjPc4ASMxPXh/XpinhH9qlhGfaA1fBJdiGNbTxCskd/OYzf6M0B/0eB6LMvRQV9+M3KT2YmFosWNihMvqE0cJbMSxpp3dnmnWplgyL64XB9X0jtpYA7+jBE9HQ3Rg6zzcwgwBKZrABwuXwjj7VatnBSruYnIX7BETn2sZ7O9bRdxNhMh0hINmMRewbi5zkdpDlfMFucCFHdvkBKYJodtPNq9XkOXT7DqSOcWInNRreBDeA== 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:(13230025)(4636009)(346002)(136003)(376002)(366004)(396003)(39840400004)(451199018)(2906002)(6506007)(1076003)(5660300002)(44832011)(4744005)(8676002)(4326008)(8936002)(86362001)(66476007)(66946007)(316002)(66556008)(41300700001)(6916009)(478600001)(6486002)(52116002)(38350700002)(6666004)(107886003)(38100700002)(26005)(36756003)(186003)(6512007)(2616005)(83380400001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?YjdWN0FKYlJWMzM5WXdSWDJrYys5TUUyTmNIU2pwSUdQeTc1eS90R3gxS25U?= =?utf-8?B?SlZtT0o0Vm1FVlZidjVVQWhvWDc4VzFTdExhVy9Gcjg4Tm9qYjFxNUJCTitD?= =?utf-8?B?ci8xR2ZTZHFHNCtCcDFVV1BaT3Z0Z0JEblB3MVBna0J3QTNzazRxYjltTHJZ?= =?utf-8?B?SWQ3TzJwS2c0R29BVjR4ZGI4OE83Z0JkTzIrakFHMTdWYktBbnNpUWdSM3lX?= =?utf-8?B?MWRXMllUbkFHYkc1NmhXTWtHUEIvM0pnRGZHcXJEZTZtOVZVeC9nanNDekZM?= =?utf-8?B?WVpnanZpK1MxVHpRNS85aEJMTWw0ankrZ21mMlRxbUYySVp6ditQRnhXVlM2?= =?utf-8?B?RmVkTkZyRVg3VXNxV2xYaFozLy9LcjRBb3pGR0FTaHdRQm0rMUlEdWJycEwy?= =?utf-8?B?Z1JlNGd5N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CrossTenant-Network-Message-Id: b978e5ea-5ee4-48b5-a03d-08db0fed96a2 X-MS-Exchange-CrossTenant-AuthSource: SJ0PR13MB5545.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Feb 2023 07:15:31.6338 (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: JFesEnm/yCEJxvpHX0sPwMMoH1fvZqBksXKhCwDigX2WdCq8Tr9TJbCVfUNq2yAzknWxbdJqhQDJlSNmNbP5ENUaoTkl/HUSE7pcmI6RKZI= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA0PR13MB6002 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 App may not support the LACP negotiation in some cases. This patch series solves this problem and add logics to testpmd app to support the forward of bonding port in mode 4 with the disabled dedicated queue. Long Wu (2): net/bonding: add independent LACP sending function app/testpmd: add support for bonding port's LACP negotiation app/test-pmd/config.c | 23 +++++++++ app/test-pmd/parameters.c | 10 ++++ app/test-pmd/testpmd.c | 43 ++++++++++++++++- app/test-pmd/testpmd.h | 9 ++++ doc/guides/testpmd_app_ug/run_app.rst | 4 ++ drivers/net/bonding/rte_eth_bond_8023ad.c | 58 +++++++++++++++++++++++ drivers/net/bonding/rte_eth_bond_8023ad.h | 19 ++++++++ 7 files changed, 165 insertions(+), 1 deletion(-) -- 2.29.3