]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/virtio/virtio_rxtx.h
net/virtio: add device config support to vDPA
[dpdk.git] / drivers / net / virtio / virtio_rxtx.h
index 7f1036be6fefbb3d31fb138900531a8d38fa4c3e..6ce5d67d15ae0cf1c9dfeb23c7ce7f926ef6e883 100644 (file)
@@ -19,7 +19,7 @@ struct virtnet_stats {
 
 struct virtnet_rx {
        /* dummy mbuf, for wraparound when processing RX ring. */
-       struct rte_mbuf fake_mbuf;
+       struct rte_mbuf *fake_mbuf;
        uint64_t mbuf_initializer; /**< value to init mbufs. */
        struct rte_mempool *mpool; /**< mempool for mbuf allocation */