diff options
| author | Michael Brown | 2022-08-26 14:37:23 +0200 |
|---|---|---|
| committer | Michael Brown | 2022-08-26 20:38:27 +0200 |
| commit | 3b81a4e2568cfca50893095638a03069785cd33e (patch) | |
| tree | bc36cba7cac5a1b11c165441821724104b76facb /src/tests/settings_test.c | |
| parent | [ena] Specify the unused completion queue MSI-X vector as 0xffffffff (diff) | |
| download | ipxe-3b81a4e2568cfca50893095638a03069785cd33e.tar.gz ipxe-3b81a4e2568cfca50893095638a03069785cd33e.tar.xz ipxe-3b81a4e2568cfca50893095638a03069785cd33e.zip | |
[ena] Provide a host information page
Some versions of the ENA firmware (observed on a c6i.large instance in
eu-west-2) seem to require a host information page, without which the
CREATE_CQ command will fail with ENA_ADMIN_UNKNOWN_ERROR.
These firmware versions also seem to require us to claim that we are a
Linux kernel with a specific driver major version number. This
appears to be a firmware bug, as revealed by Linux kernel commit
1a63443af ("net/amazon: Ensure that driver version is aligned to the
linux kernel"): this commit changed the value of the driver version
number field to be the Linux kernel version, and was hastily reverted
in commit 92040c6da ("net: ena: fix broken interface between ENA
driver and FW") which clarified that the version number field does
actually have some undocumented significance to some versions of the
firmware.
Fix by providing a host information page via the SET_FEATURE command,
incorporating the apparently necessary lies about our identity.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/tests/settings_test.c')
0 files changed, 0 insertions, 0 deletions
