From 4c3bdf9ab1c3eb1d7cb102abe3bac83549315025 Mon Sep 17 00:00:00 2001 From: Junhua Zhai Date: Fri, 25 Oct 2024 02:08:11 +0000 Subject: [PATCH] Correct push_vxlan_tunnel to push_nvgre_tunnel for dash_encapsulation_t.NVGRE --- .../bmv2/routing_actions/routing_action_encap_underlay.p4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dash-pipeline/bmv2/routing_actions/routing_action_encap_underlay.p4 b/dash-pipeline/bmv2/routing_actions/routing_action_encap_underlay.p4 index b85c1ba58..ebe27c786 100644 --- a/dash-pipeline/bmv2/routing_actions/routing_action_encap_underlay.p4 +++ b/dash-pipeline/bmv2/routing_actions/routing_action_encap_underlay.p4 @@ -61,7 +61,7 @@ control do_action_encap_u0( meta.u0_encap_data.vni); } else if (meta.u0_encap_data.dash_encapsulation == dash_encapsulation_t.NVGRE) { - push_vxlan_tunnel_u0(hdr, + push_nvgre_tunnel_u0(hdr, meta.u0_encap_data.underlay_dmac, meta.u0_encap_data.underlay_smac, meta.u0_encap_data.underlay_dip, @@ -89,7 +89,7 @@ control do_action_encap_u1( meta.u0_encap_data.vni); } else if (meta.u0_encap_data.dash_encapsulation == dash_encapsulation_t.NVGRE) { - push_vxlan_tunnel_u1(hdr, + push_nvgre_tunnel_u1(hdr, meta.u0_encap_data.underlay_dmac, meta.u0_encap_data.underlay_smac, meta.u0_encap_data.underlay_dip,