aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/handoff.c
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2021-11-02 10:32:19 -0700
committerDamjan Marion <dmarion@me.com>2021-11-02 18:23:15 +0000
commit1e6d30bd444fa95df0f08cdef7e899def56c17a7 (patch)
tree2587b6f80ab9d98762f4166bc0bb2e983d66a2ba /src/vnet/handoff.c
parent06e0085a6721d0c3650c9af2cae9b5aa2dc72f88 (diff)
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 <fcoras@cisco.com> Change-Id: I5f267497bb4e73a91a5320822ca42388f1f8b037
Diffstat (limited to 'src/vnet/handoff.c')
-rw-r--r--src/vnet/handoff.c4
1 files changed, 2 insertions, 2 deletions
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);
}
}