]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/virtio/virtio_rxtx.h
net/hns3: support flow control
[dpdk.git] / drivers / net / virtio / virtio_rxtx.h
index ca546ccaa9cbe1d3ba5c0988c94f1a9b5ab3dcdb..685cc4f8104cbce5b73cad4675a95fdf14b153be 100644 (file)
@@ -55,11 +55,9 @@ struct virtnet_ctl {
        rte_iova_t virtio_net_hdr_mem;  /**< hdr for each xmit packet */
        uint16_t port_id;               /**< Device port identifier. */
        const struct rte_memzone *mz;   /**< mem zone to populate CTL ring. */
+       rte_spinlock_t lock;              /**< spinlock for control queue. */
 };
 
 int virtio_rxq_vec_setup(struct virtnet_rx *rxvq);
 
-int virtqueue_enqueue_recv_refill_simple(struct virtqueue *vq,
-       struct rte_mbuf *m);
-
 #endif /* _VIRTIO_RXTX_H_ */