diff options
| author | Michael Brown | 2022-08-26 15:13:52 +0200 |
|---|---|---|
| committer | Michael Brown | 2022-08-26 20:37:54 +0200 |
| commit | 856ffe000e79a1af24ea11301447dd70b8d54ac2 (patch) | |
| tree | 7d8f0ed41689425803f0c19eed5207de1d32e6b0 /src/drivers/bitbash/bitbash.c | |
| parent | [intelxl] Explicitly request a single queue pair for virtual functions (diff) | |
| download | ipxe-856ffe000e79a1af24ea11301447dd70b8d54ac2.tar.gz ipxe-856ffe000e79a1af24ea11301447dd70b8d54ac2.tar.xz ipxe-856ffe000e79a1af24ea11301447dd70b8d54ac2.zip | |
[ena] Limit submission queue fill level to completion queue size
The CREATE_CQ command is permitted to return a size smaller than
requested, which could leave us in a situation where the completion
queue could overflow.
Avoid overflow by limiting the submission queue fill level to the
actual size of the completion queue.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/drivers/bitbash/bitbash.c')
0 files changed, 0 insertions, 0 deletions
