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 23B2AA04F7 for ; Fri, 20 Dec 2019 08:41:17 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 194D52C60; Fri, 20 Dec 2019 08:41:17 +0100 (CET) Received: from mail-pj1-f52.google.com (mail-pj1-f52.google.com [209.85.216.52]) by dpdk.org (Postfix) with ESMTP id 560F1330 for ; Fri, 20 Dec 2019 08:41:16 +0100 (CET) Received: by mail-pj1-f52.google.com with SMTP id s7so3757225pjc.0 for ; Thu, 19 Dec 2019 23:41:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references; bh=IiuOOp7E20ZMa45jB4ukkW0Y11CLZzJOylQNjgWWGTw=; b=IcH2U/ICmkyVt/OcMe9VqGhRIu5Ls8jHwVCtKr0ec3o9tHoUYdjDqlG1AkCl6byR95 xKCSU6nwp8PRAM6w8jDslxEfNMj1L6hjk9kN6r5Y6THGWbJUyjGOtEUsyKBKeVS6LN95 0HQQzcq61ObfNRkx2inL+nRZyk2QUFlgbjpg3j0hCSYd97oEblxxQbkQd4QX8uuM8Ugy uNOCrcjdAeUPNhGSQDLusTjNh3APDjKWLMoA8xFCi9Lkp3mU5antf6RA49yt1BzOVca/ wmJeIVOZWCHCTBI+cS3Rcj6NkeTNfz0ccFujjjrBkKxzi5yA63T173/Rcnm7hph3qKDJ WA3g== 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:in-reply-to :references; bh=IiuOOp7E20ZMa45jB4ukkW0Y11CLZzJOylQNjgWWGTw=; b=G1JaQIgTCVeZmF6p4FEkCMKg6nqHL7Im72yS/s812wIOkqyaD+vHRN2+MIiStFOgp5 HH8/mr8NuvMSX5PhEFL1JwWX5yE3OIBz2SL4sR+HRgzWSvvsUCJfUCy9UKF4Ya1vimjz NQpK7Owd4KFWGv3b88Jzm898zhMuybtoHRknkohBrR9chjFQi4h+egWeKP0/1/yorJDT 12LdRsVPDF1dFccYDU/R96EaLnDdq/GEUIHDjl/vMj6ZtuiSwU04GiIdwuTC0L8jxcS1 BXskF2QshPVELdYd392FGh1BU3jnOuEXAo8jgU72bDTQNpPyd+UXPOxUucXomlt/dMtO STBA== X-Gm-Message-State: APjAAAVmt2qOMUErwRKdKjv1WLy98E9T7/8S6ZE93QKH3Ed0yeg5JXTd O82cbtBlYYnFV9kQVpHDUI8urNGc X-Google-Smtp-Source: APXvYqyGBmrLNY3Ak+YFVS5WWKgWXzPNzPe6vHL3HwfK/eysKIa5B1VCXYuT3Jk1/Mq6l3dvNF5l3g== X-Received: by 2002:a17:902:8603:: with SMTP id f3mr13872833plo.198.1576827675344; Thu, 19 Dec 2019 23:41:15 -0800 (PST) Received: from localhost.localdomain ([192.47.164.146]) by smtp.gmail.com with ESMTPSA id i3sm9641378pfo.72.2019.12.19.23.41.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Dec 2019 23:41:14 -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:41:01 +0900 Message-Id: <20191220074103.14065-5-yasufum.o@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191220074103.14065-1-yasufum.o@gmail.com> References: <20191220074103.14065-1-yasufum.o@gmail.com> Subject: [spp] [PATCH 4/6] readme: update example of config.sh 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 file prefix option is supprted in startup scripts, update example of params in config.sh. Signed-off-by: Yasufumi Ogawa --- README.md | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e1085e0..51e89ee 100644 --- a/README.md +++ b/README.md @@ -145,17 +145,28 @@ If you do not have physical NICs on your server, activate physical. ```sh -SPP_HOST_IP=127.0.0.1 +SPP_CTL_IP=127.0.0.1 +SPP_FILE_PREFIX=spp # used for --file-prefix option + SPP_HUGEPAGES=/dev/hugepages # spp_primary options LOGLEVEL=7 # change to 8 if you refer debug messages. -PRI_CORE_LIST=0 # required one lcore usually. +PRI_CORE_LIST=0,1 # required one lcore usually. PRI_MEM=1024 PRI_MEMCHAN=4 # change for your memory channels. NUM_RINGS=8 PRI_PORTMASK=0x03 # total num of ports of spp_primary. -#PRI_VHOST_IDS=(11 12) # you use if you have no phy ports. + +# Vdevs of spp_primary +#PRI_VHOST_VDEVS=(11 12) # IDs of `eth_vhost` +#PRI_RING_VDEVS=(1 2) # IDs of `net_ring` +#PRI_TAP_VDEVS=(1 2) # IDs of `net_tap` +# You can give whole of vdev options here. +#PRI_VDEVS=( +#eth_vhost11,iface=/tmp/sock13,queues=1 +#eth_vhost12,iface=/tmp/sock14,queues=1 +#) ``` After you edit configuration, you can launch `spp-ctl`, -- 2.17.1