Re: [PATCH] net/packet: fix packet drop as of virtio gso

2018-10-28 Thread Jianfeng Tan
On 10/29/2018 10:40 AM, Jason Wang wrote: On 2018/10/28 上午7:42, Jianfeng Tan wrote: On 10/8/2018 11:14 AM, Jason Wang wrote: On 2018年09月29日 23:41, Jianfeng Tan wrote: When we use raw socket as the vhost backend, a packet from virito with gso offloading information, cannot be sent out in

Re: [PATCH] net/packet: fix packet drop as of virtio gso

2018-10-28 Thread Jason Wang
On 2018/10/28 上午7:42, Jianfeng Tan wrote: On 10/8/2018 11:14 AM, Jason Wang wrote: On 2018年09月29日 23:41, Jianfeng Tan wrote: When we use raw socket as the vhost backend, a packet from virito with gso offloading information, cannot be sent out in later validaton at xmit path, as we did not

Re: [PATCH] net/packet: fix packet drop as of virtio gso

2018-10-27 Thread Jianfeng Tan
On 10/8/2018 11:14 AM, Jason Wang wrote: On 2018年09月29日 23:41, Jianfeng Tan wrote: When we use raw socket as the vhost backend, a packet from virito with gso offloading information, cannot be sent out in later validaton at xmit path, as we did not set correct skb->protocol which is further u

Re: [PATCH] net/packet: fix packet drop as of virtio gso

2018-10-07 Thread Jason Wang
On 2018年09月29日 23:41, Jianfeng Tan wrote: When we use raw socket as the vhost backend, a packet from virito with gso offloading information, cannot be sent out in later validaton at xmit path, as we did not set correct skb->protocol which is further used for looking up the gso function. Hi:

Re: [PATCH] net/packet: fix packet drop as of virtio gso

2018-10-04 Thread David Miller
From: Jianfeng Tan Date: Sat, 29 Sep 2018 15:41:27 + > When we use raw socket as the vhost backend, a packet from virito with > gso offloading information, cannot be sent out in later validaton at > xmit path, as we did not set correct skb->protocol which is further used > for looking up the

[PATCH] net/packet: fix packet drop as of virtio gso

2018-09-29 Thread Jianfeng Tan
When we use raw socket as the vhost backend, a packet from virito with gso offloading information, cannot be sent out in later validaton at xmit path, as we did not set correct skb->protocol which is further used for looking up the gso function. To fix this, we set this field according to virito h