[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210205092113.GA870@lst.de>
Date: Fri, 5 Feb 2021 10:21:13 +0100
From: Christoph Hellwig <hch@....de>
To: Barry Song <song.bao.hua@...ilicon.com>
Cc: m.szyprowski@...sung.com, hch@....de, robin.murphy@....com,
iommu@...ts.linux-foundation.org, linux-kernel@...r.kernel.org,
linuxarm@...neuler.org
Subject: Re: [PATCH v2] dma-mapping: benchmark: pretend DMA is transmitting
On Fri, Feb 05, 2021 at 03:00:35PM +1300, Barry Song wrote:
> + __u32 dma_trans_ns; /* time for DMA transmission in ns */
> __u64 expansion[10]; /* For future use */
We need to keep the struct size, so the expansion field needs to
shrink by the equivalent amount of data that is added in dma_trans_ns.
Powered by blists - more mailing lists