lkml.org 
[lkml]   [2019]   [Nov]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH RFC 01/14] x86/asm: add iosubmit_cmds512() based on movdir64b CPU instruction
Date
>> When using dedicated queues the caller must keep count of how many
>> operations are in flight and not send more than the depth of the
>> queue.
>
> This way?

That's the only practical way. The device does keep a count of dropped
attempts ... so in theory you could go read that ... but that would give up
much of the value proposition of low cost to submit work if you had to do
an MMIO read after every submission.

-Tony
\
 
 \ /
  Last update: 2019-11-21 01:16    [W:0.088 / U:0.304 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site