summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/if_mcx.c
diff options
context:
space:
mode:
authorjmatthew <jmatthew@openbsd.org>2020-07-15 04:36:02 +0000
committerjmatthew <jmatthew@openbsd.org>2020-07-15 04:36:02 +0000
commitca19ff74006d9e9b255e79afaee5b138d2e9a5d2 (patch)
treef88590022d6214103a1d4ad12c6faed94febda03 /sys/dev/pci/if_mcx.c
parentAdd default for number of rounds (-a). ok djm@ (diff)
downloadwireguard-openbsd-ca19ff74006d9e9b255e79afaee5b138d2e9a5d2.tar.xz
wireguard-openbsd-ca19ff74006d9e9b255e79afaee5b138d2e9a5d2.zip
patrick@ pointed out there was a gap in the flow group numbering.
ok dlg@
Diffstat (limited to 'sys/dev/pci/if_mcx.c')
-rw-r--r--sys/dev/pci/if_mcx.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/pci/if_mcx.c b/sys/dev/pci/if_mcx.c
index f614494596e..3743295ec9f 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.65 2020/07/15 03:32:51 jmatthew Exp $ */
+/* $OpenBSD: if_mcx.c,v 1.66 2020/07/15 04:36:02 jmatthew Exp $ */
/*
* Copyright (c) 2017 David Gwynne <dlg@openbsd.org>
@@ -2189,9 +2189,9 @@ struct mcx_flow_group {
#define MCX_FLOW_GROUP_ALLMULTI 1
#define MCX_FLOW_GROUP_MAC 2
#define MCX_FLOW_GROUP_RSS_L4 3
-#define MCX_FLOW_GROUP_RSS_L3 5
-#define MCX_FLOW_GROUP_RSS_NONE 6
-#define MCX_NUM_FLOW_GROUPS 7
+#define MCX_FLOW_GROUP_RSS_L3 4
+#define MCX_FLOW_GROUP_RSS_NONE 5
+#define MCX_NUM_FLOW_GROUPS 6
#define MCX_HASH_SEL_L3 MCX_TIR_CTX_HASH_SEL_SRC_IP | \
MCX_TIR_CTX_HASH_SEL_DST_IP