From: 'Mika Westerberg' <mika.westerberg@linux.intel.com>
To: David Laight <David.Laight@ACULAB.COM>
Cc: David Miller <davem@davemloft.net>,
"michael.jamet@intel.com" <michael.jamet@intel.com>,
"yehezkel.bernat@intel.com" <yehezkel.bernat@intel.com>,
"netdev@vger.kernel.org" <netdev@vger.kernel.org>
Subject: Re: [PATCH net-next] net: thunderbolt: Clear finished Tx frame bus address in tbnet_tx_callback()
Date: Mon, 20 Nov 2017 17:05:16 +0200 [thread overview]
Message-ID: <20171120150516.GF22431@lahna.fi.intel.com> (raw)
In-Reply-To: <ac633155508e401bab2111ca5b0f8ba1@AcuMS.aculab.com>
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.
prev parent reply other threads:[~2017-11-20 15:05 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-09 10:46 [PATCH net-next] net: thunderbolt: Clear finished Tx frame bus address in tbnet_tx_callback() Mika Westerberg
2017-11-11 10:21 ` David Miller
2017-11-13 10:21 ` Mika Westerberg
2017-11-20 14:46 ` David Laight
2017-11-20 15:05 ` 'Mika Westerberg' [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171120150516.GF22431@lahna.fi.intel.com \
--to=mika.westerberg@linux.intel.com \
--cc=David.Laight@ACULAB.COM \
--cc=davem@davemloft.net \
--cc=michael.jamet@intel.com \
--cc=netdev@vger.kernel.org \
--cc=yehezkel.bernat@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).