From: ogawa.yasufumi@lab.ntt.co.jp
To: spp@dpdk.org, ferruh.yigit@intel.com, geminoa@juno.ocn.ne.jp
Cc: ogawa.yasufumi@lab.ntt.co.jp, Naoki Takada <takada.naoki@lab.ntt.co.jp>
Subject: [spp] [PATCH 4/4] spp: add null pmd support
Date: Wed, 31 Jan 2018 20:21:13 +0900 [thread overview]
Message-ID: <20180131105606.1345-4-ogawa.yasufumi@lab.ntt.co.jp> (raw)
In-Reply-To: <20180131105606.1345-1-ogawa.yasufumi@lab.ntt.co.jp>
In-Reply-To: <20180131105606.1345-1-ogawa.yasufumi@lab.ntt.co.jp>
From: ogawa.yasufumi@lab.ntt.co.jp
From: Yasufumi Ogawa <ogawa.yasufumi@lab.ntt.co.jp>
Add nullpmd for add/del commands and complementation to SPP controller.
Signed-off-by: Yasufumi Ogawa <ogawa.yasufumi@lab.ntt.co.jp>
Signed-off-by: Naoki Takada <takada.naoki@lab.ntt.co.jp>
---
src/spp.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/spp.py b/src/spp.py
index f5d53de..3796670 100755
--- a/src/spp.py
+++ b/src/spp.py
@@ -362,7 +362,7 @@ class Shell(cmd.Cmd):
PRI_CMDS = ['status', 'exit', 'clear']
SEC_CMDS = ['status', 'exit', 'forward', 'stop', 'add', 'patch', 'del']
- SEC_SUBCMDS = ['vhost', 'ring', 'pcap']
+ SEC_SUBCMDS = ['vhost', 'ring', 'pcap', 'nullpmd']
BYE_CMDS = ['sec', 'all']
def close_all_secondary(self):
@@ -454,7 +454,7 @@ class Shell(cmd.Cmd):
level1 = ['status', 'exit', 'forward', 'stop']
level2 = ['add', 'patch', 'del']
patch_args = ['reset']
- add_del_args = ['ring', 'vhost', 'pcap']
+ add_del_args = ['ring', 'vhost', 'pcap', 'nullpmd']
cmdlist = cmds.split(' ')
valid = 0
--
2.13.1
next prev parent reply other threads:[~2018-01-31 11:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-31 11:21 [spp] [PATCH 1/4] spp_nfv: add pcap pmd ogawa.yasufumi
2018-01-31 11:21 ` [spp] [PATCH 2/4] spp: add pcap pmd support ogawa.yasufumi
2018-01-31 11:21 ` [spp] [PATCH 3/4] spp_nfv: add null pmd ogawa.yasufumi
2018-01-31 11:21 ` ogawa.yasufumi [this message]
2018-02-01 13:09 ` [spp] [PATCH 1/4] spp_nfv: add pcap pmd 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=20180131105606.1345-4-ogawa.yasufumi@lab.ntt.co.jp \
--to=ogawa.yasufumi@lab.ntt.co.jp \
--cc=ferruh.yigit@intel.com \
--cc=geminoa@juno.ocn.ne.jp \
--cc=spp@dpdk.org \
--cc=takada.naoki@lab.ntt.co.jp \
/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).