From patchwork Fri Feb 27 07:12:31 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Balasubramanian Manoharan X-Patchwork-Id: 45211 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f70.google.com (mail-wg0-f70.google.com [74.125.82.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 1106D204BC for ; Fri, 27 Feb 2015 07:13:01 +0000 (UTC) Received: by wghk14 with SMTP id k14sf12391862wgh.0 for ; Thu, 26 Feb 2015 23:13:00 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state: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=9nqoyQNbzcXsy5An0z0cv+EsakAvafxqu/WLifbXmJk=; b=nJRRldUJWZUwMjZ6LU2kp7oa1cZgWIZb9by4kTuyLy8VUeXbSH9dY/RCsy0oNS07Iv AEpmsVFcrLtnR2vIEY+YfncX9uIUTR7P6qGllRv+ZuSpgF1b6tTBci1GhjWyNMrVWq5g pZzl18FXX1pmX2kQkk07ePTbDQGm0JpyTg52wceiCHSd+w1G/otWlgx8N8PoPUCHRRvE 4Mdv/g4iKJ9y5kkKrK0ZQwf64UDh/pt87F+vI1Kbz5+dycIvfWScGK3UsvQm7ElUkOhl uTq3ywpGv1UxY7YboE4GtjmklEGVNJFQ5izMBpLwdEItNnjuuT8c7RMdavCbilDrLtyb ajHA== X-Gm-Message-State: ALoCoQkjSpiX5kC9kov+q/WbqdXWewTc7wgs9fw0In9R2cRVelS8GRoGXZ44z6wc18bSDpE6tIXR X-Received: by 10.181.29.66 with SMTP id ju2mr222638wid.1.1425021180377; Thu, 26 Feb 2015 23:13:00 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.21.9 with SMTP id r9ls121533lae.75.gmail; Thu, 26 Feb 2015 23:13:00 -0800 (PST) X-Received: by 10.152.8.229 with SMTP id u5mr11143154laa.4.1425021180208; Thu, 26 Feb 2015 23:13:00 -0800 (PST) Received: from mail-la0-f45.google.com (mail-la0-f45.google.com. [209.85.215.45]) by mx.google.com with ESMTPS id ei1si2237242lad.126.2015.02.26.23.13.00 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 Feb 2015 23:13:00 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.45 as permitted sender) client-ip=209.85.215.45; Received: by labgd6 with SMTP id gd6so15729385lab.8 for ; Thu, 26 Feb 2015 23:12:59 -0800 (PST) X-Received: by 10.152.26.199 with SMTP id n7mr10947849lag.29.1425021179881; Thu, 26 Feb 2015 23:12:59 -0800 (PST) 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.35.133 with SMTP id h5csp3760582lbj; Thu, 26 Feb 2015 23:12:59 -0800 (PST) X-Received: by 10.140.150.149 with SMTP id 143mr27149623qhw.4.1425021178664; Thu, 26 Feb 2015 23:12:58 -0800 (PST) Received: from ip-10-35-177-41.ec2.internal (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTPS id k17si3220859qae.123.2015.02.26.23.12.57 (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 26 Feb 2015 23:12:58 -0800 (PST) Received-SPF: none (google.com: lng-odp-bounces@lists.linaro.org does not designate permitted sender hosts) client-ip=54.225.227.206; Received: from localhost ([127.0.0.1] helo=ip-10-35-177-41.ec2.internal) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1YRF6V-0000wY-1p; Fri, 27 Feb 2015 07:12:55 +0000 Received: from mail-pd0-f179.google.com ([209.85.192.179]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1YRF6O-0000wT-OX for lng-odp@lists.linaro.org; Fri, 27 Feb 2015 07:12:48 +0000 Received: by pdjg10 with SMTP id g10so19130560pdj.1 for ; Thu, 26 Feb 2015 23:12:43 -0800 (PST) X-Received: by 10.66.132.6 with SMTP id oq6mr22053766pab.29.1425021163115; Thu, 26 Feb 2015 23:12:43 -0800 (PST) Received: from manoharan-Vostro-2520.domain.name ([117.199.139.144]) by mx.google.com with ESMTPSA id hz8sm3031514pac.5.2015.02.26.23.12.40 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 26 Feb 2015 23:12:42 -0800 (PST) From: bala.manoharan@linaro.org To: lng-odp@lists.linaro.org Date: Fri, 27 Feb 2015 12:42:31 +0530 Message-Id: <1425021151-26374-1-git-send-email-bala.manoharan@linaro.org> X-Mailer: git-send-email 2.0.1.472.g6f92e5f X-Topics: Classification patch Subject: [lng-odp] [PATCH v1] validation: classification: pktio skip value set to zero X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.14 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-bounces@lists.linaro.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: bala.manoharan@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.215.45 as permitted sender) smtp.mail=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 From: Balasubramanian Manoharan odp_pktio_skip_set() value is reset to zero as the validation suite expects the skip value to be zero. Fixes https://bugs.linaro.org/show_bug.cgi?id=1230 Signed-off-by: Balasubramanian Manoharan --- test/validation/classification/odp_classification_tests.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/validation/classification/odp_classification_tests.c b/test/validation/classification/odp_classification_tests.c index fa37243..bd1bc3f 100644 --- a/test/validation/classification/odp_classification_tests.c +++ b/test/validation/classification/odp_classification_tests.c @@ -533,6 +533,12 @@ static void classification_pktio_set_skip(void) retval = odp_pktio_skip_set(ODP_PKTIO_INVALID, offset); CU_ASSERT(retval < 0); + + /* reset skip value to zero as validation suite expects + offset to be zero*/ + + retval = odp_pktio_skip_set(pktio_loop, 0); + CU_ASSERT(retval == 0); } static void classification_pktio_set_headroom(void)