search for: wlan_vq_tx

Displaying 2 results from an estimated 2 matches for "wlan_vq_tx".

Did you mean: wlan_vq_rx
2012 Mar 18
3
vhost question
...c void handle_tx(struct vhost_work *work) { int n; unsigned out, in; struct transmission *t; struct vhost_poll *p = container_of(work, struct vhost_poll, work); struct vhost_virtqueue *vq = container_of(p, struct vhost_virtqueue, poll); struct vhost_node *w = container_of(vq, struct vhost_node, vqs[WLAN_VQ_TX]); struct vhost_dev *dev = &w->vdev; mutex_lock(&vq->mutex); do { vhost_disable_notify(dev, vq); n = vhost_get_vq_desc(dev, vq, vq->iov, ARRAY_SIZE(vq->iov), &out, &in, NULL, NULL); while (n >= 0 && n != vq->num) { struct vhost_node *receiver = net_get_rec...
2012 Mar 18
3
vhost question
...c void handle_tx(struct vhost_work *work) { int n; unsigned out, in; struct transmission *t; struct vhost_poll *p = container_of(work, struct vhost_poll, work); struct vhost_virtqueue *vq = container_of(p, struct vhost_virtqueue, poll); struct vhost_node *w = container_of(vq, struct vhost_node, vqs[WLAN_VQ_TX]); struct vhost_dev *dev = &w->vdev; mutex_lock(&vq->mutex); do { vhost_disable_notify(dev, vq); n = vhost_get_vq_desc(dev, vq, vq->iov, ARRAY_SIZE(vq->iov), &out, &in, NULL, NULL); while (n >= 0 && n != vq->num) { struct vhost_node *receiver = net_get_rec...