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 27CC841DA2; Wed, 1 Mar 2023 03:49:02 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BB05940A8A; Wed, 1 Mar 2023 03:49:01 +0100 (CET) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2117.outbound.protection.outlook.com [40.107.243.117]) by mails.dpdk.org (Postfix) with ESMTP id C03E54067B for ; Wed, 1 Mar 2023 03:49:00 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XUiDZ2qkEc/U5FdlhCJ0gm2wVj4fglKaYlAtN3+7AvXxbqGc72Id/tm1RfXjrGJ1L3YMGbDs3/yOObsdmYYDYrlbkCgHQnEHIERH8TgCdvBiZdH3HY3h4zQnAuLIQbND0yH/KC66ADi2ZeGaqQWZHiqaIzZrpMCm8Yk1aDsqd4DUoAnXbLEduhspaqpYMhLbdemN8qCM/JQFt+K4CsWJ64fzTNgQj8eIuKAV+PPl37puxtuU9EQ69inq0LT+AM7R0CZep7VHhY3/bBzCmEFV9JtUWyCDLv+TzRSAnF1FUgTiSgxzw7SIPoyW5V3k6CoJlLv4pp0StDLtknGLXXGMAg== 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=/VDJoi65Jv6eCKPeYMLawmD7Z+zWpqP4UkMxGE8rAbs=; b=EpoDi7GypJFkIcJeSkMnUeLOkGbjHIvhWZo2Q8efXwliY7hzUsOZ5m9latfcXqNmUAcDgn2dg51DjTsP6o5tJEX+guuHyIrcSQ3j6XR0HuFQy6ucmdrv9tfxP5R88IakggtLl4IjkgGfly8antbQug2ydsRQDX35kmJXTJ6DsdVN09u7Bw53Y/KSEZAEVZqeCf5AKo3M5r3h5o4Xd3JB/NNVlQS1S1S2+8/zWScgXodHYhveSF1PFeukAWGtz9eM+IKkDdU2nRuYHnFTGgaIlnkhM8yd/tX+1JSZjmIxyEsWEcX/PYV8JCZyQgECyJjoescSRHjW6i78GPZhMsDUtA== 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=/VDJoi65Jv6eCKPeYMLawmD7Z+zWpqP4UkMxGE8rAbs=; b=bvb/dv7yXwb3SGKlXbkZSLV3oftYIikCeTokR+qZNIRuq+yNTzxy+Mc5/Rpma/a0ZtevfK5g8M76RMH+WSEJhvnsbnshRgM4Yz917q0TQ6ePB72GMJ2DA8Sfg4ro1eNHzpLWoUtJtZ5MBFIdAXkk5/nlfw0Ad4wfn98M6wXkcDA= 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 CH0PR13MB4585.namprd13.prod.outlook.com (2603:10b6:610:cb::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.29; Wed, 1 Mar 2023 02:48:57 +0000 Received: from SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::7ea4:e421:5dd5:9f4d]) by SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::7ea4:e421:5dd5:9f4d%7]) with mapi id 15.20.6134.030; Wed, 1 Mar 2023 02:48:57 +0000 From: Chaoyong He To: dev@dpdk.org Cc: oss-drivers@corigine.com, niklas.soderlund@corigine.com, Chaoyong He Subject: [PATCH v3 0/2] enhance bonding PMD to support the LACP negotiation Date: Wed, 1 Mar 2023 10:48:24 +0800 Message-Id: <20230301024826.885727-1-chaoyong.he@corigine.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230216083231.4721-1-chaoyong.he@corigine.com> References: <20230216083231.4721-1-chaoyong.he@corigine.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: SI2P153CA0008.APCP153.PROD.OUTLOOK.COM (2603:1096:4:140::19) To SJ0PR13MB5545.namprd13.prod.outlook.com (2603:10b6:a03:424::5) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ0PR13MB5545:EE_|CH0PR13MB4585:EE_ X-MS-Office365-Filtering-Correlation-Id: 0b2ae6ca-1ddd-4694-3e01-08db19ff8033 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: snVQBDhRpibufhKOVRUV3GowLOekpccIP9EFduHmjsJmK/rWE34uILnub8AhgqMQ+8Uzs3e+GEZCzcVAMkNcbd4vGIENCZ437xUb0L1HLh0ea8Z3yb/vRhzO+eWIBF7MEYeJzsTc0QwfX9zUFUgYqRfQS4+KZdJCTxc/R3FB7YOjYcr7o7zkcPS1ohHMocf+QiA+Umq4b1Qf+rnC6UGqPYuXtMqIqMCw2vQKjQvs0fHLQ27v49hQ6cZU4zXuvGg6wEMXiqHioG54k/dLzFXtxlE7L7fCjjaOq/hBDaVuHRImUfSE8X0q68ElZcvYxtLKTbrm2jvuBw+kEg7e7IU6su+BbCQiI1DAq+vF8zyLfg1aTbUeT/4VQGjJyPoav0hiRmFhj5VwyGSRA4Bl7wq5M6+HwGDlzJ8cfmqX6eYb7ZCwFAShuR52x4gauyTw2869s342KT+cL4tBLXkj7WsVl6rbjDU4F/Ikk8yv8H+xEQxdvGJbiw4IVWM6DMNDKZKlhg+YVeCQmJtpK1Pecq+p5Z7kkSt5u5nWhl0GO3NfYPgKs0pVxz/cKB+HPrAT1bpQ/70RssoIwmKx2zvTuYhoBt9/0mHl0N9th/acCThaZPq7EwLPMXJJ0gg8hZRgxFPkCnBCVcKXTKnz+nXTo1TpNu2aoP09PWFnxAk/mFrxc+TLxyku3gREuQ/XaZnuCxnk3ybgIz1pABae6PIbAsCVxzf34oe97R7nwNRWgmrYBIJ+G0ryDWsHujTwWAjUnHyh 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)(366004)(396003)(136003)(376002)(39840400004)(451199018)(66476007)(6506007)(1076003)(66946007)(66556008)(8676002)(4326008)(6916009)(6486002)(316002)(478600001)(5660300002)(36756003)(44832011)(4744005)(52116002)(86362001)(38100700002)(2906002)(38350700002)(6666004)(83380400001)(8936002)(107886003)(2616005)(26005)(186003)(41300700001)(6512007); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?bStKOWhVVndmS1kvUDFocmtXT2U1K3RBRDBpbVJpa1FpQW9FZlppZC9qUnBW?= =?utf-8?B?Umhjc3pXdVRPNVlQMG44bDVDYTVUazUwY0FJY1VDSWtOQmU1YWhIeCs4YS9J?= =?utf-8?B?WWp4c2g0amhYK2JQQ0U2dEt6ZHVBVFFJRmVWTFE2Nk93eCtYTUpkR0h5MUFM?= =?utf-8?B?ZlVMcm1IdmY4R0NraWFSN044VmxhQjNWcUdDQ2h1UHVQVnJLdUsyYkN3UWMx?= =?utf-8?B?blJacUtLOURVbmpKYlJDRjlzblo4NnBmc2xKaDVQV0lET3BkV3BPbEVqd2pP?= =?utf-8?B?RUZ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h1WEpKSXRYc2cvM1ZyQjJJd3ZPai9F?= =?utf-8?B?bzFndnd6RzJWdXMyYUc2UVZtc0RCc1VhSGl4ZG12aXRIZExjb2E5cnYyL2hh?= =?utf-8?B?SFE9PQ==?= X-OriginatorOrg: corigine.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0b2ae6ca-1ddd-4694-3e01-08db19ff8033 X-MS-Exchange-CrossTenant-AuthSource: SJ0PR13MB5545.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Mar 2023 02:48:56.9377 (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: Cf7eIGXAyG3TQVbaLEBxuHi1tztoAf/TkExnt6FOBgaR3TtyReBvEXdGg676Q2kovtVRhrKaM/3bm0kEdz8N0nbPN3JLGI2ji2fZhPbMAWc= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR13MB4585 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. v3: * Add 'rte_experimental' flags to new add API. * Move '#ifdef RTE_NET_BOND' into function. * Replace 'slave' with 'member' in new add logic. --- 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 | 19 ++++++++ app/test-pmd/parameters.c | 4 ++ app/test-pmd/testpmd.c | 37 +++++++++++++++ app/test-pmd/testpmd.h | 4 ++ 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 | 21 ++++++++ drivers/net/bonding/version.map | 8 ++++ 8 files changed, 155 insertions(+) -- 2.39.1