mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 06:15:47 +00:00
datapath: Add Stateless TCP Tunneling protocol.
The Stateless TCP Tunnel (STT) protocol encapsulates traffic in IPv4/TCP packets. STT uses TCP segmentation offload available in most of NIC. On packet xmit STT driver appends STT header along with TCP header to the packet. For GSO packet GSO parameters are set according to tunnel configuration and packet is handed over to networking stack. This allows use of segmentation offload available in NICs The protocol is documented at http://www.ietf.org/archive/id/draft-davie-stt-06.txt Signed-off-by: Pravin B Shelar <pshelar@nicira.com> Signed-off-by: Jesse Gross <jesse@nicira.com> Acked-by: Jesse Gross <jesse@nicira.com>
This commit is contained in:
@@ -768,6 +768,9 @@ get_vport_type(const struct dpif_netlink_vport *vport)
|
||||
case OVS_VPORT_TYPE_LISP:
|
||||
return "lisp";
|
||||
|
||||
case OVS_VPORT_TYPE_STT:
|
||||
return "stt";
|
||||
|
||||
case OVS_VPORT_TYPE_UNSPEC:
|
||||
case __OVS_VPORT_TYPE_MAX:
|
||||
break;
|
||||
@@ -787,6 +790,8 @@ netdev_to_ovs_vport_type(const struct netdev *netdev)
|
||||
return OVS_VPORT_TYPE_NETDEV;
|
||||
} else if (!strcmp(type, "internal")) {
|
||||
return OVS_VPORT_TYPE_INTERNAL;
|
||||
} else if (strstr(type, "stt")) {
|
||||
return OVS_VPORT_TYPE_STT;
|
||||
} else if (!strcmp(type, "geneve")) {
|
||||
return OVS_VPORT_TYPE_GENEVE;
|
||||
} else if (strstr(type, "gre64")) {
|
||||
|
Reference in New Issue
Block a user