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 D09DE42DC5; Mon, 3 Jul 2023 21:26:20 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C8E7C40ED5; Mon, 3 Jul 2023 21:26:20 +0200 (CEST) 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 C448E400EF for ; Mon, 3 Jul 2023 21:26:18 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hUQyzb2P0ou0GNz7UxWAiNXdWRnXDR5CJGP485YVPtPxuHCUeEwoidFq9nZ4TmVAJA2ViK6ieaAArPrSl97KRHxIj6yga/wsm0xwl8AqHj1TIBoTZaFfmZ3sAj/sT0V+7mzLAKZXf6zByj54YwYEd+2EmW6TQ4g6Nd8QdKxjAw/JqaOOdot1zFjArbYUfWOHFl8H4bpztWwNGAiCL+d98sz0jZPFa4hv9RoKFx07w8kQaA/1R4pvSN0OG2LgCKI/isyErhzPRCNkuabKrR/fPqp1u0gA3cgNCt/z1DZ52OXaowhWcvkuaYoX4hIGD9qD2y+EM0rbJ/VQZo5Ies8yUw== 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=e7i9PC6IHvpKHcI9DP9xQ6/CVpdzTy+7aYCGGBJ/7Lo=; b=JM/fuJYzLlzBhX0wVIqPWvBS1Ws5djOrQyeYhKnqivV5pdOeiRN3ZT9+jLyKo3cijGOvitXmYpbZ7/c9HQ1gORM0/FLKcI/emvApsqyD83KLiLQDvqMeAwmNOFNQDkW9rinZbu5CI6KKcrDo+861sF19UPrAD96eJhfdqlN6nGSs7Nw/jbpzRAxDTw5Yzszs9DzwTDkI1VQ/ueAycCGsc1YHvw7cwg1viqbnzSzk9h26lxJCY1Y+Qz3A64dd2cMwOytmnRQQ6kMPwbeHrnhLVlLfBq9a0TmlYk69Lbo/718SD/C1/5FVhksoHgXVoo7KoTNPS/dqgewNEcQUDtt/3A== 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=e7i9PC6IHvpKHcI9DP9xQ6/CVpdzTy+7aYCGGBJ/7Lo=; b=jiB2sMFvYO+FaQluA1e6PtlxMTfPKue0oB4WpSMrsogvbZX9ItRu6xtWq+g6n1XxpaSroqQ8QI2racdOygaPW9GUwZGS+wax2wlmG19ZN6YWlNeI1iLp/w41MJp4P0M+R7C/KOs8UQORPqkUqSeJ7Sw4/dKZDuKOFxmhx3qXvVU= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=corigine.com; Received: from BY3PR13MB4804.namprd13.prod.outlook.com (2603:10b6:a03:355::13) by MW5PR13MB5464.namprd13.prod.outlook.com (2603:10b6:303:191::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6544.24; Mon, 3 Jul 2023 19:26:15 +0000 Received: from BY3PR13MB4804.namprd13.prod.outlook.com ([fe80::5ae7:eda4:3881:4f4f]) by BY3PR13MB4804.namprd13.prod.outlook.com ([fe80::5ae7:eda4:3881:4f4f%4]) with mapi id 15.20.6544.024; Mon, 3 Jul 2023 19:26:15 +0000 From: =?UTF-8?q?Niklas=20S=C3=B6derlund?= To: dts@dpdk.org Cc: oss-drivers@corigine.com, Qin Ke , =?UTF-8?q?Niklas=20S=C3=B6derlund?= Subject: [PATCH 0/2] tests/speed_capabilities: Document and convert to a common speed unit Date: Mon, 3 Jul 2023 21:25:40 +0200 Message-ID: <20230703192542.36809-1-niklas.soderlund@corigine.com> X-Mailer: git-send-email 2.41.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: BE1P281CA0095.DEUP281.PROD.OUTLOOK.COM (2603:10a6:b10:79::10) To BY3PR13MB4804.namprd13.prod.outlook.com (2603:10b6:a03:355::13) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BY3PR13MB4804:EE_|MW5PR13MB5464:EE_ X-MS-Office365-Filtering-Correlation-Id: 8abea5a4-05b9-46b1-953e-08db7bfb5e34 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: /HtiLJhnQBWmq9xJjRPGOlwb2tx6dIXRNi8tzZXkzNnHpwgRI5FJFelEIi6pZJcQUSjo+/6clogtxLzjMF9WMokjuUoI4XoQeXKxrr5phpq61kBLivyZk3kDhEjepbYeRJZ3o6bOyoaK2AXuLEU/F6cnfgIReu9x7yZQCpWMDvt6pf728db2Nm1mWw4RADrLv5gvmILRYRQUiyFQcWeUwDumgQyG94vGkjYa92vpp1l3aGhXUhDcm+izwzDumm49yb+3U3R2dkAWrBcGgjcIBPFHgrVrEajq3hyT3dp7CJUXthz/eB0mCT7cRvQ4ZVmAzXq7LzI/1sI5HJ4yIuhvWJPNH2e4Hax7jCjJ3FAZ7ijYIycuAFQMB1iORqvL1loanajKpgEb62E7odY9jBq5aw/ylx8fGv9uPQV2p/XX9Qb/bP58eZqeh3HHYOfcMQ8e0MyNZCuV9N23znu71fEdMHlSMDP/BtfyzTsPEakBMnmp0ei5eCsuxLAQCm9rAKUVbTFIwVW526gNIFoXO1VSf3cIHFDx7ODD7/58P5GPBfaEcllL0fJyFVguaA16p9BU2h0v7u6Tb1JNjwJa/L9X+rpEm/vOTjQNIAXhJijR9qAV7207x82fAUCfaRoYSoaelXuHnzHVznktCeYVqXID9w== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BY3PR13MB4804.namprd13.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(396003)(376002)(39840400004)(136003)(346002)(366004)(451199021)(54906003)(2906002)(4744005)(478600001)(26005)(41300700001)(6666004)(6486002)(86362001)(36756003)(52116002)(8936002)(8676002)(5660300002)(316002)(6512007)(66946007)(66556008)(66476007)(38350700002)(4326008)(38100700002)(6916009)(1076003)(6506007)(2616005)(186003)(83380400001)(107886003); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?SDlGVktSdENtanN0blMvODYzQnVodmk4VHAwZ3UvbVVkcTNqWVN1SHlOT09U?= =?utf-8?B?Q09PU0RPbVRKSnpwQ213NlhxY1dMWXcwNnk4aWN6Y0l5UXkxdkllVFAxank2?= =?utf-8?B?VDgwcFZxbEtsbThGMlZ1bWtqOEEvZGlPc3ZsVS9FdjRnQVVyakRvWEIycC9p?= =?utf-8?B?TENDcy91TWpyR0p1bWp4aFExZ1pXcjdIUnVWblByNGVFdURNc1l3K1A1VjVx?= =?utf-8?B?bkhrSkRnTWFiZmFVN0w3YmFWamQzSllWZFBSN3JuczdzQUVqNnU0T01KWDEx?= =?utf-8?B?Uk9aWW91elVEU0pEMlhmdXcyUUtrT0VSc1c0Qi9nWlVYYnllM0Q5Tm0ycmR0?= =?utf-8?B?bGtMUjQxVkJHL1JqcjdjY3pSUW80U2ttSTFiQy85TDVYZTczVkpyOENnTUJM?= =?utf-8?B?c1d4Ky9OTExw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: 8abea5a4-05b9-46b1-953e-08db7bfb5e34 X-MS-Exchange-CrossTenant-AuthSource: BY3PR13MB4804.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Jul 2023 19:26:15.3454 (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: 4CxWrwXpZmGg8T6UTqVspIbmantxngTVzI/BmNQABJ3ulGWBr+uGUSofkw1J8T/CgqzqXYemWA2kuICCw4chRJynyjdCpHeT9BAqlN7desI= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW5PR13MB5464 X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Hello, This small series addresses and issue where the speed read from a PMD may have different unit (Mbps vs Gbps). As the existing use-case depends on the speed read from the PMD is in Mbps document this and convert to it if it's read in Gbps. The second patch is a small optimization where the test can fail faster if it can't read the speed from the PMD. Qin Ke (2): framework/pmd_output: report link speed in Mbps tests/speed_capabilities: optimize code sequence of test case framework/pmd_output.py | 12 +++++++++++- tests/TestSuite_pmd_bonded.py | 12 +++++++++++- tests/TestSuite_speed_capabilities.py | 16 ++++++++-------- tests/TestSuite_vf_pmd_bonded.py | 12 +++++++++++- 4 files changed, 41 insertions(+), 11 deletions(-) -- 2.41.0