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 2289645B99; Tue, 22 Oct 2024 05:43:17 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 138AA402CA; Tue, 22 Oct 2024 05:43:17 +0200 (CEST) Received: from APC01-PSA-obe.outbound.protection.outlook.com (mail-psaapc01on2139.outbound.protection.outlook.com [40.107.255.139]) by mails.dpdk.org (Postfix) with ESMTP id AD186402A3 for ; Tue, 22 Oct 2024 05:43:15 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=J/6fdvrchhjtCR8O5gPBbvqazviR0ST+5MXxQrCSfQkUNV2YidfuITvKBxuwO2RP3/p1WlGWQkhmLAUTbMwvtLkRhJIAlCmUwFkWheSb0t9qJwEMvzEjb8/JuJPoOhQ+qF/moIRJrzbwQ0td5oMpennKRNV3JHK7q5A0UHwYt+hRAsw29Yz7c6TxdlsanaqSNyx3+M2KuJsKf7amNw1EWw/F7Zvd2TMhVc3l5wLWcKscdpR5miAu9Ww0/tCECQCoQx5dd6okhiUux6bcbTKP6U13+VHQ9QsGxRu9MJDDW2+y7vdCX2Edcn+Gc5Mcfbt17aOC+13vw/kpEe5lZqVcJA== 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=d0hu7Yz8XscetnoTu/eundxYarwWaroyP6vrZJk0i2M=; b=fh9GaCG+BctqWuIXqRNe62vzpobNpmfTFfFBkwlDzAKuwPf9vPxzqCa680a5FH92ZTzbDgZD6Y3NzAdqIJLhKC8p/fZbKlsqHJReAjzBDnW+j7Qd8ExdX5Wvneu+imkKCVtmAfxu/bswWz1DrEaEcGU/WlcMdmYc0yxeukGNCYk7JvHQ8YKwk/141Ns6prSecet9O29QMtoOtKr1886GN/ds0gkzjGowpkuhXHKkAL9sfoSrMG3OpDqUlwi7shsrSP/m1rCMlNrzp+L6xggD9dth/EvNgDvm+3doVlbY8PIiN+VDkzynK6I2fx5a+fhgcBhZpLXiJbnQ/zIh8xHqPg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=d0hu7Yz8XscetnoTu/eundxYarwWaroyP6vrZJk0i2M=; b=F7IUuuTzQ7YmxqV47ppoI6A/oNzfR0Qe2Ns6eSD1mUSMSNfWMPLijjuEhfOerGmC0XPFxz0mrZeGaKnUzr6qc8gkO5+IoQ1rlvGNfTESZpkYBNTPA9frT/CyeAjgXn/oc4vk79jWOoNMaFRpNJCGhdP6RWXAFuyFIG+Wu1oca9I= Received: from PSAP153MB0581.APCP153.PROD.OUTLOOK.COM (2603:1096:301:9e::14) by TYZP153MB0643.APCP153.PROD.OUTLOOK.COM (2603:1096:400:259::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8114.4; Tue, 22 Oct 2024 03:43:13 +0000 Received: from PSAP153MB0581.APCP153.PROD.OUTLOOK.COM ([fe80::c46a:d274:8a34:6b12]) by PSAP153MB0581.APCP153.PROD.OUTLOOK.COM ([fe80::c46a:d274:8a34:6b12%4]) with mapi id 15.20.8114.002; Tue, 22 Oct 2024 03:43:13 +0000 From: Wei Hu To: Stephen Hemminger , "dev@dpdk.org" CC: Long Li Subject: RE: [PATCH] bus/vmbus: remove unnecessary packed attribute Thread-Topic: [PATCH] bus/vmbus: remove unnecessary packed attribute Thread-Index: AQHbJCtgJ6HsDmT2SEeJPE63pa/tB7KSID3g Date: Tue, 22 Oct 2024 03:43:12 +0000 Message-ID: References: <20241022023728.451151-1-stephen@networkplumber.org> In-Reply-To: <20241022023728.451151-1-stephen@networkplumber.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ActionId=81d133a3-e8cd-4890-86c6-35f91c39f93e; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ContentBits=0; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=true; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Method=Standard; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=Internal; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2024-10-22T03:41:34Z; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47; authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=microsoft.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: PSAP153MB0581:EE_|TYZP153MB0643:EE_ x-ms-office365-filtering-correlation-id: dfad0a5b-5304-424b-0105-08dcf24ba770 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|1800799024|376014|366016|10070799003|38070700018; x-microsoft-antispam-message-info: =?us-ascii?Q?c4NAVuYUP6hsWr3Jgb2/eXimocjwJbrR/8SvMKi8S+0asm0l/ZrBi3NiMvIA?= =?us-ascii?Q?DpQxBNoESTKIFdimOfqseGJq8VQLe6B3odZBMy33hKQFLwJsdIRoPc+kGU6L?= =?us-ascii?Q?go6PbgroUGwxAKC0DvNQi6fJiAX2rCIu8hZqexEUhlInwbhokREaGh6iWNr2?= =?us-ascii?Q?WYp1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DUYDYqb9wZA8cr?= =?us-ascii?Q?U8MFHaSbdls9YvhQLCBAsAI2uqS7/5kCmquaZdCE6Qpl5QW2dwYjjuVFAI58?= =?us-ascii?Q?YPIepyUMA8UjD9sYUCdenA2iEG+CnBfl38Cjm4ToMkS9vFSwXhQSItGfbnyQ?= =?us-ascii?Q?6DcPLzDUccgdIOmRhiRftLFYYBPVQp/VucNeOk9hV5/tRZcDeCB/upTju8UO?= =?us-ascii?Q?K45Zsro9V+y/+w2GIfIVtjUqGf02qgm85+2516i8F8Pg9a8NShbcH1gQikz/?= =?us-ascii?Q?mQ9aHZm85gOGkvjAzMRUOIw89LldhHsqDPrYjFUVmawdmYvorF4GwLM+uHQL?= =?us-ascii?Q?cvgxn5Q=3D?= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PSAP153MB0581.APCP153.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230040)(1800799024)(376014)(366016)(10070799003)(38070700018); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?JNJIWuR8Ay5SeDjfMxoM3PeEhOMHZGlMlIVshI+n/3InE0zdhYq/1NPI14cL?= =?us-ascii?Q?4CvH7GwaEJ1RpSYvlovbWnw+Up6hbfI4O/ZpCa0ASbVpJ4aza9Hj+NZpsRB1?= =?us-ascii?Q?mwNE1a8J0Gcs32S+q1HJAAD0hyQaZoEYQYBQOO0ZSS29DWUESmeG6J8+uJlO?= =?us-ascii?Q?yGypftwnDQUodJxsrK6em9QQ+bw8M0ww6Oz4PqA9blt9c31EyzvDGfYT6/fI?= =?us-ascii?Q?JMlSKyJS7I9lSFJEWo92vYCDpC0n6yx+yISv+N+eMaYqumUKlu1L4GOQHtrC?= =?us-ascii?Q?+J+GhWcJj9Dc12mE0J8FnUSr+OnAis7x+yk7b7yvI2k27L13PI9eDAc6XQvV?= =?us-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mwlbJ4cbHjSBdWZP51RLvFgQZAU?= =?us-ascii?Q?eBoA4yeWnMl0NR+rS7YcLQw9cyUj5tO9kh5baV3ZfWDgzTkr/co94RF7vAs3?= =?us-ascii?Q?lMiYncsq9z+ek9qWh3XYvzUlEvwHl5d5uRt534QbuD9tZvtp5yWR3YMIfFHd?= =?us-ascii?Q?IyqtVRzb/x+U0boIiMh4CyoGJ7ulJYEHDbl1xdjtWS2yPqepBem+CrQNsIJP?= =?us-ascii?Q?qtxALKBpLyZY8l/qHn6NmcA94qkgckQk7b9bnmIs1MuPdqOsmWTZukYw6B92?= =?us-ascii?Q?uig97ehfAaRgqy5gnFDOJyUgOJwKK/OnOgTpFVi09cMbLL/ZQiwgyS3Y5Mri?= =?us-ascii?Q?7RuQo4qslqNJqvgbZSymVlDqTOE4XzlNrv3Eq15FGj9Nh2HCUcHz48IChgaj?= =?us-ascii?Q?Hc2BCtUFD66ZIjFRD90lf38=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PSAP153MB0581.APCP153.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: dfad0a5b-5304-424b-0105-08dcf24ba770 X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Oct 2024 03:43:12.5071 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: y+s32hfvNOpEaX4mxFcXgsbEHTtcdfqQzTDtnEEUwDBksrwCYJP9G8RiM6RxV5p2TdxzThQqo5S2aTBypOZc4A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYZP153MB0643 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 > -----Original Message----- > From: Stephen Hemminger > Sent: Tuesday, October 22, 2024 10:37 AM > To: dev@dpdk.org > Cc: Stephen Hemminger ; Long Li > ; Wei Hu > Subject: [PATCH] bus/vmbus: remove unnecessary packed attribute >=20 > The VMBus ring structure was marked packed which will cause warnings if t= he > no-address-of-packed is enabled. The structure is all 32 bit values and t= he > packed attribute has no impact on the code layout; remove it. >=20 > Signed-off-by: Stephen Hemminger > --- > drivers/bus/vmbus/rte_vmbus_reg.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/drivers/bus/vmbus/rte_vmbus_reg.h > b/drivers/bus/vmbus/rte_vmbus_reg.h > index e3299aa871..c4f2fa4c7e 100644 > --- a/drivers/bus/vmbus/rte_vmbus_reg.h > +++ b/drivers/bus/vmbus/rte_vmbus_reg.h > @@ -108,7 +108,7 @@ struct vmbus_bufring { > * !!! DO NOT place any fields below this !!! > */ > uint8_t data[]; > -} __rte_packed; > +}; >=20 > /* > * Channel packets > -- > 2.45.2 Reviewed-by: Wei Hu