summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_mcx.c
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2019-06-13 00:37:05 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2019-06-13 00:37:05 +0000
commit12b794b8624d95e6979761c99675f8625f081056 (patch)
treeac51335f8959017fc29a2063989c8012f76ef905 /sys/dev/pci/if_mcx.c
parent00369e021efd1f7566db0596f39807a767c592b5 (diff)
the rx drops field is 8 bits (and a 24 bit flow tag), not 32 bits.
sympathy from jmatthew@
Diffstat (limited to 'sys/dev/pci/if_mcx.c')
-rw-r--r--sys/dev/pci/if_mcx.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/pci/if_mcx.c b/sys/dev/pci/if_mcx.c
index c1fcd15817c..4cbe246672b 100644
--- a/sys/dev/pci/if_mcx.c
+++ b/sys/dev/pci/if_mcx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_mcx.c,v 1.27 2019/06/12 01:38:30 jmatthew Exp $ */
+/* $OpenBSD: if_mcx.c,v 1.28 2019/06/13 00:37:04 dlg Exp $ */
/*
* Copyright (c) 2017 David Gwynne <dlg@openbsd.org>
@@ -1257,7 +1257,8 @@ struct mcx_cq_entry {
uint32_t __reserved__[2];
uint32_t cq_byte_cnt;
uint64_t cq_timestamp;
- uint32_t cq_rx_drops;
+ uint8_t cq_rx_drops;
+ uint8_t cq_flow_tag[3];
uint16_t cq_wqe_count;
uint8_t cq_signature;
uint8_t cq_opcode_owner;