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 1092242FBA; Wed, 2 Aug 2023 23:12:16 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 862EA4021E; Wed, 2 Aug 2023 23:12:15 +0200 (CEST) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2042.outbound.protection.outlook.com [40.107.244.42]) by mails.dpdk.org (Postfix) with ESMTP id E8E224021D for ; Wed, 2 Aug 2023 23:12:13 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cPl95i1wJiVK0Lee1mi3Z56PgqqprS10EszzXmxtNwIaGKAUjH5gOxe+AxLO1rkRn41ARULqhXxK0LvuqR9IwZVbQx6//y0D3zBC6nm+XfLTMKlCKhtHaG/O9tmuzYhCemZHYw1/CJZH+wR/E7/1Gyjo+1cjxChBv+sgFlnIk55+CXIPn8CjJS0tvBqAcOeJZjf83HAvKLXbl+Rasxz15h5fCVMz4tpV7uKYW+cIbVYCpqpGaMe4BwbYqkx2JOrLoKdrl47XspPS6q06uXclvaHTwsTGCJJhu/semWs/1A2B8Y3Mu0w2Tle8CbXqym8fGoke2x8qwIo8RZjYjzYF9g== 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=bn3T73e/uSY9uCIx1OSqY8lRLsFei9EgE2WaPv+dYaQU/YLBcinISjIqw5IBVlLa87t4+6rJU2FqMUiCVSWVh1bjz5vXGW+jH9qso5Qm3BYUwUoz7dAoD3J9nv4JrhZn7Mx0p/w3JdR/acvj/Js7LmITeHp8AIu/ltlgnIR3wfNc9X0hiUR27B0F+eSVzrCFuJqLkLxVPFjYzrJ9VKwVN9XcTDGzaSKz2UEvmyGhesM9dfpQ/a0W+VFj0K2Y/RgIbkOZ8BWzMErJX+OWQCzTcVtxjO7G5UQM6C7brryX/B22DBM56ueqs6AKQqkMrAOJsiSomX5Oa/qG9usfTUqomw== 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=m7c6JbuaFM654I+88aLFXjkJsCXS8srTmSUhWVQ5j24eDGaiiRLXJrrmHazA8DTMEvqDlSaVl8w8mN/sbwZLbpubPp9Eaos6JSVnot4drcu+pBupX1G57Rsho2p7C47k/EHOLpgRuFDM5AaE4ugefo5zmvODRTJ8m17C1cvxse8= Received: from MW4PR04CA0180.namprd04.prod.outlook.com (2603:10b6:303:85::35) by DM4PR12MB6181.namprd12.prod.outlook.com (2603:10b6:8:a9::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6609.32; Wed, 2 Aug 2023 21:12:11 +0000 Received: from MWH0EPF000971E2.namprd02.prod.outlook.com (2603:10b6:303:85:cafe::c9) by MW4PR04CA0180.outlook.office365.com (2603:10b6:303:85::35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6631.44 via Frontend Transport; Wed, 2 Aug 2023 21:12:11 +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 MWH0EPF000971E2.mail.protection.outlook.com (10.167.243.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6652.20 via Frontend Transport; Wed, 2 Aug 2023 21:12:11 +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; Wed, 2 Aug 2023 16:12:09 -0500 From: Sivaprasad Tummala To: , , , , , CC: Subject: [PATCH 2/2] test/cpuflags: remove RTE_CPUFLAG_NUMFLAGS Date: Wed, 2 Aug 2023 14:11:50 -0700 Message-ID: <20230802211150.939121-2-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: MWH0EPF000971E2:EE_|DM4PR12MB6181:EE_ X-MS-Office365-Filtering-Correlation-Id: a9e4e983-61a1-4915-fc84-08db939d2340 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: O1Yc2ccptGBnhIBdCx/yBs+hN3Gh9ulE0SyGbTe4Fs6rMPwyBonx8W1c2cKdnw2KaLNsVgsBrefvZOc5jFsqU0abDo8IueN864f4ggW4VOkSNQQoCVTlu6x+GR8yh2drKdMnLgGDi/3alSJxYqDp9XWKX91L6Ui3KFoTmQo9FqVpgC+uOcOxnnG4L4Xr2+vcFE511AjiumSP8vYiv+DibZLTh7gKQ2cS87VWNA99iu/w8TCGAJH5vvfydXTy36b8bCV+9rpNlwhGqAfYL2g2OU4vtCu/38gvcdbwOdniC09FNGC8vWaWIqJpcn/j5eRSFwPz7BLMrUC2rwvw4isqyRaTGatpsMeRqlwiVThAE95sVmKR06POl6h0q/RuI+G/KQm5NfBUPEf/FwjzuZvZUNqlbFjA4HSq4AhA574yrmxDeowkweZIVWaSs01n74tM//np23uKcluWHr2LTpqErWHK/7I7+4y5WjtQHAzW9tnw+UO427eEgkfNiqN5+mSckNicbKJPNV8BwEz64N091rqtMhDk7ZNNOe0ZpdrvaWo0aK3PmezKvQjwSD2MlNvZ58Ut5gCAIQhp3XxqtbW2WL3DZFlZgVpC8XQ8My4x0vnjmRNerkYPH63etICm4k/RW9/d63KxkXbypct7RpqpqxeEbBPYAgH4EnZ/0E+5DO0OPTKj/LqpOl7CRQTZp0j0MGiec7nDqWwj/T2DeQFnr7SRKbmmdm8BcXSSCcWq5ucW6F1geLDKAWI6vBdMdzLVtrtqKd97uOTm6FsnjGGNjg== 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)(376002)(39860400002)(396003)(346002)(136003)(82310400008)(451199021)(40470700004)(36840700001)(46966006)(316002)(70206006)(70586007)(4326008)(44832011)(40480700001)(5660300002)(40460700003)(16526019)(41300700001)(26005)(336012)(1076003)(8676002)(8936002)(186003)(7696005)(6666004)(478600001)(110136005)(2906002)(4744005)(356005)(81166007)(36756003)(83380400001)(86362001)(426003)(2616005)(47076005)(36860700001)(82740400003)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Aug 2023 21:12:11.1948 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a9e4e983-61a1-4915-fc84-08db939d2340 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: MWH0EPF000971E2.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB6181 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