summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFerruh Yigit <ferruh.yigit@intel.com>2016-06-01 15:55:41 +0100
committerFerruh Yigit <ferruh.yigit@intel.com>2016-07-27 13:50:38 +0100
commit0f2a027e4b41d972434a206fe20d4c53a7263024 (patch)
treee21ff991282900425d05ed4d03e3606f5ca73c72
parentc52a7cd536a8bff0b9177625ea1602dfaaca6e78 (diff)
downloadspp-0f2a027e4b41d972434a206fe20d4c53a7263024.zip
spp-0f2a027e4b41d972434a206fe20d4c53a7263024.tar.gz
spp-0f2a027e4b41d972434a206fe20d4c53a7263024.tar.xz
spp_vm: remove unused pool command
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com> Acked-by: Sy Jong Choi <sy.jong.choi@intel.com>
-rw-r--r--examples/multi_process/patch_panel/vm/main.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/examples/multi_process/patch_panel/vm/main.c b/examples/multi_process/patch_panel/vm/main.c
index 5a3c57b..da0d73e 100644
--- a/examples/multi_process/patch_panel/vm/main.c
+++ b/examples/multi_process/patch_panel/vm/main.c
@@ -49,7 +49,6 @@ static struct port_map port_map[RTE_MAX_ETHPORTS];
static struct port ports_fwd_array[RTE_MAX_ETHPORTS];
-static struct rte_mempool *host_mp;
static uint8_t client_id;
static void
@@ -414,13 +413,6 @@ do_add(char *token_list[], int max_token)
type = RING;
port_id = add_ring_pmd(id);
-
- } else if (strncmp(token_list[1], "pool", 4) == 0) {
- host_mp = rte_mempool_lookup(PKTMBUF_POOL_NAME);
- if (host_mp == NULL)
- rte_exit(EXIT_FAILURE,
- "Cannot get mempool for mbufs\n");
- return 0;
}
if (port_id < 0)