[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20171120150516.GF22431@lahna.fi.intel.com>
Date: Mon, 20 Nov 2017 17:05:16 +0200
From: 'Mika Westerberg' <mika.westerberg@...ux.intel.com>
To: David Laight <David.Laight@...LAB.COM>
Cc: David Miller <davem@...emloft.net>,
"michael.jamet@...el.com" <michael.jamet@...el.com>,
"yehezkel.bernat@...el.com" <yehezkel.bernat@...el.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: [PATCH net-next] net: thunderbolt: Clear finished Tx frame bus
address in tbnet_tx_callback()
On Mon, Nov 20, 2017 at 02:46:53PM +0000, David Laight wrote:
> > There does not seem to be a way to mark DMA address invalid in a driver
> > so we probably need to add a flag to struct tbnet_frame instead.
>
> Can you use the length?
Unfortunately no because size is 12-bit field in struct ring_frame and 0
means 4096 bytes.
Powered by blists - more mailing lists