Soft Patch Panel
 help / color / Atom feed
* [spp] [PATCH] cli: rename classifier_mac to classifier
@ 2019-08-05  7:06 Yasufumi Ogawa
  0 siblings, 0 replies; only message in thread
From: Yasufumi Ogawa @ 2019-08-05  7:06 UTC (permalink / raw)
  To: spp, ferruh.yigit, yasufum.o

As renamed classifier_mac in spp_vf, this update is to rename it in SPP
CLI.

Signed-off-by: Yasufumi Ogawa <yasufum.o@gmail.com>
---
 src/cli/commands/vf.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/cli/commands/vf.py b/src/cli/commands/vf.py
index c6192e0..5b361d1 100644
--- a/src/cli/commands/vf.py
+++ b/src/cli/commands/vf.py
@@ -20,7 +20,7 @@ class SppVf(object):
             'port': ['add', 'del'],
             'classifier_table': ['add', 'del']}
 
-    WORKER_TYPES = ['forward', 'merge', 'classifier_mac']
+    WORKER_TYPES = ['forward', 'merge', 'classifier']
 
     def __init__(self, spp_ctl_cli, sec_id, use_cache=False):
         self.spp_ctl_cli = spp_ctl_cli
@@ -526,7 +526,7 @@ class SppVf(object):
         # (2) launch or terminate a worker thread with arbitrary name
         #   NAME: arbitrary name used as identifier
         #   CORE_ID: one of unused cores referred from status
-        #   ROLE: role of workers, 'forward', 'merge' or 'classifier_mac'
+        #   ROLE: role of workers, 'forward', 'merge' or 'classifier'
         spp > vf 1; component start NAME CORE_ID ROLE
         spp > vf 1; component stop NAME CORE_ID ROLE
 
-- 
2.17.1


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-05  7:06 [spp] [PATCH] cli: rename classifier_mac to classifier Yasufumi Ogawa

Soft Patch Panel

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/spp/0 spp/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 spp spp/ http://inbox.dpdk.org/spp \
		spp@dpdk.org
	public-inbox-index spp


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.spp


AGPL code for this site: git clone https://public-inbox.org/ public-inbox