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 5F1E141CAE; Thu, 16 Feb 2023 09:33:02 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E85A540EE3; Thu, 16 Feb 2023 09:33:01 +0100 (CET) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2100.outbound.protection.outlook.com [40.107.236.100]) by mails.dpdk.org (Postfix) with ESMTP id 8D0A440E0F for ; Thu, 16 Feb 2023 09:33:00 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=haU8SLtAIjj830KQz9NqvKF1SOD/khdUh6DUPoWhvu1djNCL33MOkjblOSzde2kE9JXDY5pvqSLwlyyyRG8DmerduZkAv6C54vY2t6q5fZWOcdUlA4xDwZ+uDDJE/Jk6RO1FwDqot0CrFGzpDSuELCvD4TQeA6/0l9ijYI0AYBiXUb0M5KeIEBe8C/LsNI/kDM7SAOzIPRj+4s+cpculq2MATw9PI1TSfxMo4O0vVDMPEXTYpwXKfzkDUwxgkfxcHgwOxj/LR+lnlSPYsZafH8Czx2q8dMu7MZPboDxceB0WrcUR/njzqrXEuKxIIt9wg5xPh4k4LzYc7UNgzGJceA== 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=nRvMMHB1+LWRpYGvHdQCMTGC+vNNhdsjchnHjwNCQgo=; b=WwWTt31KJj4UPT2sHSr/pI/g+0EW0uFdspAfPUpm5aCUnQPqgqd7OoM5Ha7LNW3jJyXzXcVGVV98bRrW6w+d0URE3uVSw3JUNzaUIN4AP+or/9d6y/mrp+ljkVShuJQuqikpCPe5d0xQkrSws5cMm+yU24bc6P1YZejF0zmEw+a3gBr01OkvS6Qa9wDozzPitS6J88yeuxibIjDtPO59q6yDdi/YjJkA4JRS3gllcns6ie3cecn7YXSvv+oquqEVeXHAEsRAvJlYpOiQT05cmnMrTVb2DmYIvUo/smwoHUtPTgVBPL0MwpmGZ/Xx9dSBkaEAASB75my0YGYuPWI9yA== 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=nRvMMHB1+LWRpYGvHdQCMTGC+vNNhdsjchnHjwNCQgo=; b=bNludbbEB3k+BLP98ElsxAesJZ9BEchDG56qgy7Erq3vsoRfTrH99u6UsEv3LQ0s6KtE7kh3A2vF3vo9IgAS8XIz512nu4/ZzKsSW2FrOxeHhg5hXRhF8zzoQsazx9vGE3ekNVyMC6WXY89PNMw8MguSaNZ7bMBhRyHVlV4n8/I= 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 SJ2PR13MB6144.namprd13.prod.outlook.com (2603:10b6:a03:4fc::11) 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 08:32:56 +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 08:32:56 +0000 From: Chaoyong He To: dev@dpdk.org Cc: oss-drivers@corigine.com, niklas.soderlund@corigine.com, Chaoyong He Subject: [PATCH v2 0/2] enhance bonding PMD to support the LACP negotiation Date: Thu, 16 Feb 2023 16:32:29 +0800 Message-Id: <20230216083231.4721-1-chaoyong.he@corigine.com> X-Mailer: git-send-email 2.29.3 In-Reply-To: <20230216071514.29418-1-chaoyong.he@corigine.com> References: <20230216071514.29418-1-chaoyong.he@corigine.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: SG2P153CA0053.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c6::22) To SJ0PR13MB5545.namprd13.prod.outlook.com (2603:10b6:a03:424::5) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ0PR13MB5545:EE_|SJ2PR13MB6144:EE_ X-MS-Office365-Filtering-Correlation-Id: ef7e130d-a758-4050-2fff-08db0ff8673b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 5jprhM0DJArtz8A+tNa1+Ly10Go4O53f30J0PTsXayqMnI09SyST1ak5FUiGIbl7+6DSA2V1fgNhjrHAELiIVdRB2FnzDGhGkCthlRxleDqVW5slspbEtGkY7ffFDB+NGQsOUOKFujCFsXsB1HKdhLW+CuYiGgg3y4/DEyPwpRKE3VBY14zn2EhtpAxLFYLeTl8HP0CKsyEjBKTM9DOwIpWHKa9S8Xvp7OolWMGH7n04JHHEBmu/XGBwr+o2f/m+S0XoL3Fzh5IsEQPhejOpiLojtDm3Ud5xw6VGk55L89JeU3fzPi+D5WUgbsTbpgNAJlKMscR7Zy4MCukKRbwF8hTRIT6kK1dfxOcT7qYK720zHXJ4SxCj6vePl7QjoSoUNd6rXOhQ890ZRkg2C9IY9mesohurFSThaY+oXrtmH7DwbDLA09JiHYG/y7kuArp3muB0yP5x3Ze6sBh4GIPFLcULTebTcXf2m+CZy0cPYBiRl89fetnlFiTIF+cmPbc2T7nw/dMW4Cakh0+gZ8ArTvJJDGWEx/U6/yz8dN9FGbI9u8iUgkRuL79PTn+oC3Wj9Bp3WBT8F9XI32Jw8ZLxKDcOkP0+ZY3giyOISm2hKWGInUaj1OGiwieXKl/+u52g6goYPNFQ7R9XNMTcxGNDhFjpRPJWUuN/6Nj0+5rWrByKljwzl0Z7ri5LnP0RaTTO/Ffhy8fJFWmeAuPd/zwaUw== 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)(376002)(136003)(366004)(39840400004)(396003)(451199018)(38100700002)(26005)(1076003)(107886003)(6666004)(6506007)(186003)(38350700002)(6512007)(36756003)(2906002)(83380400001)(86362001)(52116002)(6916009)(66946007)(8676002)(66556008)(66476007)(8936002)(2616005)(6486002)(41300700001)(478600001)(44832011)(316002)(4326008)(5660300002)(4744005); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?Z2NZcTlMcC9VaHNzZXN6c1YvZ3lpZUhoaE1YZ1ppclE4VFVYakVBaFFkYzVh?= =?utf-8?B?S2tRc2hSTk5zbEZxZW1XZ04rUFpQVkRVY3FJZ0JaZ0t2Z2JNNzIvVkR6Z3JQ?= =?utf-8?B?NnR1aUNMT3BrQzJBVy85Y3pERkUrQXB3NGJYRTEvdmYzb0UxV0p0TnFoMmFm?= =?utf-8?B?S2NHNWxIRDhqSlB1VG52OTBQOURzVUxNdWZLbVI4V3RpVmMrMDZiNnByUi9u?= =?utf-8?B?L2Z4SFIvSitzY3NUNGRIc0RCNm1jc2V0VitzNzlIUE8zUFF1YkMwZzY4cFJO?= =?utf-8?B?UnUzZThoVDJOZkZIOThJREhmLzFIZzFFQ0loT0w3cVpRdTNOekZ5RF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m9lM1phMnVBejBsRmd1d0NsVW1K?= =?utf-8?B?MWc9PQ==?= X-OriginatorOrg: corigine.com X-MS-Exchange-CrossTenant-Network-Message-Id: ef7e130d-a758-4050-2fff-08db0ff8673b X-MS-Exchange-CrossTenant-AuthSource: SJ0PR13MB5545.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Feb 2023 08:32:56.7714 (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: odG+/7AZiSqM+aNtoS32U8Ll2UWx23D+yj1oxEw4Zv22jEhJZ4uYbI5Z1MYiuS2ENQTo9dc8CwNh7PBGmvG6osKU3xPvNFUeWRUyax+Nsls= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ2PR13MB6144 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. --- v2: * Export symbol to solve the link problem. --- 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 ++++++++ drivers/net/bonding/version.map | 2 + 8 files changed, 167 insertions(+), 1 deletion(-) -- 2.29.3