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 98FC845B5F; Thu, 17 Oct 2024 16:24:26 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 86FE74025F; Thu, 17 Oct 2024 16:24:26 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.15]) by mails.dpdk.org (Postfix) with ESMTP id CD94A4021E for ; Thu, 17 Oct 2024 16:24:24 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1729175065; x=1760711065; h=date:from:to:cc:subject:message-id:references: in-reply-to:mime-version; bh=t9FsLDohKu+ZeWnYvLHtn6XUBmFDJEYGRpPTUZBmXnU=; b=XgYXtKb83K7CWGeZqXWDK6+3qoKKEtpzHxBgMgSWHn4BAXr4isLaixDM 1PCZmwC0doXGjfGpoYvAAFGDOJkLBkJc5V2/uC0cFnZEELxp+/VKSoGiO +epQ0DgBqcO8v89v616wQdMU3KTsbfVjozsmZJdbW7cSettM7XTi2z/Zg B8iCITdCr7VxXy0G1wNHEo/RmjVERV00mZ3u2v1XE6crpFhwC6KUW3AVC L850WFYurhpqRkM8CzB7J3aCekDYBJWAA+3Zuxq/g2lCwXTTNCFE33r89 y0FoNr1URxY2hSSDT9J0zqRrBRBpaeLcBvr31urOVfVJAhuNqkn6hp8nB w==; X-CSE-ConnectionGUID: ZdESURfkTse9bgKKoWDSTQ== X-CSE-MsgGUID: P/QfGyTZQDiPUvskmhd47Q== X-IronPort-AV: E=McAfee;i="6700,10204,11222"; a="32344769" X-IronPort-AV: E=Sophos;i="6.11,199,1725346800"; d="scan'208";a="32344769" Received: from orviesa008.jf.intel.com ([10.64.159.148]) by orvoesa107.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Oct 2024 07:24:22 -0700 X-CSE-ConnectionGUID: GdIQLvTETwaWq5B7vJFJgw== X-CSE-MsgGUID: ZJy3D8BvRi+yFC1QVpjUww== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,211,1725346800"; d="scan'208";a="79386425" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by orviesa008.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 17 Oct 2024 07:24:22 -0700 Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Thu, 17 Oct 2024 07:24:20 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx612.amr.corp.intel.com (10.22.229.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39 via Frontend Transport; Thu, 17 Oct 2024 07:24:20 -0700 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.40) 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.2507.39; Thu, 17 Oct 2024 07:24:20 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=l9FsY2Tl7n0DgLi1zYQvLepqNUR6AO6hzxadY2abuemW1z/clG6W6RH3bPiq3TUCNuQSG3epuXypN0fPW7vUeZMGKQ8efLZD3RRJvZedFcjUtoBpBCaE6KT+5W5PDvBXQFDj8ZHHLVRomaEXsyF+wXI+ZuCxtI+hDAhIz0nku/m26EO/V1WA/xHocWHR1hLo/0i4lrb/CTa+pO2vB3ys9pit0uw0kmsXvOPfR5BcHEq6SPj1FoxTa63/m+RkOFHnGgAY7z+5y1vxOg5QYxpp4egnRXufgUiZBRz4gAHOkhyARvRi+j64p5jdjvulg/Q85xISecP/RYA/Yg86XXlOTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=cwzLn6/gCqU8CEm+DgI3NzvrwdjoLpQGLSWT2mlL2kg=; b=UEU5EHhgxat4VD98T1erw+Z+AgwWBI0YNFqqFeyL/90nmnXTITYWjNXyy2qzYbGMOY+g7+lDhEeL6z67DWJjqdmaDSrNz1OrjmnsObQAiYI6bwJYA0BHSKsphviKMhW4SLpC4bpni8XZRiaA8m7oPR5GOgzG9zAMsF6W7MrncihJhq6mZd9QRDBcOG1lpK8rVHJV2CSO5/nJIC2+p3I9z5nE3uvN15oFJe0lcvhPrUPC1Bzh9Xt5e0G5wxHuu9TDtHiwxqNn36JtOpgSNysC4+zi9UdIl4MM3Wv+9U/Ihh06xwqydycK0+45AY0AmNZfE9lqctl9vAI8o/tJih4XgA== 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 Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from CY8PR11MB7290.namprd11.prod.outlook.com (2603:10b6:930:9a::6) by DM4PR11MB6454.namprd11.prod.outlook.com (2603:10b6:8:b8::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8069.19; Thu, 17 Oct 2024 14:24:18 +0000 Received: from CY8PR11MB7290.namprd11.prod.outlook.com ([fe80::2fa:a105:f81e:5971]) by CY8PR11MB7290.namprd11.prod.outlook.com ([fe80::2fa:a105:f81e:5971%5]) with mapi id 15.20.8069.018; Thu, 17 Oct 2024 14:24:18 +0000 Date: Thu, 17 Oct 2024 15:24:13 +0100 From: Bruce Richardson To: CC: Cristian Dumitrescu Subject: Re: [PATCH 4/6] pipeline: remove packed attribute Message-ID: References: <20241017142214.1669370-1-bruce.richardson@intel.com> <20241017142214.1669370-5-bruce.richardson@intel.com> Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20241017142214.1669370-5-bruce.richardson@intel.com> X-ClientProxiedBy: DU2PR04CA0163.eurprd04.prod.outlook.com (2603:10a6:10:2b0::18) To CY8PR11MB7290.namprd11.prod.outlook.com (2603:10b6:930:9a::6) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY8PR11MB7290:EE_|DM4PR11MB6454:EE_ X-MS-Office365-Filtering-Correlation-Id: 8a3aafde-6b94-43e3-652f-08dceeb76295 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|376014|1800799024; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?cZkNLvC4tY/n+oVGiGA8HF4GPmd7h1EXhfRBt8VIBZuSX5IMse0P2/6shieo?= =?us-ascii?Q?uo7O866Jn/nwxIShtZteiBGkki22h2fRKhqLg6f3rBwpwg6xzC7/NB6o6VOI?= =?us-ascii?Q?KuNaADLpu5VUNfvz0PSRMrbcYlZfv4UwqZpEl2Uydxvgj691KJHXEWmCMfQ1?= =?us-ascii?Q?aW+y+5VmyS2V2I0z278vUVAtcKl25XnnBkvQSkcqt3RoDfstx30TUVVtqNc4?= =?us-ascii?Q?Y+l556aXuDzW5fIiSqhBACew8sJ0r9Os8QM8vDzITKj0UUcyTeMmlde91AU8?= =?us-ascii?Q?K0ahoffSu+553KicOOBAB8jIHK371NqJ/aw4HzTXJwi4HLl2KLZRyUYg0x5y?= =?us-ascii?Q?Z69vC3ybMckMO4ay9JOSOO56Lrhx5jSReLLDbq2IMBSlxFuJXu5iTc93GEQ9?= =?us-ascii?Q?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KYhOWd/8fvoJi?= =?us-ascii?Q?eb4+Gs/G8In588mJP4IavW3j?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CY8PR11MB7290.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(366016)(376014)(1800799024); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?5eM0zLFiic1pCuFOzRly3cSM2POItAgl0QYoTtveJanwx5HEWMBJcV+nhvIY?= =?us-ascii?Q?5DLXFtI/6m2fbstOP+D3BOrukAG8bfHEXLNNomdUjkmjJK+zjoOBZ3luAejS?= =?us-ascii?Q?NSW62JT5vUxySI1zkfpF4f/06/3DUOhDntTs0nOamBvlhGpfWQwiQlpsMPp0?= =?us-ascii?Q?NcdapCiJVY51e8oVKH9bvwCN3qC2if03YFzpUEjMd5yB/DptkIvBUAlfo+sF?= =?us-ascii?Q?MyyDUS5TZwagZeVWDjbCzJnC+Re162TNd3x4qZVrSzgUJnKvjzPi70GJz1s4?= =?us-ascii?Q?34bIra36TCjSBSKaYRJcK+JpCYIe7hPFVTE70SBcld2EIi+XE8JLSBPv3BmX?= =?us-ascii?Q?kBOfCxPduLB9Bw5tvZRHx+dlluyjth3dhwCzMfG9ZjCE96Ec0O8NXDRtZFvR?= =?us-ascii?Q?NvbYpR9eX4UUvmgjv2vDJwuGtHgHzwIi/sXwvkPTkvRlp2NPGgeQXn5BntmO?= =?us-ascii?Q?1kAql5TtLLCT6QF9l81EEqcRtw3oqtv+6mucQSsDYsoCXXWKxjSEMxWq0ZWi?= =?us-ascii?Q?KT9o+1c14jBdEjFomi2I/okMbK/dUcdLSdGV1n3F+bmEQTgWfKjE2fznLIhp?= =?us-ascii?Q?FQErP67nDtdTB3/YdAfeWh+pWT18fFZKfo2xv/TaMJpdWhQp+Rov9NytFXB/?= =?us-ascii?Q?K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i5tMV67whhuO9vWTJ?= =?us-ascii?Q?lXkXEsGN+DP0VKcfETVo9a/tPVFqsJqJIC225MS0A9UUGV37l85eyUSEyc8V?= =?us-ascii?Q?Sw=3D=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: 8a3aafde-6b94-43e3-652f-08dceeb76295 X-MS-Exchange-CrossTenant-AuthSource: CY8PR11MB7290.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Oct 2024 14:24:18.1344 (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: HP5SbuWguphkggRMtbGa0UlTXjL2D9PF60z7TeHpH7So7m5iIF00HnGhwQvI9LgzscwW+nPI88kDx2ztlQXGUU3nE+PdFTUpEhhenWZi5nQ= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR11MB6454 X-OriginatorOrg: intel.com 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 Thu, Oct 17, 2024 at 03:22:11PM +0100, Bruce Richardson wrote: > The rte_trtcm_data structure, and its substructures, only consist of > uint64_t types. This makes packing unnecessary to remove the packed s/to/, so/ > attribute from the structure. > > Signed-off-by: Bruce Richardson > --- > lib/pipeline/rte_table_action.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/lib/pipeline/rte_table_action.c b/lib/pipeline/rte_table_action.c > index 87c3e0e2c9..b3c77dbf66 100644 > --- a/lib/pipeline/rte_table_action.c > +++ b/lib/pipeline/rte_table_action.c > @@ -109,7 +109,7 @@ mtr_cfg_check(struct rte_table_action_mtr_config *mtr) > struct mtr_trtcm_data { > struct rte_meter_trtcm trtcm; > uint64_t stats[RTE_COLORS]; > -} __rte_packed; > +}; > > #define MTR_TRTCM_DATA_METER_PROFILE_ID_GET(data) \ > (((data)->stats[RTE_COLOR_GREEN] & 0xF8LLU) >> 3) > -- > 2.43.0 >