aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/classify/vnet_classify.h
diff options
context:
space:
mode:
authorBenoît Ganne <bganne@cisco.com>2022-03-23 19:42:41 +0100
committerDamjan Marion <dmarion@me.com>2022-03-23 21:41:55 +0000
commit89a561f204708ded29ac53573680353bbad9741b (patch)
tree7a5d7dfc660804fccb7251fb45824e79282f18c8 /src/vnet/classify/vnet_classify.h
parent4859d8d8e8a4bbaac0117db827001fae6c9062b9 (diff)
classify: fix typo in AVX-512 find entry
Type: fix Fixes: 26bc9f3c855496fb56f5fc648f75a299d4d539f8 Change-Id: Idab52bf856c03ded7b181608c3db1313aa2e33de Signed-off-by: Benoît Ganne <bganne@cisco.com>
Diffstat (limited to 'src/vnet/classify/vnet_classify.h')
-rw-r--r--src/vnet/classify/vnet_classify.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/classify/vnet_classify.h b/src/vnet/classify/vnet_classify.h
index 60604beabe0..17a728deb48 100644
--- a/src/vnet/classify/vnet_classify.h
+++ b/src/vnet/classify/vnet_classify.h
@@ -430,7 +430,7 @@ vnet_classify_entry_is_equal (vnet_classify_entry_t *v, const u8 *d, u8 *m,
#if defined(CLIB_HAVE_VEC512) && defined(CLIB_HAVE_VEC512_MASK_LOAD_STORE)
u64x8 r, *mask = (u64x8 *) m;
u64x8u *data = (u64x8u *) d;
- u64x4 *key = (u64x4 *) v->key;
+ u64x8 *key = (u64x8 *) v->key;
r = (u64x8_mask_load_zero (data, load_mask) & mask[0]) ^
u64x8_mask_load_zero (key, load_mask);