search for: vq_recv

Displaying 4 results from an estimated 4 matches for "vq_recv".

Did you mean: do_recv
2007 Jul 24
0
[PATCH] virtio_net.c gso & feature support
...) { @@ -81,7 +153,8 @@ static void try_fill_recv(struct virtnet break; skb_put(skb, MAX_PACKET_LEN); - num = skb_to_sgvec(skb, sg, 0, skb->len); + vnet_hdr_to_sg(sg, skb); + num = skb_to_sgvec(skb, sg+1, 0, skb->len) + 1; skb_queue_head(&vi->recv, skb); err = vi->vq_recv->ops->add_buf(vi->vq_recv, sg, 0, num, skb); @@ -161,7 +234,8 @@ static int start_xmit(struct sk_buff *sk { struct virtnet_info *vi = netdev_priv(dev); int num, err; - struct scatterlist sg[MAX_SKB_FRAGS]; + struct scatterlist sg[1+MAX_SKB_FRAGS]; + struct virtio_net_hdr *hdr; const...
2007 Jul 24
0
[PATCH] virtio_net.c gso & feature support
...) { @@ -81,7 +153,8 @@ static void try_fill_recv(struct virtnet break; skb_put(skb, MAX_PACKET_LEN); - num = skb_to_sgvec(skb, sg, 0, skb->len); + vnet_hdr_to_sg(sg, skb); + num = skb_to_sgvec(skb, sg+1, 0, skb->len) + 1; skb_queue_head(&vi->recv, skb); err = vi->vq_recv->ops->add_buf(vi->vq_recv, sg, 0, num, skb); @@ -161,7 +234,8 @@ static int start_xmit(struct sk_buff *sk { struct virtnet_info *vi = netdev_priv(dev); int num, err; - struct scatterlist sg[MAX_SKB_FRAGS]; + struct scatterlist sg[1+MAX_SKB_FRAGS]; + struct virtio_net_hdr *hdr; const...
2007 Jul 03
6
[PATCH 1/3] Virtio draft IV
In response to Avi's excellent analysis, I've updated virtio as promised (apologies for the delay, travel got in the way). === This attempts to implement a "virtual I/O" layer which should allow common drivers to be efficiently used across most virtual I/O mechanisms. It will no-doubt need further enhancement. The details of probing the device are left to hypervisor-specific
2007 Jul 03
6
[PATCH 1/3] Virtio draft IV
In response to Avi's excellent analysis, I've updated virtio as promised (apologies for the delay, travel got in the way). === This attempts to implement a "virtual I/O" layer which should allow common drivers to be efficiently used across most virtual I/O mechanisms. It will no-doubt need further enhancement. The details of probing the device are left to hypervisor-specific