]> git.droids-corp.org - dpdk.git/blobdiff - app/test-pmd/parameters.c
app/testpmd: add mempool with external data buffers
[dpdk.git] / app / test-pmd / parameters.c
index 2e7a504415f32758b0eca5895a403d2cdede0d6b..6340104d33d32b006d7d5db385946ec9da5b9125 100644 (file)
@@ -841,6 +841,8 @@ launch_args_parse(int argc, char** argv)
                                        mp_alloc_type = MP_ALLOC_XMEM;
                                else if (!strcmp(optarg, "xmemhuge"))
                                        mp_alloc_type = MP_ALLOC_XMEM_HUGE;
+                               else if (!strcmp(optarg, "xbuf"))
+                                       mp_alloc_type = MP_ALLOC_XBUF;
                                else
                                        rte_exit(EXIT_FAILURE,
                                                "mp-alloc %s invalid - must be: "