On Jan 3, 2012, at 2:37 AM, "Amit Tewari" <amit.tew...@nechclst.in> wrote:

> Hi,
>  
> I wanted to know whether H/w offload feature like tx_checksum and 
> tcp_segmentation offload is supported for KVM in openvswitch ?

Yes, if you use the KVM virtual interfaces that support offloading and have 
NICs that support it.

>  
> i saw this line of code in checksum.h
> #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,22) || (defined(CONFIG_XEN) && 
> defined(HAVE_PROTO_DATA_VALID))
> #define NEED_CSUM_NORMALIZE
> #endif
>  
> My Linux machine -kernel version is 2.6.38 and I am using KVM, so I think 
> this flag will not be defined on my setup.

It's not necessary on that kernel.

> My test –environment
> Host machione -fedora 15
> Guest machine – fredora 15
> My Linux machine -kernel version is 2.6.38 and I am using KVM
> Openvswtch bridge – br0
>  
> Tap interface for guest - vnet0
>  
> I am running a vitual machine on kvm using openvswitch 1.2.2
>  
> IF H/w offload  is supported on kvm , then on which interface (i.e. br0 or 
> vnet0 )I need to set offload parameters for my virtual machine.

The guest needs to use the right type virtual interface and have offloading 
enabled.  The physical NIC needs to support offloading and have it enabled. 
Generally, if you use a tool like libvirt this will be done automatically.
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to