RE: [PATCH RFC 01/14] x86/asm: add iosubmit_cmds512() based on movdir64b CPU instruction

From: Luck, Tony
Date: Wed Nov 20 2019 - 19:15:55 EST

>> 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.