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 7CBC94302F; Fri, 11 Aug 2023 08:08:43 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3460E4324E; Fri, 11 Aug 2023 08:08:38 +0200 (CEST) Received: from NAM02-BN1-obe.outbound.protection.outlook.com (mail-bn1nam02on2057.outbound.protection.outlook.com [40.107.212.57]) by mails.dpdk.org (Postfix) with ESMTP id 2399540F16 for ; Fri, 11 Aug 2023 08:08:36 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jwft8HewuzYcmsogo/BBgr8P9n0GllCEfdrj/XXElzTGRHy10Viq8p3sj8cUFG2PAAr0d9JCl6nlnzAtLYoa2FdP//XcPUj9fTicC2xK/8Z+B9jFNhIBilmOnR3MMBSzm49FTzudoTJidPcOKQQUV4sb+CyhifrJjITLjUyHVnTShHaUigTuhCl04Bs2VSTj9fisNVLncpaahr+s1fyZwiAOGckze7KfEAbFIxPbaDdv7pIQDsnQOg0mZnsMX9Dycz/mVazHCUiG+GykVaYmWVkNoZHUTAti3jC/X3OTry/bEe9a1+o6kQXDoy0MTfFuWeHzmUcdtYkdx4US/JwrwQ== 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=S5PfM4ZSnqP52IFiB0d9QK7YBXm7PUuOjANz/mWnXD4=; b=jAblrn4/uXGps45xAtxK4xwrqB5vzJV+154tO3GDQkSVDaqMKHwv8TF7hCQBbjlqsr1QVwDhbhVv/QpxXH0GoZrsWMmzKMnVErdkLarJfNqAAI1c4s7oK3dYH81NveR4UDXYrTYMIwIw3oSnR9m8AqDnN6yodMHsF+ms8N2uwyFrJXK0syEH5IVlr2AUC+Xi5cZVwhE8D4kafq8Jaa3KwjsCgIs0vmDvYy05DXdTXjSTlWFvjMjdId4pzJF5N1t5IJcR9mE4kdRA2JeSVK0UTYF2kqczOe7XIhWfjthCInGWDju+SyO4HvQFhyqUK8KbJbPDacl1e04SbGrrAG4RKg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=arm.com smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=S5PfM4ZSnqP52IFiB0d9QK7YBXm7PUuOjANz/mWnXD4=; b=YFOQrdlV6tQeMP2tJgiAI0ALimkuBQWenBvIm+nO2gEje3xQNIgLaQQMl/cFG9ZUida3pQTpuGjFGNW/m1htuPxJFCr5AgI6suDthoKfrIK+VxNiix4uwDJE4qY1P0R61Fkmnn71LsBR90O2Zo6sOgOgygy8QzwXgVNlrH848gw= Received: from SA1P222CA0126.NAMP222.PROD.OUTLOOK.COM (2603:10b6:806:3c5::15) by SA1PR12MB7342.namprd12.prod.outlook.com (2603:10b6:806:2b3::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6652.30; Fri, 11 Aug 2023 06:08:33 +0000 Received: from SN1PEPF0002636E.namprd02.prod.outlook.com (2603:10b6:806:3c5:cafe::ff) by SA1P222CA0126.outlook.office365.com (2603:10b6:806:3c5::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6652.31 via Frontend Transport; Fri, 11 Aug 2023 06:08:33 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by SN1PEPF0002636E.mail.protection.outlook.com (10.167.241.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6652.19 via Frontend Transport; Fri, 11 Aug 2023 06:08:32 +0000 Received: from telco-siena.amd.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Fri, 11 Aug 2023 01:08:26 -0500 From: Sivaprasad Tummala To: , , , , , CC: Subject: [PATCH v2 1/2] test/cpuflags: removed test for NUMFLAGS Date: Thu, 10 Aug 2023 23:07:54 -0700 Message-ID: <20230811060755.481572-1-sivaprasad.tummala@amd.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230802211150.939121-1-sivaprasad.tummala@amd.com> References: <20230802211150.939121-1-sivaprasad.tummala@amd.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB04.amd.com (10.181.40.145) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SN1PEPF0002636E:EE_|SA1PR12MB7342:EE_ X-MS-Office365-Filtering-Correlation-Id: 9ca0d246-6a50-41a3-9069-08db9a316447 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: eYw9PdkL8VUCdU5Hemgwu30TN9fcCbQ7XZE4mSQIT+iwkefgIeQiJGpT1gICmQXDrMWhEcjd1dUQMRv5V6xtHC51PUpLvLOHCS+e8teDeP9XNM905IbCJZKSj3SfiYQdMHIsqRnZXV1KHyOdP/TAWe91PJ0MtWsLwrcXOSiNzI8x+yTqYvIGV0HIwyzjx3B3ES1CuTY1+dcU01sMqyrS0aO9D5SREVlsWBnWDA+o6ZhW7UVxu6hEGAc/PWkjxMv+7EBFxCGmji3muOf1vvVskBlubY37Ync5hAFyJ3wrt/tus4Lo8La8rYgIgdMZ2D/XB0YBq/PT5GOalCHkHuvvJFj+rgTgCZifbi0AbML7+RypeXzPtS8YjbVU9zxdrGPLgw8+jrxmC9IY/Xi6A4Zkv/lw3MNUJ+BE9/GgM5/BgT/m8sYkE3VftRh1Yq/MGdPD4ofoqADb56hpXgMu+HVWpy3Ted6LigVMCPkqdIeXHk/ZFtXLQ5v3brLgTOQEuD3a/3bUGvvdHwG3jSaSAyACg5dfMt6E35MVih2l4oewZ/Lq29QLm7Jx/USUU4beLKu3jElrIMl+ygrE1LNsIqrh6aK6jPGY5OhkrdwMBCIIIjAqPol6gMHCmLu/dVaur30nKR5CMrRFTta/IpzpsINM2BggeXr/on3sr1mo2hQWTREZuNFOpEOOYjZ2wv7oVEkOkePYi8AfE4MWuTn6uCpP830x55TxomBqStCt+FWBh8rGpMzxKIvfbNMoLODYI/Eri9HYaOacKxyvUspKncC6Hg== X-Forefront-Antispam-Report: CIP:165.204.84.17; CTRY:US; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:SATLEXMB04.amd.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230028)(4636009)(39860400002)(346002)(376002)(136003)(396003)(451199021)(82310400008)(1800799006)(186006)(36840700001)(40470700004)(46966006)(40460700003)(426003)(16526019)(316002)(83380400001)(4744005)(70206006)(40480700001)(2906002)(4326008)(70586007)(2616005)(36860700001)(8936002)(8676002)(41300700001)(110136005)(82740400003)(478600001)(86362001)(356005)(81166007)(7696005)(47076005)(6666004)(44832011)(336012)(1076003)(26005)(36756003)(5660300002)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Aug 2023 06:08:32.9075 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 9ca0d246-6a50-41a3-9069-08db9a316447 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d; Ip=[165.204.84.17]; Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: SN1PEPF0002636E.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR12MB7342 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 removes RTE_CPUFLAG_NUMFLAGS to allow new CPU features without breaking ABI each time. Signed-off-by: Sivaprasad Tummala --- app/test/test_cpuflags.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/app/test/test_cpuflags.c b/app/test/test_cpuflags.c index a0e342ae48..2b8563602c 100644 --- a/app/test/test_cpuflags.c +++ b/app/test/test_cpuflags.c @@ -322,15 +322,6 @@ test_cpuflags(void) CHECK_FOR_FLAG(RTE_CPUFLAG_LBT_MIPS); #endif - /* - * Check if invalid data is handled properly - */ - printf("\nCheck for invalid flag:\t"); - result = rte_cpu_get_flag_enabled(RTE_CPUFLAG_NUMFLAGS); - printf("%s\n", cpu_flag_result(result)); - if (result != -ENOENT) - return -1; - return 0; } -- 2.34.1