Displaying 2 results from an estimated 2 matches for "vq_send".
Did you mean:
fd_send
2007 Jul 24
0
[PATCH] virtio_net.c gso & feature support
...; SKB_GSO_UDP)
+ hdr->gso_type = VIRTIO_NET_GSO_UDP;
+ else
+ BUG();
+ } else {
+ hdr->gso_type = VIRTIO_NET_GSO_NONE;
+ hdr->gso_size = 0;
+ }
+
+ vnet_hdr_to_sg(sg, skb);
+ num = skb_to_sgvec(skb, sg+1, 0, skb->len) + 1;
__skb_queue_head(&vi->send, skb);
err = vi->vq_send->ops->add_buf(vi->vq_send, sg, num, 0, skb);
if (err) {
@@ -220,7 +328,8 @@ struct net_device *virtnet_probe(struct
struct net_device *virtnet_probe(struct virtqueue *vq_recv,
struct virtqueue *vq_send,
struct device *device,
- const u8 mac[ETH_ALEN])
+ const u8 mac...
2007 Jul 24
0
[PATCH] virtio_net.c gso & feature support
...; SKB_GSO_UDP)
+ hdr->gso_type = VIRTIO_NET_GSO_UDP;
+ else
+ BUG();
+ } else {
+ hdr->gso_type = VIRTIO_NET_GSO_NONE;
+ hdr->gso_size = 0;
+ }
+
+ vnet_hdr_to_sg(sg, skb);
+ num = skb_to_sgvec(skb, sg+1, 0, skb->len) + 1;
__skb_queue_head(&vi->send, skb);
err = vi->vq_send->ops->add_buf(vi->vq_send, sg, num, 0, skb);
if (err) {
@@ -220,7 +328,8 @@ struct net_device *virtnet_probe(struct
struct net_device *virtnet_probe(struct virtqueue *vq_recv,
struct virtqueue *vq_send,
struct device *device,
- const u8 mac[ETH_ALEN])
+ const u8 mac...