From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 01672A04F7 for ; Fri, 20 Dec 2019 08:41:12 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B72ED330; Fri, 20 Dec 2019 08:41:12 +0100 (CET) Received: from mail-pf1-f195.google.com (mail-pf1-f195.google.com [209.85.210.195]) by dpdk.org (Postfix) with ESMTP id 9143E330 for ; Fri, 20 Dec 2019 08:41:10 +0100 (CET) Received: by mail-pf1-f195.google.com with SMTP id 4so4732878pfz.9 for ; Thu, 19 Dec 2019 23:41:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id; bh=aAjJF6sRTE5uhgaDmZk0kd9k71yt3mM5Cx+Q2eWDJQg=; b=LFLiUByWWO2IG2hFI9sTT3kw5KSLcQegoRjyPBU13E3NCOmYGZEw6ncAMUb/0KnaHe aGwDD3AZND7vKqKQa2zjvtPVnhsmFqoeMDgRQaxKezMHK6yf/5fw04O6KyHj3bQmD+L+ L/PgRvS34Sw2mUduxBaS49tclhF59YFql4L26w8RR3urUCOXTzqZqHH88rTXu6tTTWoJ rlrw9ojsZ2Qer+DwU6sKYZSuWWTMJvWoD2UR3tHtj3x8cNsSFGu6DhRcjgfWPXhSfHlg gfCBeH8LD0F8NJkDtpXpPyL1Kexow/YwxJsjnxlNSFFBBfPseL7TXb3ViwR07CPpBQEZ kyPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id; bh=aAjJF6sRTE5uhgaDmZk0kd9k71yt3mM5Cx+Q2eWDJQg=; b=tudh5RPxwIPRiDW9me30cyO8+vU/MNOFDi/FqxFtdhYdruM09vyLeqKZJaRVTGBTos zw0VsOks4b4qNuXO5gWByCyqLfEJsNB4eKDKBGsEj3h5L5i/RIghNwJOlY2OUgc+yiAK l4IdrP6lrTjDUUpxiaE8lJQpzREhG6PPrDhgkiO3ZSMekEzrXlyNFGhGdVy2GN8VlND5 FEwoS5GqmZdNMX0llEiXtVwK3OQPOwGD7mUrdeHuPYsWNSBS/WsDgpIZdWXA029sXIAZ NViwDPP3AcHbsqg8ByJOnCHxa93f2dAZPKdADI+vUGnVmOik3IhchhPxEeDTaZpe2Ilu Ydww== X-Gm-Message-State: APjAAAUwNKQ05Eg+6TJk2rWCgF49dUZv3j0vQf4zKF5JlwrDoOHjnQGB tPCJb/tC7fSxCcOfHKz25oWAMToO X-Google-Smtp-Source: APXvYqzjsfKGrizIeXCMLBlmI4SfBDFJLKPXsZ1oT+lLzSEht0zQK6ldlta/ZWrO7RevAWc54JlizQ== X-Received: by 2002:a63:e4f:: with SMTP id 15mr12952968pgo.398.1576827669388; Thu, 19 Dec 2019 23:41:09 -0800 (PST) Received: from localhost.localdomain ([192.47.164.146]) by smtp.gmail.com with ESMTPSA id i3sm9641378pfo.72.2019.12.19.23.41.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Dec 2019 23:41:08 -0800 (PST) From: yasufum.o@gmail.com To: spp@dpdk.org, ferruh.yigit@intel.com, yasufum.o@gmail.com Date: Fri, 20 Dec 2019 16:40:57 +0900 Message-Id: <20191220074103.14065-1-yasufum.o@gmail.com> X-Mailer: git-send-email 2.17.1 Subject: [spp] [PATCH 0/6] Run SPP with --file-prefix option X-BeenThere: spp@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Soft Patch Panel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: spp-bounces@dpdk.org Sender: "spp" From: Yasufumi Ogawa As more virtual network interfaces, such as memif or af_xdp, which have good performance are supported in DPDK, or considering container usecase, it has got been common usecases using several DPDK apps on the same host. It means that using `--file-prefix` is more general than before. This series of patches is to add file prefix in startup scripts. It also make a change to `launch` command in SPP CLI to launch secondary processes with the option. SPP CLI expects that the option is defined as an environmental `SPP_FILE_PREFIX`. Yasufumi Ogawa (6): cli: add env command cli: add file prefix opt for launch cmd bin: add SPP_FILE_PREFIX env variable readme: update example of config.sh docs: add desc for env command docs: add file prefix option in usecases README.md | 17 ++++-- bin/sample/config.sh | 4 +- bin/spp_pri.sh | 7 ++- bin/start.sh | 6 ++- docs/guides/commands/common.rst | 17 ++++++ docs/guides/gsg/howto_use.rst | 84 ++++++++++++++++++++--------- docs/guides/usecases/spp_mirror.rst | 5 ++ docs/guides/usecases/spp_pcap.rst | 5 ++ docs/guides/usecases/spp_vf.rst | 5 ++ src/cli/commands/help_msg.py | 10 ++++ src/cli/commands/pri.py | 21 ++++++-- src/cli/shell.py | 11 ++++ 12 files changed, 154 insertions(+), 38 deletions(-) -- 2.17.1