Re: [ovs-dev] dpdkvhostuser fail to alloc memory when receive packet from other host

2015-06-18 Thread Du, Fan
>-Original Message- >From: gowrishankar [mailto:gowrishanka...@linux.vnet.ibm.com] >Sent: Wednesday, June 17, 2015 7:54 PM >To: Du, Fan >Cc: Loftus, Ciara; d...@dpdk.org; dev@openvswitch.org >Subject: Re: [ovs-dev] dpdkvhostuser fail to alloc memory when receive packe

[ovs-dev] dpdkvhostuser fail to alloc memory when receive packet from other host

2015-06-17 Thread Du, Fan
Hi, I'm playing dpdkvhostuser ports with latest DPDK and ovs master tree with iperf benchmarking. When kvm guest1(backed up dpdkvhostuser port)siting on HOST1 is receiving packets from either other physical HOST2, or similar kvm guest2 with dpdkvhostuser port siting on HOST2. The connectivity w

Re: [ovs-dev] [PATCH net] gso: do GSO for local skb with size bigger than MTU

2014-12-04 Thread Du Fan
On 2014/12/5 7:23, Jesse Gross wrote: On Wed, Dec 3, 2014 at 11:48 PM, Du Fan wrote: 于 2014年12月04日 06:51, Jesse Gross 写道: My proposal would be something like this: * For L2, reduce the VM MTU to the lowest common denominator on the segment. * For L3, use path MTU discovery or fragment

Re: [ovs-dev] [PATCH net] gso: do GSO for local skb with size bigger than MTU

2014-12-03 Thread Du Fan
于 2014年12月04日 06:51, Jesse Gross 写道: My proposal would be something like this: * For L2, reduce the VM MTU to the lowest common denominator on the segment. * For L3, use path MTU discovery or fragment inner packet (i.e. normal routing behavior). * As a last resort (such as if using an old v

[ovs-dev] [Discussion] About over-MTU-sized skb in virtualized env

2014-12-02 Thread Du Fan
Sorry for resend this mail, because my company email is rejected by netdev. Hi Florian 214 static int ip_finish_output_gso(struct sk_buff *skb) 215 { 216 netdev_features_t features; 217 struct sk_buff *segs; 218 int ret = 0; 219 220 /* common case: locally created skb or

[ovs-dev] [Discussion] About over-MTU-sized skb in virtualized env

2014-12-02 Thread Du, Fan
Hi Florian 214 static int ip_finish_output_gso(struct sk_buff *skb) 215 { 216 netdev_features_t features; 217 struct sk_buff *segs; 218 int ret = 0; 219 220 /* common case: locally created skb or seglen is <= mtu */ 221 if (((IPCB(skb)->flags & IPSKB_FORWARDED) == 0) ||

Re: [ovs-dev] [PATCH net] gso: do GSO for local skb with size bigger than MTU

2014-12-02 Thread Du, Fan
>-Original Message- >From: Thomas Graf [mailto:t...@infradead.org] On Behalf Of Thomas Graf >Sent: Wednesday, December 3, 2014 1:42 AM >To: Michael S. Tsirkin >Cc: Du, Fan; 'Jason Wang'; net...@vger.kernel.org; da...@davemloft.net; >f...@strlen.de; dev@openv