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 DB1D843CA6; Fri, 15 Mar 2024 07:04:36 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EB9A042EB9; Fri, 15 Mar 2024 07:04:35 +0100 (CET) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id 403F642DCA; Fri, 15 Mar 2024 07:02:08 +0100 (CET) Received: by linux.microsoft.com (Postfix, from userid 1086) id 8FA6320B74C0; Thu, 14 Mar 2024 23:02:07 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 8FA6320B74C0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1710482527; bh=7q+YLEDQlijN96HD8xjjMmrtyFg6u6j9jOdZxxi+/vA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=F6P/CQqVU/qQsuzbeY38UyaObqoqERynCEBDyWqpIX+C5VKw9fOFZuJcF1oxpjl4O 01C2qzx7yiRl2xFMPzDmtr16HDclBx5kMJTIq7UgbnKptPHiR6sjeTaXdkeE1f6IuB M7M41INGF9sFiRVtGLydVj77O5MN6vyI+dNNe+/U= Date: Thu, 14 Mar 2024 23:02:07 -0700 From: Tyler Retzlaff To: Wenwu Ma Cc: dev@dpdk.org, fengchengwen@huawei.com, songx.jiale@intel.com, stable@dpdk.org Subject: Re: [PATCH v2] dmadev: fix structure alignment Message-ID: <20240315060207.GA12245@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> References: <20240308053711.1260154-1-wenwux.ma@intel.com> <20240315014331.1376720-1-wenwux.ma@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240315014331.1376720-1-wenwux.ma@intel.com> User-Agent: Mutt/1.5.21 (2010-09-15) 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 Fri, Mar 15, 2024 at 09:43:31AM +0800, Wenwu Ma wrote: > The structure rte_dma_dev needs only 8 byte alignment. > This patch replaces __rte_cache_aligned of rte_dma_dev > with __rte_aligned(8). > > Fixes: b36970f2e13e ("dmadev: introduce DMA device library") > Cc: stable@dpdk.org > > Signed-off-by: Wenwu Ma > --- Acked-by: Tyler Retzlaff