vhost: add Tx offload capabilities
authorJijiang Liu <jijiang.liu@intel.com>
Fri, 5 Feb 2016 07:31:38 +0000 (15:31 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 17 Feb 2016 21:56:44 +0000 (22:56 +0100)
commitd0cf91303d731997945420832ee245b21f292e19
tree106cf6c4f4ca6bbefbf9fc7ca86ff760c8b80852
parentb8f04520ad716110c384695643533704269837c6
vhost: add Tx offload capabilities

Add vhost TX offload (CSUM and TSO) support capabilities in vhost lib.

In order to support these features, and the following changes are added,

1. Extend 'VHOST_SUPPORTED_FEATURES' macro to add the offload features
   negotiation.

2. Dequeue TX offload: convert the fileds in virtio_net_hdr to the
   related fileds in mbuf.

Signed-off-by: Jijiang Liu <jijiang.liu@intel.com>
Acked-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
doc/guides/rel_notes/release_16_04.rst
lib/librte_vhost/vhost_rxtx.c
lib/librte_vhost/virtio-net.c