vhost: support UDP Fragmentation Offload
authorJiayu Hu <jiayu.hu@intel.com>
Tue, 21 Nov 2017 06:56:52 +0000 (14:56 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 16 Jan 2018 17:47:49 +0000 (18:47 +0100)
commit6d18505efaa6d3d7dade969d42ee520738e713cb
treeec1297b391e0d6ed8676fbcd3c295648c082284c
parenta3fdb53270d4359fc8fe1d1faedd737024d10548
vhost: support UDP Fragmentation Offload

In virtio, UDP Fragmentation Offload (UFO) includes two parts: host UFO
and guest UFO. Guest UFO means the frontend can receive large UDP
packets, and host UFO means the backend can receive large UDP packets.
This patch supports host UFO and guest UFO for vhost-user.

Signed-off-by: Jiayu Hu <jiayu.hu@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Tested-by: Lei Yao <lei.a.yao@intel.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Acked-by: Yuanhan Liu <yliu@fridaylinux.org>
lib/librte_mbuf/rte_mbuf.h
lib/librte_vhost/vhost.h
lib/librte_vhost/virtio_net.c