[SeaBIOS] [PATCH] nvme: Use the Maximum Queue Entries Supported (MQES) to initialize I/O queues

Sironi, Filippo sironi at amazon.de
Thu Oct 12 00:26:44 CEST 2017


> On 12. Oct 2017, at 00:54, Kevin O'Connor <kevin at koconnor.net> wrote:
> 
> On Tue, Oct 10, 2017 at 10:42:03PM +0200, Filippo Sironi wrote:
>> ... and cap the length to 256 to avoid oom-ing.
> 
> Please provide more information on what this patch does.  What
> additional capabilities does it provide?  What could break if this
> patch is not applied?
> 
> -Kevin

Kevin,

as the commit title says, the patch is mostly about using the advertized maximum
number of entries in the I/O queues rather than using a fixed number (256).  In
addition, the patch caps the number of entries in the I/O queues to 256 since
from  my testing, SeaBIOS was oom-ing when attempting to allocate more.

I'm going to repost with a more verbose commit message.

Filippo
Amazon Development Center Germany GmbH
Berlin - Dresden - Aachen
main office: Krausenstr. 38, 10117 Berlin
Geschaeftsfuehrer: Dr. Ralf Herbrich, Christian Schlaeger
Ust-ID: DE289237879
Eingetragen am Amtsgericht Charlottenburg HRB 149173 B




More information about the SeaBIOS mailing list