Re: [ovs-dev] [ovs-discuss] gso packet is failing with af_packet socket with packet_vnet_hdr

2019-11-05 Thread Ramana Reddy
given below: Ubuntu container (eth0 (1500MTU))--routing lookup-->Ubuntu container(veth0(1450 MTU)) ->OVS(veth1(1450MTU))->vxlan(65K MTU)->eth0(physical interface(1500MTU))->other machine. Looking forward to your reply. Regards, Ramana On Mon, Nov 4, 2019 at 10:41

Re: [ovs-dev] [ovs-discuss] gso packet is failing with af_packet socket with packet_vnet_hdr

2019-11-04 Thread Ramana Reddy
Thanks, Flavio. I will check it out tomorrow and let you know how it goes. Regards, Ramana On Mon, Nov 4, 2019 at 10:15 PM Flavio Leitner wrote: > On Mon, 4 Nov 2019 21:32:28 +0530 > Ramana Reddy wrote: > > > Hi Favio Leitner, > > Thank you very much for your reply. Her

Re: [ovs-dev] [ovs-discuss] gso packet is failing with af_packet socket with packet_vnet_hdr

2019-11-04 Thread Ramana Reddy
size = iface_mtu - virtio_net_hdr->hdr_len > > fbl > > On Mon, 4 Nov 2019 01:11:36 +0530 > Ramana Reddy wrote: > > > Hi, > > I am wondering if anyone can help me with this. I am having trouble > > to send tso/gso packet > > with af_packet socket with packet_

[ovs-dev] gso packet is failing with af_packet socket with packet_vnet_hdr

2019-11-03 Thread Ramana Reddy
Hi, I am wondering if anyone can help me with this. I am having trouble to send tso/gso packet with af_packet socket with packet_vnet_hdr (through virtio_net_hdr) over vxlan tunnel in OVS. What I observed that, the following function eventually hitting and is returning false (net/core/skbuff.c),

Re: [ovs-dev] Regarding TSO using AF_PACKET in OVS

2019-09-19 Thread Ramana Reddy
Hi William, Thanks for your reply. Please find the inline comments. On Fri, Aug 30, 2019 at 9:26 PM William Tu wrote: > Hi Ramana, > > I'm trying to understand your setup. > > On Wed, Aug 28, 2019 at 4:11 AM Ramana Reddy wrote: > > > > Hi Ben, Justin, Jesse and All,

[ovs-dev] Regarding TSO using AF_PACKET in OVS

2019-08-28 Thread Ramana Reddy
Hi Ben, Justin, Jesse and All, Hope everyone doing great. During my work, I create a socket using AF_PACKET with virtio_net_hdr and filled all the fields in the virtio_net_hdr and the flag to VIRTIO_NET_GSO_TCPV4 to enable TSO using af_packet. vnet->gso_type = VIRTIO_NET_HDR_GSO_TCPV4; The