[spp] [PATCH 02/11] spp_nfv: remove unnecessary code for vhost

Itsuro Oda oda at valinux.co.jp
Thu Apr 2 02:06:24 CEST 2020


This patch removes an unnecessary code for original vhost PMD
which was necessary for SPP dedicated vhost PMD.

Signed-off-by: Itsuro Oda <oda at valinux.co.jp>
---
 src/nfv/commands.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/nfv/commands.h b/src/nfv/commands.h
index 6b3a935..fd7f1f8 100644
--- a/src/nfv/commands.h
+++ b/src/nfv/commands.h
@@ -25,7 +25,6 @@ do_del(char *p_type, int p_id, uint16_t queue_id)
 		port_id = find_port_id(p_id, VHOST);
 		if (port_id == PORT_RESET)
 			return -1;
-		rte_eth_dev_stop(port_id);
 		dev_detach_by_port_id(port_id);
 
 	} else if (!strcmp(p_type, "ring")) {
-- 
2.17.0



More information about the spp mailing list