net/virtio: add device config support to vDPA
[dpdk.git] / drivers / net / virtio / virtio_rxtx.h
index 7f1036b..6ce5d67 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 */