]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[ena] Specify the unused completion queue MSI-X vector as 0xffffffff
authorMichael Brown <mcb30@ipxe.org>
Fri, 26 Aug 2022 12:15:07 +0000 (13:15 +0100)
committerMichael Brown <mcb30@ipxe.org>
Fri, 26 Aug 2022 18:38:27 +0000 (19:38 +0100)
commit9f81e97af5e3861ea2d0ad7b11f2c8746c2c52f9
tree2a11461771d07e5780eb5d58204fb9dd9a823294
parent6d2cead461db7243330f3275ff9ea7ff4607c4f8
[ena] Specify the unused completion queue MSI-X vector as 0xffffffff

Some versions of the ENA firmware (observed on a c6i.large instance in
eu-west-2) will complain if the completion queue's MSI-X vector field
is left empty, even though the queue configuration specifies that
interrupts are not used.

Work around these firmware versions by passing in what appears to be
the magic "no MSI-X vector" value in this field.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/drivers/net/ena.c
src/drivers/net/ena.h