Soft Patch Panel
 help / color / mirror / Atom feed
From: ogawa.yasufumi@lab.ntt.co.jp
To: ferruh.yigit@intel.com, spp@dpdk.org
Cc: Yasufumi Ogawa <ogawa.yasufumi@lab.ntt.co.jp>
Subject: [spp] [PATCH 2/2] controller: fix bug for patching PMDs
Date: Tue, 15 May 2018 10:20:49 +0900	[thread overview]
Message-ID: <20180515012049.8785-3-ogawa.yasufumi@lab.ntt.co.jp> (raw)
In-Reply-To: <20180515012049.8785-1-ogawa.yasufumi@lab.ntt.co.jp>

From: Yasufumi Ogawa <ogawa.yasufumi@lab.ntt.co.jp>

It is for adding pcap and nullpmd to PORT_TYPES variable to avoid an
'not found' error for them and working not correctly.

Signed-off-by: Yasufumi Ogawa <ogawa.yasufumi@lab.ntt.co.jp>
---
 src/controller/shell.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/controller/shell.py b/src/controller/shell.py
index 137c42b..adcdb14 100644
--- a/src/controller/shell.py
+++ b/src/controller/shell.py
@@ -29,7 +29,7 @@ class Shell(cmd.Cmd, object):
     CMD_NOTREADY = "NOTREADY"
     CMD_ERROR = "ERROR"
 
-    PORT_TYPES = ['phy', 'ring', 'vhost']
+    PORT_TYPES = ['phy', 'ring', 'vhost', 'pcap', 'nullpmd']
 
     PRI_CMDS = ['status', 'exit', 'clear']
     SEC_CMDS = ['status', 'exit', 'forward', 'stop', 'add', 'patch', 'del']
-- 
2.17.0

  parent reply	other threads:[~2018-05-15  1:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-15  1:20 [spp] [PATCH 0/2] Fix bug for patch not found error ogawa.yasufumi
2018-05-15  1:20 ` [spp] [PATCH 1/2] spp_nfv: fix bug for patching PMDs ogawa.yasufumi
2018-05-15  1:20 ` ogawa.yasufumi [this message]
2018-05-24 12:56 ` [spp] [PATCH 0/2] Fix bug for patch not found error Ferruh Yigit

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180515012049.8785-3-ogawa.yasufumi@lab.ntt.co.jp \
    --to=ogawa.yasufumi@lab.ntt.co.jp \
    --cc=ferruh.yigit@intel.com \
    --cc=spp@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).