summaryrefslogtreecommitdiffstats
path: root/src/drivers/net
diff options
context:
space:
mode:
authorMichael Brown2022-08-08 15:26:54 +0200
committerMichael Brown2022-08-08 16:59:55 +0200
commit814aef68c51503d53d07832bf882302bc75aa4bb (patch)
tree4fc561e4da10886c0f67ac38bff8eaeb2c7b83e3 /src/drivers/net
parent[intelxl] Fix bit width of function number in PFFUNC_RID register (diff)
downloadipxe-814aef68c51503d53d07832bf882302bc75aa4bb.tar.gz
ipxe-814aef68c51503d53d07832bf882302bc75aa4bb.tar.xz
ipxe-814aef68c51503d53d07832bf882302bc75aa4bb.zip
[intelxl] Add missing padding bytes to receive queue context
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>
Diffstat (limited to 'src/drivers/net')
-rw-r--r--src/drivers/net/intelxl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/drivers/net/intelxl.h b/src/drivers/net/intelxl.h
index 69e98f0cd..f3b81e6ad 100644
--- a/src/drivers/net/intelxl.h
+++ b/src/drivers/net/intelxl.h
@@ -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 */