]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[ena] Allocate an unused Asynchronous Event Notification Queue (AENQ) 852/head
authorAlexander Graf <graf@amazon.com>
Mon, 16 Jan 2023 21:56:53 +0000 (21:56 +0000)
committerMichael Brown <mcb30@ipxe.org>
Wed, 18 Jan 2023 22:47:58 +0000 (22:47 +0000)
commit6b977d1250e497abd357cca863140361472a6082
tree82f433ac41fbd5ccf39aaca9f723fa0401d3e5ac
parent08740220baba87cbc6acb1c00cd5b492ac0c5a08
[ena] Allocate an unused Asynchronous Event Notification Queue (AENQ)

We currently don't allocate an Asynchronous Event Notification Queue
(AENQ) because we don't actually care about any of the events that may
come in.

The ENA firmware found on Graviton instances requires the AENQ to
exist, otherwise all admin queue commands will fail.

Fix by allocating an AENQ and disabling all events (so that we do not
need to include code to acknowledge any events that may arrive).

Signed-off-by: Alexander Graf <graf@amazon.com>
src/drivers/net/ena.c
src/drivers/net/ena.h