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 B6DAE41E25; Thu, 9 Mar 2023 13:10:12 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 691BA40ED7; Thu, 9 Mar 2023 13:10:12 +0100 (CET) Received: from NAM04-MW2-obe.outbound.protection.outlook.com (mail-mw2nam04on2048.outbound.protection.outlook.com [40.107.101.48]) by mails.dpdk.org (Postfix) with ESMTP id 7FA11400D7 for ; Thu, 9 Mar 2023 13:10:10 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HslWznQsJsHCLC2S6FdY4FE7Y8Fjl8n5gITZw3ZcKID1pgUB+q5gKNytWaWiEeGenFvVmkDtmcE1xokpCXgWKju1vIJLPJ4cGqkxK9x2Q6l0mZJd6HuPkjLvy3FfEpsn0+XrCkDFy+T6AT/3OuofyIdAP6UnFbPwN/vc3mi4BYITUwXxEEEeHUWIvpoLvVo41pbDohnhQav9xDoTarJUWif2fQ0kW7WlcNgPYgis+inB2wzPtwWrbNArGxhtGKuqVdxSaTYsKT5Kw4qDOMKW2oeULPcD3MHVufbUmSOMJYq4kzoRg/lO2lGrL3WvNUIEWwYkHkSy1ShjMm4uMWhe9g== 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=7geedkdzXrpPNulEIpgEozcoju3v7+FkrF/rYlBJ3N4=; b=mv37/PdIa4XfbVDk6YmlYHf/bJx3oEAOgj6GbvW5brW5rNrCjDYw3Senr14VcC0Q1H5b1ZVgxAdER4IMymDMokBNDe5EWFZpZeKFNmaAuR2K+xXq5tlsO6r43eHxe5YqQVCJMCkZpDwQQH7YBDkgPGxcvgdUXLWephWjUOFcOKkCdMRpXqAsNA7rRmKmo14C9X00scGRFzECII+XD8iVUcVJKmHwxEKd/6a53kuuln1KJ33ZUwhQtgsXihENMzCEZCX+griO3UobfOFoMsCa6LiW5ajfLxTqcAiB40JuDRcnmC+Q1XKgisMyChZH0PFT8JwI5DuJlMJBrQCdKshZPg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; 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=7geedkdzXrpPNulEIpgEozcoju3v7+FkrF/rYlBJ3N4=; b=oHpE0vrXCy/1kGrSQX7aSQk9tsdHFdW0HDXottjHMPipOowXMIBVyVInAdZhhYIsj8HuAhJ0XqBqpfh6LPI/80/ylo3/Vvo2nUee2JxyzFA0dVo4Iwg0Mb8C2pO2ILvL9SzCUlUeUFK8CI/+D6GsoOJwd3fS334SmawQR6yz8Rs= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) by BL0PR12MB5506.namprd12.prod.outlook.com (2603:10b6:208:1cb::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.19; Thu, 9 Mar 2023 12:10:08 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::dd5a:8a5c:f493:9640]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::dd5a:8a5c:f493:9640%5]) with mapi id 15.20.6178.019; Thu, 9 Mar 2023 12:10:08 +0000 Message-ID: <6a98b602-0342-2cde-3aba-ebc0135519d7@amd.com> Date: Thu, 9 Mar 2023 12:10:01 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 To: Mingxia Liu Cc: jingjing.wu@intel.com, beilei.xing@intel.com, dev@dpdk.org References: <20230309115219.278021-1-mingxia.liu@intel.com> Content-Language: en-US From: Ferruh Yigit Subject: Re: [PATCH] net/idpf: fix a compiler issue about virtchnl opcode In-Reply-To: <20230309115219.278021-1-mingxia.liu@intel.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO2P265CA0100.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:c::16) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|BL0PR12MB5506:EE_ X-MS-Office365-Filtering-Correlation-Id: 30e7b426-a94f-40b7-4c67-08db209739aa X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: BGTICnDPH4Czl0OSbSNYxbd23dxpJUP+ugRlu0ADwrzVH7AK3l6BhMbioCuDHPNMwagnOUgja68Q9GGTBwVUKnj6wp7kERvkDMy+pSoUu/hSo0JoNdj2jUQ9KW+XpyO2i5l1aMi+k/TkX7e9opA9tRJsPNsd9E8UCAxts9q89BkO0KCtEwLbgpxxvg0XI3lfzmBar8SG1r8Y4rIn4r6fLFBRVaWz2eZE6JD3c32vu5/wXqgDD9lHRpjszw4DHGjPA6yxLqo3TDhGj6FOoArvODk8ls68zkqZzq9P5CKH2f5vv+TWIRNoj+qt7i0jB2YcxW1XDA2jBPH0fcnrEPPtkF48hz2YV1W3EbZgeAExXAXG03pcqRzrIYhy73VHu2Q6bt+gMEze40EHaczLPT8L96DlmQHbdDiqO00zubQoxe4q+YKdpMx9P07aaTUcjSrlEN8HNj2rG0M44l2BASKGiqcKfCasVsx69kPvF75FsU11YsTAY4fgeeSmg3ew87LB0KaaaXiN4IN9KRkqzF+jMPZaki4okzNm8/YWlfWFnVq5MF5/8hJgxmM8twgszHWUoMtq21/FioO0bbAYW1UJYFUvxXgxp38E+FV3Su9rF/uxvSJALrAccOEXg+38gHqaqAKoDgmA0NeRHNrWquU107+d0aiIJOwahwt9VVLPk7axyeDjIH6q2U/NVAbE1waxLzJBI/er2jOtOleaYg28x1hCYFKgS2DltZ0CbA2F3rY= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH2PR12MB4294.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(4636009)(346002)(136003)(39860400002)(366004)(396003)(376002)(451199018)(66946007)(31686004)(44832011)(2906002)(5660300002)(26005)(8676002)(8936002)(36756003)(4744005)(41300700001)(31696002)(4326008)(66476007)(66556008)(6916009)(316002)(86362001)(478600001)(6486002)(6666004)(38100700002)(6506007)(53546011)(6512007)(186003)(2616005)(83380400001)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?S0Y2bmhscGhxYnhxcHc4K0RkWFVWRGxIMHhUTmszQk4rcElPU1BITVQvU0xi?= =?utf-8?B?YUNKcFIrN09xZ2ZKWjBWQVAwTGd4NjdZMTJlTWMzZURvWE9DMVoxZmRXbnlt?= =?utf-8?B?a0VLeEhLWmE4ZXplRStybHVHbWRvR0JjbEdvTU0vVENwUVp2aXFmSVFlSTN2?= =?utf-8?B?MG9LOUV0KzhBMXc5Zkh1Q1AzSlhtcUppRGNiWWljVFR1QlE0U2hGL1BRVE1Q?= =?utf-8?B?MDVoZ01Od1VZc2YrenJ6M0IyM3JMNU5oNE5FV251OVplckl4bVlIVmR2L2VF?= =?utf-8?B?TW90UzEvY1dqY0Nra3g1cXp6QXJmYWU4TU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-8?Q?/E6ieY9UcG+E+71bManqX/1dl?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 30e7b426-a94f-40b7-4c67-08db209739aa X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Mar 2023 12:10:08.5169 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 1mM2UasBfZmP5c/Un8dh9DVvuZDT5JeogtLSM0GrrVg33mvhYJYvayxtJZeyqnPJ X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR12MB5506 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 On 3/9/2023 11:52 AM, Mingxia Liu wrote: > Comparing an enum virtchnl_ops variable with VIRTCHNL2_OP_EVENT > will cause a compiler issue, as VIRTCHNL2_OP_EVENT is not included > in enum virtchnl_ops. And the PMD uses virtual msg opcodes prefixed > with virtchnl2 or VIRTCHNL2. > > Fixes: 78049b3dc7e6 ("net/idpf: add alarm to handle virtual channel message") > Fixes: d633a4859c98 ("net/idpf: add alarm to handle virtual channel message") > Signed-off-by: Mingxia Liu Reported-by: Raslan Darawsheh Acked-by: Ferruh Yigit Applied to dpdk-next-net/main, thanks.