[dpdk-dev] [PATCH v5 0/4] add virtio offload support in us-vhost

2015-12-18 Thread Liu, Jijiang
Hi Thomas,

Any comments on this patch set?

This patch set have been fully reviewed and tested, but it has not applied in 
DPDK2.2.

Let me know if you still have some concerns, if not, I will rebased it and send 
a version.

--Jijiang 

> -Original Message-
> From: Xu, Qian Q
> Sent: Friday, November 13, 2015 3:36 PM
> To: Liu, Jijiang; dev at dpdk.org
> Cc: Xu, Qian Q
> Subject: RE: [dpdk-dev] [PATCH v5 0/4] add virtio offload support in us-vhost
> 
> Tested-by: Qian Xu 
> 
> 
> Thanks
> Qian
> -Original Message-
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Jijiang Liu
> Sent: Thursday, November 12, 2015 8:07 PM
> To: dev at dpdk.org
> Subject: [dpdk-dev] [PATCH v5 0/4] add virtio offload support in us-vhost
> 
> Adds virtio offload support in us-vhost.
> 
> The patch set adds the feature negotiation of checksum and TSO between
> us-vhost and vanilla Linux virtio guest, and add these offload features
> support in the vhost lib, and change vhost sample to test them.
> 
> v5 changes:
>   Add more clear descriptions to explain these changes.
>   reset the 'virtio_net_hdr' value in the virtio_enqueue_offload() function.
>   reorganize patches.
> 
> 
> v4 change:
>   remove virtio-net change, only keep vhost changes.
>   add guest TX offload capabilities to support VM to VM case.
>   split the cleanup code as a separate patch.
> 
> v3 change:
>   rebase latest codes.
> 
> v2 change:
>   fill virtio device information for TX offloads.
> 
> *** BLURB HERE ***
> 
> Jijiang Liu (4):
>   add vhost offload capabilities
>   remove ipv4_hdr structure from vhost sample.
>   add guest offload setting ln the vhost lib.
>   change vhost application to test checksum and TSO for VM to NIC case
> 
>  examples/vhost/main.c |  120 -
>  lib/librte_vhost/vhost_rxtx.c |  150
> -
>  lib/librte_vhost/virtio-net.c |9 ++-
>  3 files changed, 259 insertions(+), 20 deletions(-)
> 
> --
> 1.7.7.6



[dpdk-dev] [PATCH v5 0/4] add virtio offload support in us-vhost

2015-11-13 Thread Yuanhan Liu
Series Acked-by: Yuanhan Liu 

--yliu

On Thu, Nov 12, 2015 at 08:07:02PM +0800, Jijiang Liu wrote:
> Adds virtio offload support in us-vhost.
>  
> The patch set adds the feature negotiation of checksum and TSO between 
> us-vhost and vanilla Linux virtio guest, and add these offload features 
> support in the vhost lib, and change vhost sample to test them.
> 
> v5 changes:
>   Add more clear descriptions to explain these changes.
>   reset the 'virtio_net_hdr' value in the virtio_enqueue_offload() function.
>   reorganize patches. 
>   
>  
> v4 change:
>   remove virtio-net change, only keep vhost changes.
>   add guest TX offload capabilities to support VM to VM case.
>   split the cleanup code as a separate patch.
>  
> v3 change:
>   rebase latest codes.
>  
> v2 change:
>   fill virtio device information for TX offloads.
> 
> *** BLURB HERE ***
> 
> Jijiang Liu (4):
>   add vhost offload capabilities
>   remove ipv4_hdr structure from vhost sample.
>   add guest offload setting ln the vhost lib.
>   change vhost application to test checksum and TSO for VM to NIC case
> 
>  examples/vhost/main.c |  120 -
>  lib/librte_vhost/vhost_rxtx.c |  150 
> -
>  lib/librte_vhost/virtio-net.c |9 ++-
>  3 files changed, 259 insertions(+), 20 deletions(-)
> 
> -- 
> 1.7.7.6


[dpdk-dev] [PATCH v5 0/4] add virtio offload support in us-vhost

2015-11-13 Thread Xu, Qian Q
1.1.1.8
arp -s 1.1.1.2 52:54:00:00:00:01
arp # to check the arp table is complete and correct. 

5. Ensure virtio1 can ping virtio2. Then in VM1, run : `iperf -s -i 1` ; In 
VM2, run `iperf -c 1.1.1.4 -i 1 -t 60`, check all the tcpdump packet has 65160 
length packet.

Thanks
Qian


-Original Message-
From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Jijiang Liu
Sent: Thursday, November 12, 2015 8:07 PM
To: dev at dpdk.org
Subject: [dpdk-dev] [PATCH v5 0/4] add virtio offload support in us-vhost

Adds virtio offload support in us-vhost.

The patch set adds the feature negotiation of checksum and TSO between us-vhost 
and vanilla Linux virtio guest, and add these offload features support in the 
vhost lib, and change vhost sample to test them.

v5 changes:
  Add more clear descriptions to explain these changes.
  reset the 'virtio_net_hdr' value in the virtio_enqueue_offload() function.
  reorganize patches. 


v4 change:
  remove virtio-net change, only keep vhost changes.
  add guest TX offload capabilities to support VM to VM case.
  split the cleanup code as a separate patch.

v3 change:
  rebase latest codes.

v2 change:
  fill virtio device information for TX offloads.

*** BLURB HERE ***

Jijiang Liu (4):
  add vhost offload capabilities
  remove ipv4_hdr structure from vhost sample.
  add guest offload setting ln the vhost lib.
  change vhost application to test checksum and TSO for VM to NIC case

 examples/vhost/main.c |  120 -
 lib/librte_vhost/vhost_rxtx.c |  150 -
 lib/librte_vhost/virtio-net.c |9 ++-
 3 files changed, 259 insertions(+), 20 deletions(-)

-- 
1.7.7.6



[dpdk-dev] [PATCH v5 0/4] add virtio offload support in us-vhost

2015-11-12 Thread Jijiang Liu
Adds virtio offload support in us-vhost.

The patch set adds the feature negotiation of checksum and TSO between us-vhost 
and vanilla Linux virtio guest, and add these offload features support in the 
vhost lib, and change vhost sample to test them.

v5 changes:
  Add more clear descriptions to explain these changes.
  reset the 'virtio_net_hdr' value in the virtio_enqueue_offload() function.
  reorganize patches. 


v4 change:
  remove virtio-net change, only keep vhost changes.
  add guest TX offload capabilities to support VM to VM case.
  split the cleanup code as a separate patch.

v3 change:
  rebase latest codes.

v2 change:
  fill virtio device information for TX offloads.

*** BLURB HERE ***

Jijiang Liu (4):
  add vhost offload capabilities
  remove ipv4_hdr structure from vhost sample.
  add guest offload setting ln the vhost lib.
  change vhost application to test checksum and TSO for VM to NIC case

 examples/vhost/main.c |  120 -
 lib/librte_vhost/vhost_rxtx.c |  150 -
 lib/librte_vhost/virtio-net.c |9 ++-
 3 files changed, 259 insertions(+), 20 deletions(-)

-- 
1.7.7.6