From patchwork Mon Jun 24 02:03:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chaoyong He X-Patchwork-Id: 1067 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7E921454CB; Mon, 24 Jun 2024 04:04:16 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 693BE40609; Mon, 24 Jun 2024 04:04:16 +0200 (CEST) Received: from NAM02-DM3-obe.outbound.protection.outlook.com (mail-dm3nam02on2126.outbound.protection.outlook.com [40.107.95.126]) by mails.dpdk.org (Postfix) with ESMTP id C6C2C402EB for ; Mon, 24 Jun 2024 04:04:14 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JZnpuAcc8NSr9BT+PGgTW9N88TAo3TGdKntettmpF5nJZu+pk3aqv0MDBincg4L8lJ+IRw6nkEs8B882ZjsxOxILm+Dt6QvDaawWmhytzQZt+mUflhFLd2sbLzI5mP6FnAi/TUFWoUEGgH1IEO4mqsH/0/cQyejwnmaY6vbdNJ6d/hdaRrYIBduI3NtFcOTbn7XmiYdAngK0NtcCQLtyYmE+V7+aPnSBe285PTLKzssrIy8c1VnCdPS2bB8p8CfQyUYzkB65vTrVxK+xZDq4SQDjo+J1aftWjVigl0MwF8YOfVPXFGrtf4R2wsCx3S9JvZAbd+bhCQYiLaOhhiu5TA== 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=/YGl/m8T1pJnxqBMSgREe5LtcSRwNKKTIuFQvyT2V48=; b=gCFtsw9SyFOsnokBLMvWqljSuDVejY1DgcHt5tMG7IKvlJ5bZxqjJAlqjWg+RSfZN/pscYOEX+1RQghjP/9tHWpd6oYS1SMA9YHyNckpgn1yfu670MzMIabWlqLy6g8zaXMm2FDncI5qyyLQkIKtoPXp1NN8KnvG7EdhM1cmQd8cCUaIwKX7vk+AptyIp7J/vb7N0GmrRvvdQh9KvvHQ0wQMzeoFntmkXDI6AzAWG8LzfCxAgygoK3+AJ/0zrAZp6yoGcB/KLIk+i7FlT1w9+aeRPpXUVaHLvq8K4EJDPw5yraT+LJf8asdgPxiSBkWR+6L8nzCPifuTKyc11FxEIw== 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=/YGl/m8T1pJnxqBMSgREe5LtcSRwNKKTIuFQvyT2V48=; b=PuwPeGNIlWE1THtqXLL+tAMqJnJKxloenTHJD+t1WbASvznMLtBC30JgRmdTX2XPVckpkAea/5e4dU7SzzadY347ROMGiKWqIeNy3jYz5/yrDzO3unk5GLwUCwtB94b0oZ98FUC8FvBxxe9qm1yMbf1UerDduy7C5TWzDLbIt3M= 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 PH7PR13MB5867.namprd13.prod.outlook.com (2603:10b6:510:159::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7698.19; Mon, 24 Jun 2024 02:04:13 +0000 Received: from SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::b900:5f05:766f:833]) by SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::b900:5f05:766f:833%4]) with mapi id 15.20.7698.024; Mon, 24 Jun 2024 02:04:12 +0000 From: Chaoyong He To: dev@dpdk.org Cc: oss-drivers@corigine.com, Chaoyong He Subject: [PATCH 0/2] add function to set dedicated queue size Date: Mon, 24 Jun 2024 10:03:53 +0800 Message-Id: <20240624020355.3712965-1-chaoyong.he@corigine.com> X-Mailer: git-send-email 2.39.1 X-ClientProxiedBy: SJ0PR03CA0385.namprd03.prod.outlook.com (2603:10b6:a03:3a1::30) To SJ0PR13MB5545.namprd13.prod.outlook.com (2603:10b6:a03:424::5) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ0PR13MB5545:EE_|PH7PR13MB5867:EE_ X-MS-Office365-Filtering-Correlation-Id: fddf2c41-cb20-4ed3-65ef-08dc93f1f15e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230037|52116011|366013|1800799021|376011|38350700011; X-Microsoft-Antispam-Message-Info: bAHBjaPlTrbkPN1cJc45s++ScNDkIZh86Lre1xo550BZ2VjWRDaOTNgS6M8kdXXF3BAZYnlgPDdl3k8y6U3XnPno2JrNd35zYghTgTWGD4akCLdo1rLxqj4RMA9KRZG65ENi5G1mx/a7ykp72WU6ESFpztMCu/C6Yq+LrPL4+5DXr/sX92UnWU7kb0zFCqceoz/IaEQ/1/l4rKRl6JpWMS4Uda5/df/IcUP2BXfXCGTMjcvaN7GMnHou3cNZq9zCmFOWw1S6410QEtkG4s5Y+xtClWLL34TknF6Tmv37h6K3OddCbXi8ZfKeg5Ss7EKgnPqfCP7Bvz9bkbiNj7eJ+Pq2NMyhoeQeSj9qMCUQbPJPMRZj3Dj6DqhivJB7NG3dWbYFSg3IR86RR8XrAgaUrIc5VvohKDH9+eMhoua5SYHW+kXbtoYuvBI6OTCITO+t0OMP1hKCinfVp2dHzIeOmNAdAe3Nmu1JvalpwyGHsSqMuT1/h+0vmqKBXIaTYTJJgg6Y2fZcA1cDsUZbGoHRyMzGzKkzlytP7HaCVduDd+OxEjm98BjPyrRfu0Gm6zPku5uPS3Q/0FagZZfGJB25iUhNsxURYHH72y1/Gb8C43MSX144exLMU0ANJKoFh8kJdGKA93sQSXJb7obLh6dwFL/yPcZEM6JWE9UHFk7GTgF1tRHi5JfXVBEV4BRrOTB/gU8Mg45AxCl5J5vt+OyT2U2ulrgMwSb/z2124XGZtuIVwC1I2/MehTngDwl3p/I6KUefi5K/gJtwI0ZnVchAh/ZkoAT4sp1FDsMguaD3FxfuMAIFLjJqTYRU3A/YNuBbIBYsaFtiqSoWKFewQsIuBXYinA/beI9Mt2U/6TB9j3FKrDgI6VN4RpsQUTOAjU8np91bYm8k8KVYSuQGC8+a83z1kmQCLL4Q2JsOpKMjpqljuG9Dhd2t0vnCgN8C8UgP8JrHAuHR228IvKbhjCV5KkIRB4W0vvgHbdRni8G6GgFugS8gGhX0maMfy1TSOOBPvqXWeXItIq13DvnLE22GIoyEA+Q0wI6g0ZDkk9k3fRZzL0DO/DHiGgMNd02ocK8cxPR/adYDgBCDd/0DywGAtmjyGEGa0Z/NtA1W+qUlCkkPBw+hfAmYhgRtd1UX2NRK67Cdl4c7xok2RSo2tacJHDnMIBnamGAuTRsnR/3W1F2irGfPC7RGGsc33Od9DowY4MLyh+420bzlSpyEcw6M7yX3DLchCHk7i+2G/5QIg6O5krOh158ePUEkZD226rgP3hoT4h/O/8M+cH2MQPJwzioQuMichtycazGzQDj75D5ssSpi6STIyiaBKLKoHcbzvRyu4XNHGWLi8xRyqJ9SgG11tKSd1jaxq6PlKrtPM18= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR13MB5545.namprd13.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230037)(52116011)(366013)(1800799021)(376011)(38350700011); DIR:OUT; S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Y23JbOiY7X0ipYtsodmrBUYNUOauA/n6KS/Mv+gjhviqQtxQPlxJJA7epxgstQmXWWefdUUdfU7I1K8uQ1Ehzalv1mktGcezrO62jQmfIyDTdEesh9qLASpZ+iA9ugwI5A0a4HpfAkb6O/UM7H/KemrJZJdsmXyZdvsXL+/6w9YIHIK8k6LVZ6VDp9ptYVGM7NU1pg5rXmUn4d75TIxWTp73DDULhx4UoLxW02l4p/EG0uFePpcdzg8d3cAaaHkDGS6VvqBbnCarffBkxMfkHnqzmOXwyYE1M/EQMPXz8Fzh3UGQG2lemAf8A0Hs9ucjSZfBgBMoqIL88bSfbuw5J2j3py7zbdNjQ77z7tEbeq7kbwUh4t4MMGBOzILV21MMfhyJPtRng6u8gXqHqERnzThK1zFK3NPuXv/7/D0pNOV39WkGvAMVdrKM7W6crJo9F+15G/IxbGuJjd/GlVfYBc9XEiCw7JnhgtiWxIi/PGXP3I6m9S5Ut8sTcAgydnmLPNcKOjJkoutfIyFIC99zqrz+c273bUesRM2yqxA0+tzLaA1m5bgmgilhy3/rjAPc1YfvIKQFMWx4KFJ1VKa2k3Pdw== X-OriginatorOrg: corigine.com X-MS-Exchange-CrossTenant-Network-Message-Id: fddf2c41-cb20-4ed3-65ef-08dc93f1f15e X-MS-Exchange-CrossTenant-AuthSource: SJ0PR13MB5545.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Jun 2024 02:04:12.8817 (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: amK2qYwYnrTd6BsvdxNNuf1Ns7XYSTpwt/VRdaKcuyAxVV5KSDljM2YwXyHGk9Um0ta4weftzbps5iE+/5IpB1psGN0oSrLyCn6iUpdXyhI= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR13MB5867 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 mainly add a function to bonding PMD to set dedicated queue size, also add a command to testpmd application to invoke this function. At the same time, standard the log message of bonding PMD. Long Wu (2): net/bonding: standard the log message net/bonding: add command to set dedicated queue size .../link_bonding_poll_mode_drv_lib.rst | 8 ++ doc/guides/rel_notes/release_24_07.rst | 4 + drivers/net/bonding/bonding_testpmd.c | 126 ++++++++++++++---- drivers/net/bonding/eth_bond_8023ad_private.h | 3 + drivers/net/bonding/rte_eth_bond_8023ad.c | 39 ++++++ drivers/net/bonding/rte_eth_bond_8023ad.h | 23 ++++ drivers/net/bonding/rte_eth_bond_pmd.c | 6 +- drivers/net/bonding/version.map | 1 + 8 files changed, 185 insertions(+), 25 deletions(-)