Signed-off-by: Yi Yang <yi.y.yang@intel.com>
Signed-off-by: Jan Scheurich <jan.scheurich@ericsson.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
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;
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;