]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[gve] Allow for descriptor and completion lengths to vary by mode
authorMichael Brown <mcb30@ipxe.org>
Mon, 29 Sep 2025 14:00:11 +0000 (15:00 +0100)
committerMichael Brown <mcb30@ipxe.org>
Tue, 30 Sep 2025 11:17:22 +0000 (12:17 +0100)
commit4508e10233c588b92498f158baa3efb36cce4caf
tree262a70c2a9b5c6a5c69be1bf4187968d4da4e5c5
parent20a489253c748c6d6e55b73d9961819dbfd7f663
[gve] Allow for descriptor and completion lengths to vary by mode

The descriptors and completions in the DQO operating mode are not the
same sizes as the equivalent structures in the GQI operating mode.
Allow the queue stride size to vary by operating mode (and therefore
to be known only after reading the device descriptor and selecting the
operating mode).

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