From 1e6d30bd444fa95df0f08cdef7e899def56c17a7 Mon Sep 17 00:00:00 2001 From: Florin Coras Date: Tue, 2 Nov 2021 10:32:19 -0700 Subject: interface: avoid dependency on crc32 for eth handoff Make sure the infra works on platforms without crc32, like risc-v Type: fix Signed-off-by: Florin Coras Change-Id: I5f267497bb4e73a91a5320822ca42388f1f8b037 --- src/vnet/handoff.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/vnet/handoff.c') diff --git a/src/vnet/handoff.c b/src/vnet/handoff.c index 15cfd606aba..5d4ef6f5c1b 100644 --- a/src/vnet/handoff.c +++ b/src/vnet/handoff.c @@ -229,7 +229,7 @@ interface_handoff_enable_disable (vlib_main_t *vm, u32 sw_if_index, return VNET_API_ERROR_UNIMPLEMENTED; d->hash_fn = vnet_hash_function_from_name ( - "handoff_eth_sym_crc32c", VNET_HASH_FN_TYPE_ETHERNET); + "handoff-eth-sym", VNET_HASH_FN_TYPE_ETHERNET); } else { @@ -238,7 +238,7 @@ interface_handoff_enable_disable (vlib_main_t *vm, u32 sw_if_index, vnet_hash_default_function (VNET_HASH_FN_TYPE_ETHERNET); else d->hash_fn = vnet_hash_function_from_name ( - "handoff_eth_crc32c", VNET_HASH_FN_TYPE_ETHERNET); + "handoff-eth", VNET_HASH_FN_TYPE_ETHERNET); } } -- cgit 1.2.3-korg