• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/sys/dev/virtio/network/

Lines Matching refs:vq

1113 	struct virtqueue *vq = sc->vtnet_txqs[0].vtntx_vq;
1115 IFQ_SET_MAXLEN(&ifp->if_snd, virtqueue_size(vq) - 1);
1116 ifp->if_snd.ifq_drv_maxlen = virtqueue_size(vq) - 1;
1463 struct virtqueue *vq;
1472 vq = rxq->vtnrx_vq;
1475 for (nbufs = 0; !virtqueue_full(vq); nbufs++) {
1482 virtqueue_notify(vq);
1498 struct virtqueue *vq;
1508 vq = rxq->vtnrx_vq;
1511 while ((m = virtqueue_drain(vq, &last)) != NULL) {
1516 KASSERT(virtqueue_empty(vq),
1922 struct virtqueue *vq;
1926 vq = rxq->vtnrx_vq;
1933 m = virtqueue_dequeue(vq, &len);
2048 struct virtqueue *vq;
2052 vq = rxq->vtnrx_vq;
2063 m = virtqueue_dequeue(vq, &len);
2150 virtqueue_notify(vq);
2185 * This is not necessary to serialize the access to the RX vq, but
2275 struct virtqueue *vq;
2277 vq = txq->vtntx_vq;
2279 return (virtqueue_nfree(vq) <= txq->vtntx_intr_threshold);
2285 struct virtqueue *vq;
2287 vq = txq->vtntx_vq;
2290 virtqueue_notify(vq);
2301 virtqueue_disable_intr(vq);
2311 struct virtqueue *vq;
2321 vq = txq->vtntx_vq;
2324 while ((txhdr = virtqueue_drain(vq, &last)) != NULL) {
2331 KASSERT(virtqueue_empty(vq),
2494 struct virtqueue *vq;
2500 vq = txq->vtntx_vq;
2527 error = virtqueue_enqueue(vq, txhdr, sg, sg->sg_nseg, 0);
2595 struct virtqueue *vq;
2600 vq = txq->vtntx_vq;
2615 if (virtqueue_full(vq))
2661 struct virtqueue *vq;
2667 vq = txq->vtntx_vq;
2694 if (virtqueue_full(vq)) {
2813 struct virtqueue *vq;
2818 vq = txq->vtntx_vq;
2822 while ((txhdr = virtqueue_dequeue(vq, NULL)) != NULL) {
2835 if (virtqueue_empty(vq))
3492 ("%s: ctrl vq %p not empty", __func__, sc->vtnet_ctrl_vq));
3499 struct virtqueue *vq;
3501 vq = sc->vtnet_ctrl_vq;
3506 if (!virtqueue_empty(vq))
3513 if (virtqueue_enqueue(vq, cookie, sg, readable, writable) == 0) {
3514 virtqueue_notify(vq);
3515 virtqueue_poll(vq, NULL);
4282 struct virtqueue *vq;
4284 vq = txq->vtntx_vq;
4287 return (virtqueue_postpone_intr(vq, VQ_POSTPONE_LONG));