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 8D5DD41E25; Thu, 9 Mar 2023 13:10:21 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7FD66427F5; Thu, 9 Mar 2023 13:10:21 +0100 (CET) Received: from NAM04-MW2-obe.outbound.protection.outlook.com (mail-mw2nam04on2070.outbound.protection.outlook.com [40.107.101.70]) by mails.dpdk.org (Postfix) with ESMTP id 95B604111C for ; Thu, 9 Mar 2023 13:10:19 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BX+Fu0nhy5dwUurHyqQeyOEn9729Y9/gK9kuW3yf7pmeCEWAdFCw2KX/QfN4JnApO2srcz4rMhp4qgUqnyr+UyU5t4kgtK9QSvPCDOlgnfMIjDJ2VgNKDdvW9/nnRKVRC/NP/VXAeQ4NMqTTN89dFUmlR9Ro0Rv4DFfnmkw7xEpG3UOqa1pcTZGaXNMpcxXVKUlVnHCtpWjEkUum/5hVe8DDb+/3Jx0QbVNToFPoAs1wWimy8xBMwmxYhuarnMxEgqboIcnYQ2sUm7texTmv2iGqCOpIjO005rjAK7VhtW7CDLn0rL1lLn4E75GDK40qk+webvqJdxkLPMenha1D5w== 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=h4NsMiTdWiLsEr4GqBd/UZ9FguSCzL1IW3B11WOUfck=; b=n95vHvq6J7mN5h0F7pbR49MVDnSvpWfW1kcjiFZBKTUADlxIOgHlJLYJskOvGqbpJTVn4OVDEvJLM9WX1BQHK7gbxJRzWsbeZSHcrRdfUuDNXp4ZYhIfsNNPvligUEeSzSurrm4gG0TQUkDhnYVaKxZVXnj5Vmqfa9yT+HKWv5gIeY3GDrw7K4i3+LGzWF4qUesXOHXb3/16ZfvvQw3WnyoUiJn9nqsKAneGty648+1q4h3z8PEHGBDnXeLlUSFYd+OWhQwwDa8hW3X2ruS87SM12dMcvOR+VzyUcYRODaKWNzZAC/2hTWzPI3rXAGgnpYxXs3oFePpVvehAkz0BTg== 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=h4NsMiTdWiLsEr4GqBd/UZ9FguSCzL1IW3B11WOUfck=; b=t5+kLG4Z5X0iHLwDQHOpZcqQOe/nyeWY/dLDS7zvaNeD/y0icATx30fgfX0c1ozQs8lJmhooFn5iHJmtlfltRAoiMLtOoy2/mtVRhQ2N+qGx3A+Ebz1rjH6U4stz0+Tb8SEjXsmyhrqpbbw04ajD8Klxu9rxTx3Vrlchu5w/E/o= 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:17 +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:17 +0000 Message-ID: <57c3847d-5839-d622-5c15-9e8069b05cd5@amd.com> Date: Thu, 9 Mar 2023 12:10:12 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Content-Language: en-US To: Mingxia Liu , beilei.xing@intel.com, yuying.zhang@intel.com References: <20230309103142.276726-1-mingxia.liu@intel.com> <20230309103811.277553-1-mingxia.liu@intel.com> From: Ferruh Yigit Cc: dev@dpdk.org Subject: Re: [PATCH v2] net/cpfl: fix a compiler issue about virtchnl opcode In-Reply-To: <20230309103811.277553-1-mingxia.liu@intel.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO2P265CA0109.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:c::25) 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: a4f2d6ed-57a9-46ce-dd65-08db20973f34 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: knf6JPb0oQtIIXU0hoKF8A5fBD3b44+SlhoB6V0bXMphQuRlonLV/MsKgpKdlhOrzhJ3w2JjrtT5fsVyJeKvs2zKP8vYgmUeEe3OQAKyR+8LCobZh+lfIG0qprLodcFxKuAPHakdcxMkdCwvULzO/LXXzBugIumpBHQPq3h8fk6RZRvfvX2CIUBQYIjutqlOoozK7cfhQ+H2pLMkeDL4KvK9XMYOQzGJbx+zqwRLspQgMmGX1TTqd76K8ZBjz9clwjkArHYkeyjyEq4UWuU13BiF/3vHss7si0tT1z8My28Pco5+LDtH8KLRtOphRsEBq32NmMzywR3/lLcC6DI0HrItHLYpZNpGk5do1Z7IUIU8yYwzPLckGi9cc1kKq6CMx2fIjduXt79/8nXD4kNyESIizXT0ux2Ny5MTN2cJTmkjt5GzBLWCkbeD2X5oxNytHIBZv/7i4BQcpcMf0F78/Br++BCDoU+NiJXCfDFfOVwuo5avzni5UagaJhsPGkYyUblMcUCPDClpa+3/Zima25ZJQuY7z4AEYrZF1d1iv/caimADi4LcCGfL/L9UOZX5XhEmBEndmTzvh/0EXLjyd5OEbjOm+Ugum0dSGOiwmBvWXAalEixree5HB2a+SKdCgS8O5KAVpheHmKZ8BoylR6YuAEXtHXgR/FyWQBeJ0gUUCvEEYGjJpQNuz3X0r4dH9F+bU+f5QKvkYb4ONGfgIjPazHUBIGdSA/Fb5EpyJfM= 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)(316002)(86362001)(478600001)(6486002)(6666004)(38100700002)(6506007)(53546011)(6512007)(186003)(2616005)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?ZDk2YjJ1aUVmbzlBeFVZK1pHdWZaaEY2RXlHV1BucytCOGpES1hFaGxCR3hN?= =?utf-8?B?SWhTbXEzYzg5VWRyYTdsVVJFR3M1dXR1by84dCtzY3ZMU29KcVFhT3RLR1VL?= =?utf-8?B?Mkx6blhHYzA2b0p5Wkw0SXhYelFRYkNqSHN6QkJuM3N2clJVamJ0ZEJjc25j?= =?utf-8?B?a1pXZjlld3RzQXV0ODl3YUlkeHh5cDNtR0NEb0JhNHZja01zNHpjc2srSkdM?= =?utf-8?B?Qk9oL1hzY3k0M2VjNWVxanorN2lCUVlxODNjUDlESVVXWWVQdnBSeWNiSDNq?= =?utf-8?B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?UVhTdXM2UVRvdWZaaUtvR1M2elYrdnNFaVBXcm1PMnJSSlErWjE5V1hqbnho?= =?utf-8?Q?y8MuyngMNK4gVLmHjIeXAna1K?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: a4f2d6ed-57a9-46ce-dd65-08db20973f34 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:17.8307 (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: bndvwsBzaKnUkp6TWMh4B6LO7CQqLZv8UkAdKydfn/qD6t57mAsbMCAyL2cIryS9 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 10:38 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: 20618563b81b ("net/cpfl: support device initialization") > Fixes: 2d823ecd671c ("net/cpfl: support device initialization") > Signed-off-by: Mingxia Liu Reported-by: Raslan Darawsheh Acked-by: Ferruh Yigit Applied to dpdk-next-net/main, thanks.