From: Jan Scheurich <[email protected]>
Signed-off-by: Yi Yang <[email protected]>
Signed-off-by: Jan Scheurich <[email protected]>
---
lib/netdev-native-tnl.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/lib/netdev-native-tnl.c b/lib/netdev-native-tnl.c
index 7f3cf98..f5483a3 100644
--- a/lib/netdev-native-tnl.c
+++ b/lib/netdev-native-tnl.c
@@ -529,6 +529,9 @@ netdev_vxlan_pop_header(struct dp_packet *packet)
case VXLAN_GPE_NP_IPV6:
next_pt = PT_IPV6;
break;
+ case VXLAN_GPE_NP_NSH:
+ next_pt = PT_NSH;
+ break;
case VXLAN_GPE_NP_ETHERNET:
next_pt = PT_ETH;
break;
@@ -588,6 +591,9 @@ netdev_vxlan_build_header(const struct netdev *netdev,
case ETH_TYPE_IPV6:
vxh->vx_gpe.next_protocol = VXLAN_GPE_NP_IPV6;
break;
+ case ETH_TYPE_NSH:
+ vxh->vx_gpe.next_protocol = VXLAN_GPE_NP_NSH;
+ break;
case ETH_TYPE_TEB:
vxh->vx_gpe.next_protocol = VXLAN_GPE_NP_ETHERNET;
break;
--
2.1.0
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev