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 4932941BBE; Fri, 3 Feb 2023 16:03:34 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 30D184067B; Fri, 3 Feb 2023 16:03:34 +0100 (CET) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2072.outbound.protection.outlook.com [40.107.93.72]) by mails.dpdk.org (Postfix) with ESMTP id 2CC614021E for ; Fri, 3 Feb 2023 16:03:32 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BsOLtC30eavASRiHv+MRATeX9sMBT9IOjrHUiYhnw9eu0cDaOOTg9o7A2CyT4rVbq2A0Tzp4+hPDd6VGPo0cAU/n3xARXJtrid8GyvcC8upHyUYT80KxNob/65mPq+L5RFbs004Lp5ZacQLi7eswvQZAWFzrNdWWBvnRubaYW07a3u1ZiWj5OcUwb1BC9TTXHrCUDiWecqfGqq0bcJKeTOdncPTmV4M1Bk65ncJcwtv0tiX3tB8oQ1lwd6acICgEgDNus22MZfZTyURkr2sgvHp+9kSZmarAJvn6Dfk1MJ8KS69mLLkgOoPt7epEwg05Hn/7MJaBba2IOBveXFvBnA== 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=PECd8/rlxmbDkpHB8Q4SHHH5XajrUMbhftwjwUTeVrM=; b=DU1Cad45bFohm6dpmw8u9+cCwYfUQiwCM1+opqIB7wldz/xUOJi7izu1LyjC2dgeSiJ04rPWcc8GGfcBDKEaGfg+AWDhU7hM4pUIJZpVAz/146ibaC71W+JNa1yK+gfNY0yWoIOHThvfIr17q/IbNhKNVstlQJdKZ5gEEwXSPf5tVkdyy5EOoU7oC92O8GqRHlvRnecMqJGTn93SlY9nbQ+NX6l2XkeZeWB/uX/Wl6q5P0l2xswx9trJuWX5ZJZmb71YGztHlNFcln+M0oQu10eZ8r9BgLhzgSxFvbvZhvYkc//2yaulNjC8piOLVkIQhqHPKOKT8xwRoRf8J5PvCw== 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=PECd8/rlxmbDkpHB8Q4SHHH5XajrUMbhftwjwUTeVrM=; b=kK9LRIyj8PK+AcpT/x+ZNT8JiteBQI7yHBG5/YhdPHE7r1NTe6X9hHUKKGmYWUc6+dbY5Mt3s23MaB0yPKEu7FYG/yMCHtJajmt10H3n0+zo9BPwvCliG5oIRBeV5Xp8XDOpygWvXU6Jpa2rcIpwoPHaquqTw9V0v+nRtrmt6/c= 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 DM6PR12MB4268.namprd12.prod.outlook.com (2603:10b6:5:223::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6064.27; Fri, 3 Feb 2023 15:03:30 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::4807:1f44:5e04:e05a]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::4807:1f44:5e04:e05a%8]) with mapi id 15.20.6064.031; Fri, 3 Feb 2023 15:03:30 +0000 Message-ID: <79c9dcd0-0354-6b47-9b7d-6ae3371ed9e5@amd.com> Date: Fri, 3 Feb 2023 15:03:25 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Subject: Re: [PATCH v6 8/8] net: mark all big endian types Content-Language: en-US To: Thomas Monjalon Cc: Ori Kam , Andrew Rybchenko , Olivier Matz , David Marchand , dev@dpdk.org References: <20221025214410.715864-1-thomas@monjalon.net> <20230202124500.2578857-1-ferruh.yigit@amd.com> <20230202124500.2578857-9-ferruh.yigit@amd.com> <2213442.yKVeVyVuyW@thomas> From: Ferruh Yigit In-Reply-To: <2213442.yKVeVyVuyW@thomas> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P123CA0519.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:272::6) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|DM6PR12MB4268:EE_ X-MS-Office365-Filtering-Correlation-Id: 7effbe97-5acc-4814-b8e4-08db05f7cf85 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: M0vrbyRevj8SuWRDRJy7mSLm7bXYJOVl53HYlpYdvIIsX72HB1xXyGC7GmXQVNKgkK/WOtX4KV+vA5oCQyEyC540x68+j1s4x62yEd2CuHoWQ8F42JOVQpRD0w0+hv6wu9mmTY3ds9v7wZUUQtJYe5HQH4CiiXEfqSUn97eX36yBter+HlkBBi6O0JNtj10iRouynLpZw0zYcRd3Tc4hIXy2zvEvjXCoS9ebBvL0ZkgBSMOVtj2yrxJNBv6KsNJ/RV0PZxgQEPjxx6O+/Ua5oZcc8el5REIjzSboJHUjzNRyAGFZ3BEuKIuqOFv9sa6zCS1bXI1MGIulNhJP//e910Kuvv6uK3gnecjE6aRuch6pxXADHHsuI8JCKCts5PfHWDMxgm+BDGjoi9CNsBK7tFz7LNKOGc3k0EpcMijYNMvOJ+s3qaZ6aqkUQt+mo5Gq9ut3pu4FrqtsJY17TRVa3k5BXUFI90/PbAqrQcQBUXZaWg1e0vz5c6voVx6uL3F/1ImHveJfaoxDqdAvNSvLW3bvdO6FjazOC0k8IzuHhvSforgRdXgcXFkMkCDUbk72xZxZeTuLIdruJL8SXOMbuSuOYynbq4rYm+k9INztAR2IsQGuUeg1i6ktM8ajWzS1WCEl3afWm6HY0JLsmqnQ2cWLCHN2dt1guOQl6OeWKSm4FbOekFyvYtOVdG4x8GEVIUsv0h3liKDqfrKE3dSGUelqdv21f/ERFQ1HYJSx3JE= 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)(396003)(376002)(366004)(346002)(136003)(39860400002)(451199018)(36756003)(6486002)(66476007)(66556008)(66946007)(38100700002)(316002)(8676002)(6916009)(4326008)(54906003)(478600001)(186003)(53546011)(6512007)(5660300002)(26005)(4744005)(44832011)(6506007)(6666004)(86362001)(41300700001)(2616005)(8936002)(31696002)(2906002)(31686004)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?RHZqUUVHZE9IVk1CMVJXckFNTXNOUW5hUnVWZ1NKOEhXQk5kN1BleTN3aTgv?= =?utf-8?B?elo4bTlnYzZuRHN1MkN1UUxCdkd4NE54Z2gwYUV6M0R4Z0I5Y1FoMFM1Wm41?= =?utf-8?B?OG02MnhFU2FSb0NkamxyVVpKZ0FNS3JZcjZURVNtZy9wbHJvaWRoUklyYXhP?= =?utf-8?B?aWw2MzFxRk9tS0EyR1YzV0UyOG12NUJtSkd5cnRRaWRFVitTWVk5UE1YbTJN?= =?utf-8?B?anZCOG9aOUl2Q1VGY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0?= =?utf-8?B?b08vNlVFalRTOUF1VHd1SDJ1bnBna0RQUy8zQ3dHZ0M3NzRURUc3d2REYUha?= =?utf-8?Q?FzkOcQ8VDMfE/w9xl/ETayF9v?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7effbe97-5acc-4814-b8e4-08db05f7cf85 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Feb 2023 15:03:30.2243 (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: 14sq8X7e63CLLLmca/gNhSRsakruMG/dBM4CGSrtyT+HPfVdxs6R9qd/IQl9ohmk X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB4268 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 2/2/2023 5:20 PM, Thomas Monjalon wrote: > 02/02/2023 13:45, Ferruh Yigit: >> --- a/lib/ethdev/rte_flow.h >> +++ b/lib/ethdev/rte_flow.h >> @@ -642,8 +642,8 @@ struct rte_flow_item_higig2_hdr { >> static const struct rte_flow_item_higig2_hdr rte_flow_item_higig2_hdr_mask = { >> .hdr = { >> .ppt1 = { >> - .classification = 0xffff, >> - .vid = 0xfff, >> + .classification = RTE_BE16(0xffff), >> + .vid = RTE_BE16(0xfff), > > 0xffff could be UINT16_MAX > > ack