Soft Patch Panel
 help / color / mirror / Atom feed
* [spp] [PATCH 0/2] Fix bugs of SPP container
@ 2018-11-13 16:25 ogawa.yasufumi
  2018-11-13 16:25 ` [spp] [PATCH 1/2] tools/sppc: fix bug of RTE_SDK not found ogawa.yasufumi
  2018-11-13 16:25 ` [spp] [PATCH 2/2] tools/sppc: remove invalid chars in testpmd app ogawa.yasufumi
  0 siblings, 2 replies; 3+ messages in thread
From: ogawa.yasufumi @ 2018-11-13 16:25 UTC (permalink / raw)
  To: ferruh.yigit, spp, ogawa.yasufumi

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

Hi,

SPP container has problems for launching some of app containers. This
series of patches is to fix the bugs.

* Not defined env variable RTE_SDK for launching DPDK sample apps.

* Failed to lauch testpmd app because its launcher includes a invalid
  char codes.

Thanks,
Yasufumi Ogawa

Yasufumi Ogawa (2):
  tools/sppc: fix bug of RTE_SDK not found
  tools/sppc: remove invalid chars in testpmd app

 tools/sppc/app/testpmd.py | 2 +-
 tools/sppc/conf/env.py    | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [spp] [PATCH 1/2] tools/sppc: fix bug of RTE_SDK not found
  2018-11-13 16:25 [spp] [PATCH 0/2] Fix bugs of SPP container ogawa.yasufumi
@ 2018-11-13 16:25 ` ogawa.yasufumi
  2018-11-13 16:25 ` [spp] [PATCH 2/2] tools/sppc: remove invalid chars in testpmd app ogawa.yasufumi
  1 sibling, 0 replies; 3+ messages in thread
From: ogawa.yasufumi @ 2018-11-13 16:25 UTC (permalink / raw)
  To: ferruh.yigit, spp, ogawa.yasufumi

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

Environmental variable RTE_SDK should be defiend in containers running
DPDK sample apps to find compiled binary, but not defined and failed to
launch. This update is add the variable as config activated while the
container is launched.

Signed-off-by: Yasufumi Ogawa <ogawa.yasufumi@lab.ntt.co.jp>
---
 tools/sppc/conf/env.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/sppc/conf/env.py b/tools/sppc/conf/env.py
index 549b4dc..f6df15a 100644
--- a/tools/sppc/conf/env.py
+++ b/tools/sppc/conf/env.py
@@ -4,6 +4,7 @@
 
 
 HOMEDIR = '/root'
+RTE_SDK = '/root/dpdk'
 RTE_TARGET = 'x86_64-native-linuxapp-gcc'
 
 CONTAINER_IMG_NAME = {
-- 
2.7.4

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [spp] [PATCH 2/2] tools/sppc: remove invalid chars in testpmd app
  2018-11-13 16:25 [spp] [PATCH 0/2] Fix bugs of SPP container ogawa.yasufumi
  2018-11-13 16:25 ` [spp] [PATCH 1/2] tools/sppc: fix bug of RTE_SDK not found ogawa.yasufumi
@ 2018-11-13 16:25 ` ogawa.yasufumi
  1 sibling, 0 replies; 3+ messages in thread
From: ogawa.yasufumi @ 2018-11-13 16:25 UTC (permalink / raw)
  To: ferruh.yigit, spp, ogawa.yasufumi

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=y, Size: 822 bytes --]

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

This update is to remove characters of invalid code from the help
message of `testpmd.py`.

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

diff --git a/tools/sppc/app/testpmd.py b/tools/sppc/app/testpmd.py
index 8d4057c..487bb9f 100755
--- a/tools/sppc/app/testpmd.py
+++ b/tools/sppc/app/testpmd.py
@@ -250,7 +250,7 @@ def parse_args():
     parser.add_argument(
         '--no-flush-rx',
         action='store_true',
-        help="Don’t flush the RX streams before starting forwarding, " +
+        help="Don't flush the RX streams before starting forwarding, " +
         "Used mainly with the PCAP PMD")
     parser.add_argument(
         '--txpkts',
-- 
2.7.4

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-11-13 16:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-13 16:25 [spp] [PATCH 0/2] Fix bugs of SPP container ogawa.yasufumi
2018-11-13 16:25 ` [spp] [PATCH 1/2] tools/sppc: fix bug of RTE_SDK not found ogawa.yasufumi
2018-11-13 16:25 ` [spp] [PATCH 2/2] tools/sppc: remove invalid chars in testpmd app ogawa.yasufumi

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).