On 10/29/2018 10:54 AM, Jason Wang wrote:
On 2018/10/27 下午8:04, Jianfeng Tan wrote:
Previouly, virtio net header size is hardcoded to be 10, which makes
the feature mrg_rxbuf not available.
We redefine PACKET_VNET_HDR ioctl which treats user input as boolean,
but now as int, 0, 10, 12, or
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
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 furt
user input is
12, previously, the header size will be 10; but now it's 12.
Signed-off-by: Jianfeng Tan
---
net/packet/af_packet.c | 97 ++
net/packet/diag.c | 2 +-
net/packet/internal.h | 2 +-
3 files changed, 63 insertions(+), 38 dele
ito hdr information.
Fixes: e858fae2b0b8f4 ("virtio_net: use common code for virtio_net_hdr and skb
GSO conversion")
Cc: sta...@vger.kernel.org
Signed-off-by: Jianfeng Tan
---
include/linux/virtio_net.h | 18 ++
net/packet/af_packet.c | 11 +++
2 file