summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2019-06-13 00:37:04 +0000
committerdlg <dlg@openbsd.org>2019-06-13 00:37:04 +0000
commit0a010a44a11a1ac2195c7a088003bf2fa751417d (patch)
treee789bed193d3202b99e1fa665a1a5d72c23179f4
parentThe output of line info in the line.log file now contains the (diff)
downloadwireguard-openbsd-0a010a44a11a1ac2195c7a088003bf2fa751417d.tar.xz
wireguard-openbsd-0a010a44a11a1ac2195c7a088003bf2fa751417d.zip
the rx drops field is 8 bits (and a 24 bit flow tag), not 32 bits.
sympathy from jmatthew@
-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;