[spp] [PATCH 4/4] spp-ctl: add memif port type
Yasufumi Ogawa
yasufum.o at gmail.com
Tue Jan 21 05:52:53 CET 2020
Add memif into the list of supported port types.
Signed-off-by: Yasufumi Ogawa <yasufum.o at gmail.com>
---
src/spp-ctl/spp_webapi.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/spp-ctl/spp_webapi.py b/src/spp-ctl/spp_webapi.py
index a21fd86..31befe2 100644
--- a/src/spp-ctl/spp_webapi.py
+++ b/src/spp-ctl/spp_webapi.py
@@ -13,8 +13,8 @@ import sys
import spp_proc
-PORT_TYPES = ["phy", "vhost", "ring", "pcap", "nullpmd", "tap"]
-VF_PORT_TYPES = ["phy", "vhost", "ring"]
+PORT_TYPES = ["phy", "vhost", "ring", "pcap", "nullpmd", "tap", "memif"]
+VF_PORT_TYPES = ["phy", "vhost", "ring"] # TODO(yasufum) add other ports
# TODO(yasufum) consider PCAP_PORT_TYPES is required.
LOG = logging.getLogger(__name__)
--
2.17.1
More information about the spp
mailing list