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 46B2EA0C43; Fri, 22 Oct 2021 18:41:03 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 01733410DF; Fri, 22 Oct 2021 18:41:03 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id D505B4003E for ; Fri, 22 Oct 2021 18:41:00 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10145"; a="216254325" X-IronPort-AV: E=Sophos;i="5.87,173,1631602800"; d="scan'208";a="216254325" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Oct 2021 09:40:59 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,173,1631602800"; d="scan'208";a="527996131" Received: from orsmsx606.amr.corp.intel.com ([10.22.229.19]) by orsmga001.jf.intel.com with ESMTP; 22 Oct 2021 09:40:59 -0700 Received: from orsmsx608.amr.corp.intel.com (10.22.229.21) by ORSMSX606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Fri, 22 Oct 2021 09:40:59 -0700 Received: from orsmsx604.amr.corp.intel.com (10.22.229.17) by ORSMSX608.amr.corp.intel.com (10.22.229.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Fri, 22 Oct 2021 09:40:58 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx604.amr.corp.intel.com (10.22.229.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Fri, 22 Oct 2021 09:40:58 -0700 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.102) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Fri, 22 Oct 2021 09:40:58 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NXDcXpMi1AjRw7nAMu2BNWMxmLbvXyaohao4WPNCNClc0K4dgiYhp/pG8ntpMat0FXFGHMXd7STD91jZQqqvkGDRsBKYiur4gfMi6quSawngqZHLVAcnXFaqoGlIkbP7lwaLbUkYbxKA75BJLuK+3bUvByK7xvHA5bv/HVkNtggmYX/vPa2y+6G28gB7Uxi2As3WPY9gjeVfwq0fknsL41Unk8EQGrcXqHus1hDbusSCYliOsWqs/b/zOCfHLgypuiMU1iWiGqnNWX2Nz9FZ+LIM8f6U3MnPAyXPGI7KRkJPZAlfzfO8nYolzHnYx060twr0w5NfEAO0ERndw25zAQ== 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=csoi8HqfEAGl7lemE3Ig04o3+zi3S8DOsjSiO9W73vo=; b=GKKhK+ZOJtwRu+sVkYk/kPWB1lGNSHRJyhrbFmM83sp0bV2wvfKoN9l7LEw4ykRzKu+KoYSye9cLc6CuOTRLj9l/Yyaq0f8+QsbpCyTEvp24a6ZuAoxj7awPmR05mAeurnlGL8R69qlx6h3PL7q33JPuHn014Te1v0y6iYpjvLf/xu7ERD+QMhE4CvSMD0CAqNPc7GgMBEWws13KuusMdyarQ3PuamcohrlReLsGzPgdWh+4nCURoPlvDx5wKk05o+uFW14jBEooihcSvfc/c/jnhhXdIAFtTTWETtEsqcVTb34sXYkFrqpDC7ktOSu+npz++NrQmGX1ybD407BOZw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=csoi8HqfEAGl7lemE3Ig04o3+zi3S8DOsjSiO9W73vo=; b=WSPGGcURIkGeAgwzZ3EvkEwBh/vzBWcoEEzixhNHOzIvMcZNFHEm4s+tXPKQl5z/PBDXZb3SSHif2W/Ui908spIpsXffrSF25zQOIAd9tIC4IW9EGHLySZ2vLuQlXjI7H0n+hp8JOMfFTmY6QmQ7HNpjYTHhNOFbUq2f7xlwFV8= Authentication-Results: oktetlabs.ru; dkim=none (message not signed) header.d=none;oktetlabs.ru; dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) by PH7PR11MB5887.namprd11.prod.outlook.com (2603:10b6:510:136::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4628.18; Fri, 22 Oct 2021 16:40:58 +0000 Received: from PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::bd7d:29be:3342:632c]) by PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::bd7d:29be:3342:632c%6]) with mapi id 15.20.4628.018; Fri, 22 Oct 2021 16:40:58 +0000 Message-ID: <6e301fb7-b1f7-769d-cbc3-92502cd2a27b@intel.com> Date: Fri, 22 Oct 2021 17:40:50 +0100 Content-Language: en-US To: Andrew Rybchenko , Thomas Monjalon CC: References: <20211022072313.390612-1-andrew.rybchenko@oktetlabs.ru> <20211022073002.392299-1-andrew.rybchenko@oktetlabs.ru> From: Ferruh Yigit X-User: ferruhy In-Reply-To: <20211022073002.392299-1-andrew.rybchenko@oktetlabs.ru> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: DB8PR04CA0015.eurprd04.prod.outlook.com (2603:10a6:10:110::25) To PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) MIME-Version: 1.0 Received: from [192.168.0.206] (37.228.236.146) by DB8PR04CA0015.eurprd04.prod.outlook.com (2603:10a6:10:110::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4628.18 via Frontend Transport; Fri, 22 Oct 2021 16:40:57 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: f436a7dc-a3f9-45ec-7329-08d9957ab970 X-MS-TrafficTypeDiagnostic: PH7PR11MB5887: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:309; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: go1gI3wSYY374ADzxM155UsAMTM4QRqvPfUkPP+dQpj2bB7AcocI+gJQmB4pRYHPcQuYjhex5QOsXNBwJ/GYAXrGoURsT241nzYF3+TU6mDAuJjl1XtHWxWVbyR95lu+AfUywEW8Ytlr+ml2WukS+m915VGLjwSilOamrBAaip79xZYD056xfIk7+yVOdKo9fiYiQF7iDDCWV3FS4mbc1GIoUm77so8BuvQPqu31K+anRGO2M2NvM4VWyMJRPKowebkrL31UpNj4hJ7iOyLVk3Q17UpZtmbnWGU+G2/GeRCYE8Ya1aBsmEFeCL/XPrKmg3tbZZ4WKb9ybirFUdVS2MFQpobRpm+ku/yxyW3YhgX4M0csClfGOjsRf/FH+lounhsLjXwLDdbM86v7FxyZfhMV1tVwpLeD6zm2EM2A+2allqG6lFoAc3k5huDjZZ+SXhb9E2Mzf/OZ25gdGR+WSID35268c4LMR/gyfXKlb2CaeTOxbiB0Hz1rVgZK2SxEBJ/2KJJDSLGora/dfjjgeQoYNFW8fYQBObk9nXyq9SF/mmoVGgtkPRKFNIrUzn0Pew4vIW8Gyzw7jeA4nvyDIMuNxVuAEqBJcrR2bWKqIiqBjse3j6K1Itm2bwII8O2wlcR8hLF1Ky5SZPm63DfgbUZMTc66l+tkwbuGHxzlq+yhhc+tvjYMbqwlzSZflvTI+fEAgoUtVE0A/h35MGQIYA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB5000.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(316002)(16576012)(31686004)(508600001)(110136005)(82960400001)(4744005)(38100700002)(66946007)(66556008)(53546011)(6666004)(4326008)(5660300002)(8936002)(36756003)(86362001)(26005)(66476007)(186003)(2906002)(6486002)(956004)(31696002)(44832011)(2616005)(8676002)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?U3AzcVZ0SzBicGM5bUVnYW9pSlF3NjNxSk5PQlpPNlVVN3M5ekIvdGQvVjE0?= =?utf-8?B?Y1V3UVFqTlVYU0t5OGVMME5vUXlOODRTNlZDT1FtTEZUcFBOa1dZaGV0WXEv?= =?utf-8?B?bmxmUHBkOExrVlR0TExENnpwSyt0cUpGMXgxT01kdWMrWEo3bWNRb0FhOXZV?= =?utf-8?B?OVJydUx4WitKSEdZUG1lWnpvcFRscXZMNUNOKzVJWFB3YTNhRFRSSWl4ZlYr?= =?utf-8?B?VFhqNHBpWDQyNDcxcEw1MTduTlVmdTZNczE2eU9qdlh4Smd2enFYSlNENFQw?= =?utf-8?B?UWtKNndGOTBqSDlRbEtSZUhmZ3d0UXlrNE5KREZaUEtZbXZDMTNkSHFCTDdW?= =?utf-8?B?eXB6Znc1czBSL3VnR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f-8?B?ZDRPTHk5RHR2TzAybXVsSVBxWWpVZEdFWkxEdmdMY0creTlhNzNFUk0wYUR4?= =?utf-8?B?L0RZU0dXbGYvdmQ3TzdxOXA4L1pqOEdteWNkWTlhUVJGQUd0ZTMwNkdGam5O?= =?utf-8?B?UWlQdU45VEZEdG1aUXNyRm1oU0YrcysvSk5DSEJyOEtHNitSTGVMZ09sNDdK?= =?utf-8?B?Q2hZcC9ObUliaEZBWUdWZ1RiNW83UGJNSHJWK1JMa0RiMFc5UmxuL2xqTXlo?= =?utf-8?B?V0NseXJEekpkTWYwUW5vSkI2RnJTc1lSZk9yYktaWlJYV05JVE1FZlVwcHNO?= =?utf-8?B?Y1g0ZUlUbVZhaXRPalRIRVNjd1ZJYzhMbWsyVWZ4QkZ0VnNySzRtSDFyRzBO?= =?utf-8?B?VVJXNUpYakthZ1RwclRDb05kRndDMzFodUxxdC9KZ28reDZzZnFDVEd1eDlS?= =?utf-8?B?OHJNUk1sM051U2NDMDREYzR1UTNIY3NyUTJ0YUVvcVUwQTFxdDQwUnVpS21P?= =?utf-8?B?amZDTk5IUmZYSUxjU0RtSFRFOXJIYkdwZFhWc3RtOXdieG1CSFdjUkZDbCtL?= =?utf-8?B?R2FicW9GcUR3eENaVnV5eXZXWDdUbzBaTGdsRHdmd3g2dE4xWTZSZGJHNUFw?= =?utf-8?B?ai9wQ1U5MHZaYk5SVm1BaGJobnhEdnI4ckk3QjVvdmlnaGt6eUR0b3VXY2xO?= =?utf-8?Q?2IxYqCARULHmewA5cliWQfgcW4fxkBax?= X-MS-Exchange-CrossTenant-Network-Message-Id: f436a7dc-a3f9-45ec-7329-08d9957ab970 X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Oct 2021 16:40:58.2276 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: ferruh.yigit@intel.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR11MB5887 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v2] ethdev: replace single bit masks with macros 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 Sender: "dev" On 10/22/2021 8:30 AM, Andrew Rybchenko wrote: > The macros RTE_BIT32 and RTE_BIT64 are used to replace single bit masks. > > Do not switch VLAN offload flags since type is not fixed size. > > Signed-off-by: Andrew Rybchenko Reviewed-by: Ferruh Yigit Applied to dpdk-next-net/main, thanks.