]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[intelxl] Add missing padding bytes to receive queue context
authorMichael Brown <mcb30@ipxe.org>
Mon, 8 Aug 2022 13:26:54 +0000 (14:26 +0100)
committerMichael Brown <mcb30@ipxe.org>
Mon, 8 Aug 2022 14:59:55 +0000 (15:59 +0100)
For the sake of completeness, ensure that all 32 bytes of the receive
queue context are programmed (including the unused final 8 bytes).

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

index 69e98f0cd4eff6b99b91cfa802962ae65a1692b7..f3b81e6ada4a3874ffbd2149da249dfbe8a266c6 100644 (file)
@@ -685,6 +685,8 @@ struct intelxl_context_rx {
        uint8_t reserved_b[7];
        /** Maximum frame size */
        uint16_t mfs;
+       /** Reserved */
+       uint8_t reserved_c[8];
 } __attribute__ (( packed ));
 
 /** Receive queue base address and queue count */