From patchwork Wed Oct 14 09:39:35 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stuart Haslam X-Patchwork-Id: 54896 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f199.google.com (mail-wi0-f199.google.com [209.85.212.199]) by patches.linaro.org (Postfix) with ESMTPS id 6450C20490 for ; Wed, 14 Oct 2015 09:40:19 +0000 (UTC) Received: by wibzt1 with SMTP id zt1sf24206066wib.0 for ; Wed, 14 Oct 2015 02:40:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:delivered-to:from:to:date :message-id:subject:precedence:list-id:list-unsubscribe:list-archive :list-post:list-help:list-subscribe:mime-version:content-type :content-transfer-encoding:errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=LMS8joYLg5YSpSXHU+1QE98ufxKlHvljUCQHxrC8o38=; b=LKF8V2zogYCBYr8XXpVVv3198tY8XpGfTvql5fG43dKMkrW01VxxQz02ypka5i9FJD g48Z3jzdK2l5ETP68f2yMvMaB7YZAoq/FYFPSgN5OI6iLGlf8nWZcQFq10C4yoNB39y1 6DIo+XYzLydmYMBHrHxfutLVWzFfJ5I7kH9uFpeKQ2vRKsdwSjFnDna+07g95vVrsP6r Uow7bcq+TyBvInXJd6IE3ZJOcxb+ponv9eMAjTzeGKyx6BZoxJXrCaOMfIi0Hb3ZEGi8 xz4J+YLJskYA0p+5wDrryFBYQcNufMFVH0BaiZq9iSGZNqlfPBdE4GVoaksfJZTi1I+i eEYg== X-Gm-Message-State: ALoCoQmCPQDNrMSpUPfvJgtlW1P+KiEmnkEbLPe46AH1/rvEVinAaYckr0KDz+jyx/KnnL9t3zAs X-Received: by 10.180.208.7 with SMTP id ma7mr620521wic.5.1444815618631; Wed, 14 Oct 2015 02:40:18 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.25.80.140 with SMTP id e134ls18279lfb.42.gmail; Wed, 14 Oct 2015 02:40:18 -0700 (PDT) X-Received: by 10.25.151.131 with SMTP id z125mr711084lfd.104.1444815618481; Wed, 14 Oct 2015 02:40:18 -0700 (PDT) Received: from mail-lb0-f172.google.com (mail-lb0-f172.google.com. [209.85.217.172]) by mx.google.com with ESMTPS id r8si4988224lbp.30.2015.10.14.02.40.18 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Oct 2015 02:40:18 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.172 as permitted sender) client-ip=209.85.217.172; Received: by lbbck17 with SMTP id ck17so42173913lbb.1 for ; Wed, 14 Oct 2015 02:40:18 -0700 (PDT) X-Received: by 10.112.161.168 with SMTP id xt8mr52278lbb.88.1444815618359; Wed, 14 Oct 2015 02:40:18 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.59.35 with SMTP id w3csp2614211lbq; Wed, 14 Oct 2015 02:40:16 -0700 (PDT) X-Received: by 10.107.157.143 with SMTP id g137mr3034194ioe.106.1444815616797; Wed, 14 Oct 2015 02:40:16 -0700 (PDT) Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id i10si6369697ioo.115.2015.10.14.02.40.13; Wed, 14 Oct 2015 02:40:16 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Received: by lists.linaro.org (Postfix, from userid 109) id 21F4161CB0; Wed, 14 Oct 2015 09:40:13 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 3CFE56196E; Wed, 14 Oct 2015 09:40:09 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id CC40B619EB; Wed, 14 Oct 2015 09:40:06 +0000 (UTC) Received: from mail-wi0-f176.google.com (mail-wi0-f176.google.com [209.85.212.176]) by lists.linaro.org (Postfix) with ESMTPS id EC8AB611FC for ; Wed, 14 Oct 2015 09:40:04 +0000 (UTC) Received: by wieq12 with SMTP id q12so73633409wie.1 for ; Wed, 14 Oct 2015 02:40:04 -0700 (PDT) X-Received: by 10.180.21.137 with SMTP id v9mr25594476wie.8.1444815603936; Wed, 14 Oct 2015 02:40:03 -0700 (PDT) Received: from e106441.emea.arm.com ([2001:41d0:a:3cb4::abcd]) by smtp.gmail.com with ESMTPSA id ki7sm8863684wjc.28.2015.10.14.02.40.03 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 14 Oct 2015 02:40:03 -0700 (PDT) From: Stuart Haslam To: lng-odp@lists.linaro.org Date: Wed, 14 Oct 2015 10:39:35 +0100 Message-Id: <1444815575-18268-1-git-send-email-stuart.haslam@linaro.org> X-Mailer: git-send-email 2.1.1 X-Topics: patch Subject: [lng-odp] [PATCH] linux-generic: pktio: remove hyphens from veth interface names X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: stuart.haslam@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.172 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Recent netmap versions support veth devices so can be tested using the environment setup by the pktio_env script, the only problem is it doesn't like hyphens in interface names: nm_open [839] unexpected character: 'p' pktio-p0-p1 Signed-off-by: Stuart Haslam --- platform/linux-generic/test/pktio/pktio_env | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/platform/linux-generic/test/pktio/pktio_env b/platform/linux-generic/test/pktio/pktio_env index 5e547e4..345b5bd 100644 --- a/platform/linux-generic/test/pktio/pktio_env +++ b/platform/linux-generic/test/pktio/pktio_env @@ -18,10 +18,10 @@ # Network set up # IF0 <---> IF1 # IF2 <---> IF3 -IF0=pktio-p0-p1 -IF1=pktio-p1-p0 -IF2=pktio-p2-p3 -IF3=pktio-p3-p2 +IF0=pktiop0p1 +IF1=pktiop1p0 +IF2=pktiop2p3 +IF3=pktiop3p2 if [ "$0" = "$BASH_SOURCE" ]; then echo "Error: Platform specific env file has to be sourced."