From 547fca3cb8d013f9ae52d54327f84de0105530ef Mon Sep 17 00:00:00 2001 From: r12f Date: Sat, 28 Sep 2024 09:14:49 -0700 Subject: [PATCH] Fix dpdk build. --- dash-pipeline/bmv2/stages/tunnel_stage.p4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dash-pipeline/bmv2/stages/tunnel_stage.p4 b/dash-pipeline/bmv2/stages/tunnel_stage.p4 index e1b7bfe9c..b56e1fb71 100644 --- a/dash-pipeline/bmv2/stages/tunnel_stage.p4 +++ b/dash-pipeline/bmv2/stages/tunnel_stage.p4 @@ -57,7 +57,7 @@ control tunnel_stage( @SaiVal[type="sai_object_id_t"] bit<16> dash_tunnel_next_hop_id) { // dash_tunnel_id in tunnel member must match the metadata - assert(meta.dash_tunnel_id == dash_tunnel_id); + REQUIRES(meta.dash_tunnel_id == dash_tunnel_id); meta.dash_tunnel_next_hop_id = dash_tunnel_next_hop_id; }