]> git.droids-corp.org - dpdk.git/blobdiff - app/test/sample_packet_forward.h
test: fix ring PMD initialisation
[dpdk.git] / app / test / sample_packet_forward.h
index 6789217de3b8f709890ebec3395b54c6e79d1557..af0b1d9924f5f403a0d528579ee01c5b4033d590 100644 (file)
@@ -21,6 +21,9 @@ struct rte_ring;
 /* Sample test to create virtual rings and tx,rx portid from rings */
 int test_ring_setup(struct rte_ring **ring, uint16_t *portid);
 
+/* configure and start device created by test_ring_setup */
+int test_dev_start(uint16_t port, struct rte_mempool *mp);
+
 /* Sample test to free the virtual rings */
 void test_ring_free(struct rte_ring *rxtx);