vhost: support Generic Segmentation Offload
authorJiayu Hu <jiayu.hu@intel.com>
Tue, 28 Nov 2017 05:28:33 +0000 (13:28 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 16 Jan 2018 17:47:49 +0000 (18:47 +0100)
commitee1bc7d0dc6cff4396f2b72faab3c15cd3879407
tree9d2d896dcb4e8769582c041007eba88b180e581c
parent67090011f4eb0d919116cb8aeb34938ae66d52d7
vhost: support Generic Segmentation Offload

In virtio, Generic Segmentation Offload (GSO) is the feature for the
backend, which means the backend can receive packets with any GSO
type.

Virtio-net enables the GSO feature by default, and vhost-net supports it.
To make live migration from vhost-net to vhost-user possible, this patch
enables GSO for vhost-user.

Signed-off-by: Jiayu Hu <jiayu.hu@intel.com>
Tested-by: Lei Yao <lei.a.yao@intel.com>
Acked-by: Yuanhan Liu <yliu@fridaylinux.org>
lib/librte_vhost/vhost.h