[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>
This commit is contained in:
@@ -469,6 +469,7 @@ static int ena_create_cq ( struct ena_nic *ena, struct ena_cq *cq ) {
|
||||
req->header.opcode = ENA_CREATE_CQ;
|
||||
req->create_cq.size = cq->size;
|
||||
req->create_cq.count = cpu_to_le16 ( cq->requested );
|
||||
req->create_cq.vector = cpu_to_le32 ( ENA_MSIX_NONE );
|
||||
req->create_cq.address = cpu_to_le64 ( virt_to_bus ( cq->cqe.raw ) );
|
||||
|
||||
/* Issue request */
|
||||
|
||||
Reference in New Issue
Block a user