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 7C30A43CFA; Tue, 19 Mar 2024 10:49:05 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9B67A40E2D; Tue, 19 Mar 2024 10:49:04 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.21]) by mails.dpdk.org (Postfix) with ESMTP id 225C140298; Tue, 19 Mar 2024 10:49:01 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1710841743; x=1742377743; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=c96p5dgbr3VrIgoJMwzumLU+G4AHWdI6jKiqdq7cbbY=; b=mlaHggyOEyigRlYvvPQDte4AIntDpgiwAOrcq7wyzPS0WqdyYbiCZABl B0v8bIpwEgCH9720WMzSgIgPof+Dy+vtOa8ar+94CO7bjurJwXqA4H+go lHUbpheuSHtvs0gPKY78x/NuQkbaSwBcZkO1QCDpOjopVOL0lhKxf8wmv 8ezl09ARJezI6pmc/lp0ZiI7M5bDm+NvzKq5A7yX2xQRVxIPhcQuIpJGJ ak4Y9ab+oordRiT4nsJ0bZsuaNIlhdioyN+OrNjg+mk1m5040WXuTbIcX FdezEWCeAOKCG5Pf8sTxNShLkACEUQZ/s3DolTQZqfLfTRh3wWodhPe0n A==; X-IronPort-AV: E=McAfee;i="6600,9927,11017"; a="5630215" X-IronPort-AV: E=Sophos;i="6.07,136,1708416000"; d="scan'208";a="5630215" Received: from orviesa010.jf.intel.com ([10.64.159.150]) by orvoesa113.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Mar 2024 02:49:02 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,136,1708416000"; d="scan'208";a="13655151" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by orviesa010.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 19 Mar 2024 02:49:01 -0700 Received: from orsmsx603.amr.corp.intel.com (10.22.229.16) 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.35; Tue, 19 Mar 2024 02:49:00 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35 via Frontend Transport; Tue, 19 Mar 2024 02:49:00 -0700 Received: from NAM04-BN8-obe.outbound.protection.outlook.com (104.47.74.41) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Tue, 19 Mar 2024 02:49:00 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UR21FSrsc2FgVq56ntVslpM7CIBpqC3Oo15uPGzGcC52NmD82oduUbjkNKzLeKxE2MPac62co5A8wt0YpkPXjuco+RPezAv99yhg1NgXz1UezPW+7Qqwkde35UOuty4LQ73WMr1iClmHwPrsffvcmYOFGBANRk7+Jl6Q3ttuVL2mnfjFd0/6c8sKl/alVrh6574iKcoiNmG1N6mSdfDbgslCDQtxfJSleDvUqmfTG1qOfRPV8bkR1gLIEGWIehhMsJZVU8lDNvLV57roIWvilbaAY+0uxde6nASveMMq5zrX4NcMDRRjZJiUcLLB1DfOS3aaupYOCvLJKT7w0sKAyA== 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=c96p5dgbr3VrIgoJMwzumLU+G4AHWdI6jKiqdq7cbbY=; b=JP1Dz0sUnSi76Qm7/ivaIjGQeX66WKyrI+lWTnGZvS5cO1oZvHlehZg6ab7pcDV+Fexb1jsqbysD43FYvZR2ICxPMxm+kYNpxI5UG/nPAIS2R5EZT1DQ/MQsL6i+rO7vnD3q0lx+I8cnvidjOwrDd3bQSccz3FILOuFhVVOdJ/92W+Kt9a72UO/43b9eNF3ZFfaNUbYAkPDW9mKWNdFD5cMuZxha1G/3PYhLmmKFE30Abo89LsOjObBSDqDk5pHru6vWqJH8ESt0qVKhoEQXatvjXz2AsEpSpLyrY6bTp/qj7YHlk9oYvwCO8qPT5Ea9VuxGLwQANC4qy7gtF2zKRA== 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 Received: from BN0PR11MB5743.namprd11.prod.outlook.com (2603:10b6:408:165::5) by DS0PR11MB8134.namprd11.prod.outlook.com (2603:10b6:8:15a::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.11; Tue, 19 Mar 2024 09:48:58 +0000 Received: from BN0PR11MB5743.namprd11.prod.outlook.com ([fe80::a102:af03:aaea:12c6]) by BN0PR11MB5743.namprd11.prod.outlook.com ([fe80::a102:af03:aaea:12c6%2]) with mapi id 15.20.7409.010; Tue, 19 Mar 2024 09:48:58 +0000 From: "Jiale, SongX" To: "Ma, WenwuX" , "dev@dpdk.org" , "fengchengwen@huawei.com" CC: "stable@dpdk.org" Subject: RE: [PATCH v2] dmadev: fix structure alignment Thread-Topic: [PATCH v2] dmadev: fix structure alignment Thread-Index: AQHadnvrEohcOE21q0S03X53LblaArE+2DWQ Date: Tue, 19 Mar 2024 09:48:58 +0000 Message-ID: References: <20240308053711.1260154-1-wenwux.ma@intel.com> <20240315014331.1376720-1-wenwux.ma@intel.com> In-Reply-To: <20240315014331.1376720-1-wenwux.ma@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: BN0PR11MB5743:EE_|DS0PR11MB8134:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: tBwaU2v6zv2q0u3Jx20VwjFpGWj2i0bTPwDtZovQJ6btc5PYD8e6f+xrYf1uLfZ4SDn2iUWjfYtx6NL+lUYhyxJp32DiP6sMFIY/eEmJlQ8lMnZ35oqr6kniba6/ggXrqwk02FdpKVOeN0KqdU7hEj8t2cQoSqrKG1or8Dz3mtCdwgA9HuN93g3AZlLtmzdOGAvjNmMO6shIa6VurNM6ZGXQ/Gr6fCj47OG101FvgDCKRjBi7cBZPCO6wQOFagzG6qP2m/lcp/Nfu/T84rg36Zq5g7gavfrqG6IFfJZAY5O7PZvlnwR35J2iPr7jVbGXJikKBtgwsmhaZ5V1Y7cy2tFu2avzr6BEckr3b+uxizD3Mm+ab0Y40Uk3kuVwkjCJJ07Aoty0aHAIknQJmCO0ROkDYezo4o5dEEWWuzKqEsVFwIoruU97J1kOp/Wu3/8ODzzVNZnOS++u2uc6BkJDsDFy0E8of+w8zlCIAEwEMSPiQydhbc2XEkyeJqTgO06tUg7IRvr3EDR4w0bE6bZh+ABscMdZp6PBn9/nKb4pADcXaqWTWn9W1YBH2xYumyH3Fw88O2jjt7XddR95mskvpSOjTHAMuhoghtLDd77fxK3lBvBdg2a9nPgSZQEAXEamn6IXEXo+e+QvlrffwL4Rhg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN0PR11MB5743.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(366007)(1800799015)(376005); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?Y5piFIMtaOLo39O+c8Jw4V3Z4KZP6F8DvPNV9W7EXtEJaFKXsbtT6EhjOGQh?= =?us-ascii?Q?cjW0y83e7qyHk3xy8Xsg7xOXLaEQkm889buMgsCte5tP46cFDjAaCMbS7c01?= =?us-ascii?Q?Y8x8bOH7egxhgueHp4qj13MgOUi/LNDwi+Nd4hZ/D96NMnNLk+eE+WvQoqcd?= =?us-ascii?Q?4X/v3xzj9aVzjsM0+QbF/22JerfpusTT9V+SxhIzHA2IIETFzCxop0fc9o3E?= =?us-ascii?Q?EgUSz3qjRWqNBsPvb4doNS1OAyBPYCKpiZpxGISKy1NOOmBYhALRyNv0+kPd?= =?us-ascii?Q?s6nK0kUNSu+rGiDp/IEUTkktDYvBsyJYskTp9b0rrOTW403dpCvlw8sYFUrB?= =?us-ascii?Q?8cew2ZwZnaWSaqiMKsqJOhkfArpQnSV6A9HtODLioRxfcPaG2pL0ZTASoDm0?= =?us-ascii?Q?APJpVXgN1o1loYS97Q8kxlzdKnvwlYttU9Mq+kHF2DfoY3Yjfzfx99QhMMYb?= =?us-ascii?Q?zplQzL/AB3BXfNaVCkwRPxSuiyAc0iJsJxkddSexexTOuiX3ntXpbg8EGVZ+?= =?us-ascii?Q?ZdlKdAxmqRe+K+x1uRyI9ZqCTROi+lG4mhajlfkhp4XqbAd2bI3EEGMeOv8z?= =?us-ascii?Q?R0mLe79c9e6ZZuuzJCSfgA1AMSFv3H98I0N8L5JN8fcJ/xXkZMcHgAoI/YJ6?= =?us-ascii?Q?7NJUrjBRZVCwDv5j4lzJIxJ8nEhaB1GFB6LdJFuiqOnecbcVXc2+WJCbQTg0?= =?us-ascii?Q?+Rp1xHuMULxLKsdnWcmR3w5gTKRsaBTK315Xwedy4f2WvJCFpbKGUIF/7Y4A?= =?us-ascii?Q?JpZtV4zTLKqgnG2b5W4IrFo2TOVenxyS8Myc6EizPi9v4IClap8P12m66esx?= =?us-ascii?Q?pA66OoCe9wIrvpyZPEBivlBAiJVb2zqkmkZw8ECEoekU4oEVPH9QWqtVr1V4?= =?us-ascii?Q?hrRlUithUCsa/csMTk5RXScTynW0kZy8ZoxlCwuGuFFeaFCCXCsXPH8iuVSk?= =?us-ascii?Q?mdm35lflcvBk5dxIbm0hnSAcmqIbJVD+/S0amFbCB2UYn7xHWXmxxtxhaWpz?= =?us-ascii?Q?x9Tf3Sx9G1JPAI0Mk44BrqiJZBrid3AFCzve6PZoDsUajdQSYOQBDTkCDKY2?= =?us-ascii?Q?yhH2pb5FkdqHWd+xECmnenTdU5dB7f37Uxn42W5jkKU7kUSjx5cA+lnI61k7?= =?us-ascii?Q?q4bzcvM9iHkJ5oHEu/wDq5mOXHSlOpzHNHmTxnmAailaWvty6YrkwVFpWPTE?= =?us-ascii?Q?0DflaGx83kJEYIqRg1+NaaFChNzT4zit78IZtgO8mpTuACDZV4LWyR/a9/Iq?= =?us-ascii?Q?yaa8U2kzX2Nk08J3uo2Q9loPDuNvmTQyBV36sECX1D37k1uT40uxvI1V5ICc?= =?us-ascii?Q?tq9cD9GxklJZb+np/f+KkZeFFDFSrSamG36L6EJcB9eL7JAnOrYUlRSiiP1R?= =?us-ascii?Q?kE280xdenP2ErgrPX2VutncYKaORs7u7xMDuBXFZuZiBuY17NYg5xzamVfTA?= =?us-ascii?Q?e7Y1TCo+V1jpoK8yb17UQofmrDC3hgsaR8o4q0Bon8CSB+KVTXDwCn+hEYpt?= =?us-ascii?Q?ioWUGcDOCx6Aj3ofr8tzVyvlI/ZzMu/To7tJ3peUoP+tqsQQXISgo31G9DvV?= =?us-ascii?Q?wO73ymVKtzI+MiZsgVqxdlMAmqpXXiWICkkdm7Z/?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BN0PR11MB5743.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 406a5911-6487-48cb-1118-08dc47f9cc91 X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Mar 2024 09:48:58.3772 (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: YJ9jDfRs5JLa4BQb9KeHdQR7TGIvm0TNuxV1dPqPzbsglNuMW75DFakyLjcJPsJ6NcEySTV/RQ7N9ZCmEQndcA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR11MB8134 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 > -----Original Message----- > From: Ma, WenwuX > Sent: Friday, March 15, 2024 9:44 AM > To: dev@dpdk.org; fengchengwen@huawei.com > Cc: Jiale, SongX ; Ma, WenwuX > ; stable@dpdk.org > Subject: [PATCH v2] dmadev: fix structure alignment >=20 > The structure rte_dma_dev needs only 8 byte alignment. > This patch replaces __rte_cache_aligned of rte_dma_dev with > __rte_aligned(8). >=20 > Fixes: b36970f2e13e ("dmadev: introduce DMA device library") > Cc: stable@dpdk.org >=20 > Signed-off-by: Wenwu Ma > --- Tested-by: Jiale Song