From patchwork Wed Oct 28 19:29:04 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stuart Haslam X-Patchwork-Id: 55712 Delivered-To: patch@linaro.org Received: by 10.112.61.134 with SMTP id p6csp136975lbr; Wed, 28 Oct 2015 12:31:05 -0700 (PDT) X-Received: by 10.107.11.226 with SMTP id 95mr50730710iol.186.1446060665732; Wed, 28 Oct 2015 12:31:05 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id k81si35326652ioe.176.2015.10.28.12.31.05; Wed, 28 Oct 2015 12:31:05 -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; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dkim=neutral (body hash did not verify) header.i=@linaro_org.20150623.gappssmtp.com Received: by lists.linaro.org (Postfix, from userid 109) id 0C0A66200B; Wed, 28 Oct 2015 19:31:05 +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.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID, 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 8DC5161FEF; Wed, 28 Oct 2015 19:29:32 +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 AF3A661FE4; Wed, 28 Oct 2015 19:29:27 +0000 (UTC) Received: from mail-wi0-f179.google.com (mail-wi0-f179.google.com [209.85.212.179]) by lists.linaro.org (Postfix) with ESMTPS id AF65C6198A for ; Wed, 28 Oct 2015 19:29:24 +0000 (UTC) Received: by wicll6 with SMTP id ll6so210160430wic.0 for ; Wed, 28 Oct 2015 12:29:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro_org.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:in-reply-to:references; bh=g7rql8MAMt9k7/mWyvcx4QcyWKWe2ak170vvYrO6Jec=; b=1ZAXiTflW2VHNEC1tA3GLLUiyNT1FBiMePA4gh8INodszSU0UveI3SkW3obcfkv8Ms NDHQu8FPI8ETBKNmD5D99UgVYbK0uhN2vPkBkNZYUjt+8Rxj0BFjGEboRAcKzDIMlTkn VvI2iJ392SDz/F1plYnVFrxz5jsANMQ57+2HMucAJIbOztSHw5lyrri4r5yPrvCQIsa3 XhZny3KaameKAyXCgdSvHufQ8x++E5uLQ1wIWhMtjxuFzfeRi9iCjh7hCL5/nDOxeO+Q kS7KmO92e5yEUy07KwmNlp34SccbcHK/2Sfke5GKm1O4eyP9fdasSoCy/qWTQCdvzmbr 4Y/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=g7rql8MAMt9k7/mWyvcx4QcyWKWe2ak170vvYrO6Jec=; b=Yl4GTpxV6CGO2Ts+hjuvCwIOkYVR8LBFscVsGx8Uku7lm6lGOmf1D/iJDBamiOcDEA 5L2kJoyjHJw5kvW/xfgDlOW3jbH2M5gOdqrd+VVNlxzMaLc1hDJJ/jh4xmWWXjFO+M9p fodOwlZ+BoWrG6rd/x/ZbuHRwlUZP9BmJLfdSFcr+iTQvR1ZxlvuVzRkpU8+fPheHs0T F5cDAQkbq1+jnSpO5YWKtYPXBcHjVF2lzFcCwThNkaWWU20geYlNK4Tl88vPFEo4nCch GU6MZsDCqC1uWwVUCBrU9Joygsxdt01g4Wzcm5u1W9TuXfsc4mQOxCe7KwR9KBGa4Kg3 e4uw== X-Gm-Message-State: ALoCoQnRd5jYRLeTjvJjdiXUBkNB3A8iJgMQSWDExKUPeKyQsa6PIBaO5n7kv8jPzbvC69B8fI7o X-Received: by 10.194.185.52 with SMTP id ez20mr34506044wjc.78.1446060563797; Wed, 28 Oct 2015 12:29:23 -0700 (PDT) Received: from e106441.emea.arm.com ([2001:41d0:a:3cb4::abcd]) by smtp.gmail.com with ESMTPSA id h4sm31286154wjx.41.2015.10.28.12.29.23 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 28 Oct 2015 12:29:23 -0700 (PDT) From: Stuart Haslam To: lng-odp@lists.linaro.org Date: Wed, 28 Oct 2015 19:29:04 +0000 Message-Id: <1446060551-21029-3-git-send-email-stuart.haslam@linaro.org> X-Mailer: git-send-email 2.1.1 In-Reply-To: <1446060551-21029-1-git-send-email-stuart.haslam@linaro.org> References: <1446060551-21029-1-git-send-email-stuart.haslam@linaro.org> X-Topics: patch Subject: [lng-odp] [PATCH 2/9] linux-generic: validation: pktio: disable netmap X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" 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" Explicitly disable the netmap pktio type when attempting to test the socket based types. Without this on systems with netmap support enabled (the modules loaded) the socket interfaces may not be tested. Signed-off-by: Stuart Haslam --- platform/linux-generic/test/pktio/pktio_run | 3 +++ 1 file changed, 3 insertions(+) diff --git a/platform/linux-generic/test/pktio/pktio_run b/platform/linux-generic/test/pktio/pktio_run index 4860455..3f73556 100755 --- a/platform/linux-generic/test/pktio/pktio_run +++ b/platform/linux-generic/test/pktio/pktio_run @@ -52,6 +52,9 @@ run_test() unset ODP_PKTIO_DISABLE_SOCKET_${distype} done + # this script doesn't support testing with netmap + export ODP_PKTIO_DISABLE_NETMAP=y + for distype in SKIP MMAP; do if [ "$disabletype" != "SKIP" ]; then export ODP_PKTIO_DISABLE_SOCKET_${distype}=y