X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=app%2Ftest%2Fsample_packet_forward.h;fp=app%2Ftest%2Fsample_packet_forward.h;h=af0b1d9924f5f403a0d528579ee01c5b4033d590;hb=b66412f24f17fcba5a248888bf4b3c1f5d6880de;hp=6789217de3b8f709890ebec3395b54c6e79d1557;hpb=6c390cee976e33b1e9d8562d32c9d3ebe5d9ce94;p=dpdk.git diff --git a/app/test/sample_packet_forward.h b/app/test/sample_packet_forward.h index 6789217de3..af0b1d9924 100644 --- a/app/test/sample_packet_forward.h +++ b/app/test/sample_packet_forward.h @@ -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);