From patchwork Mon Aug 14 17:00:04 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 110059 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp4590832qge; Mon, 14 Aug 2017 10:02:26 -0700 (PDT) X-Received: by 10.200.56.54 with SMTP id q51mr34265007qtb.338.1502730146005; Mon, 14 Aug 2017 10:02:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502730145; cv=none; d=google.com; s=arc-20160816; b=faF/Q4F9UekC2dYBM1fDKSHp65DLXeBKT1lZgRIQ3NxxO7VXGo7HsL8BA7dae1SxjS rOFxbItcJZG2Y0+6qgq7zVsX7cvBhKiuYTtDqHP5VoynZq9lW4GjAs42U4+wrJNa+NK4 eNJ5e+ykXpj9m8DXTaknnoPMngXLpRKcB0+AU/ahHX4VUXCj0HHJO63uyQrwH68T/0oj 82Jtsb46zL+vgJnwZL+jYonCJnYD/2ya/Nsr0elHVsQSxX7d2DbD5+rfr7bdi2NwXUZv D6PvCZapGKF/yizy+E51X5rgwiDkgybn+jQhb7/cSlX9u1MyZZNAgliS/8qdyWmGpg8m IgiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=4aYNNK3kdUhiiPZq3pDu90DV3TaoYmdElibaM4gS9nc=; b=dzPZRWTxvAa+kdSp9pzfqzWCO0GpVU4TncbnKna678mF0MJr6LT56znWWOfVCwtMQx 40Ua3MO12CCSG8cmhMDV0pOXfykatC4iBJrjNKoSMBZoZVVbhvqtMtN4Kk5r/iVn6f+0 8osi1yNC7PvU4mpBlpseyG6x5Pqse+7QYi5UwMHiIEGdp0jERDBsATbGNdqngGxA9Onl gEakCnBU3aPZpjKvWvZbuvlXLg03KLWduaLBwGQvRjb30kdpTBdaJrlDI5th5q0dEq8E pXsQ7CrU+7FzRQXPqQxPzF4eUnbbfznz/8pi16CQ+Vv+7UhJF5NemCHEznIJAFWcr+Dv 6f6Q== ARC-Authentication-Results: i=1; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id a27si2790534qka.191.2017.08.14.10.02.25; Mon, 14 Aug 2017 10:02:25 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id A660D635F8; Mon, 14 Aug 2017 17:02:25 +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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, 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 28C446449E; Mon, 14 Aug 2017 17:00:37 +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 16C0064469; Mon, 14 Aug 2017 17:00:29 +0000 (UTC) Received: from forward106j.mail.yandex.net (forward106j.mail.yandex.net [5.45.198.249]) by lists.linaro.org (Postfix) with ESMTPS id 1690A635F8 for ; Mon, 14 Aug 2017 17:00:23 +0000 (UTC) Received: from mxback12j.mail.yandex.net (mxback12j.mail.yandex.net [IPv6:2a02:6b8:0:1619::87]) by forward106j.mail.yandex.net (Yandex) with ESMTP id 9D950180365A for ; Mon, 14 Aug 2017 20:00:21 +0300 (MSK) Received: from smtp2p.mail.yandex.net (smtp2p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:7]) by mxback12j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id qcEMldg9pp-0LaCB3GH; Mon, 14 Aug 2017 20:00:21 +0300 Received: by smtp2p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id mlYyN0Wfya-0Lo4mu0X; Mon, 14 Aug 2017 20:00:21 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Mon, 14 Aug 2017 20:00:04 +0300 Message-Id: <1502730005-8444-3-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1502730005-8444-1-git-send-email-odpbot@yandex.ru> References: <1502730005-8444-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 126 Subject: [lng-odp] [PATCH v1 2/3] linux-generic: classification: update classifier enable boolean 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: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" From: Balasubramanian Manoharan removes classifier enable boolean default setting Fixes https://bugs.linaro.org/show_bug.cgi?id=3177 Signed-off-by: Balasubramanian Manoharan Signed-off-by: Maxim Uvarov --- /** Email created from pull request 126 (muvarov:monarch_lts) ** https://github.com/Linaro/odp/pull/126 ** Patch: https://github.com/Linaro/odp/pull/126.patch ** Base sha: 759b6d5da6617af244765983d0b8bfbb26f41890 ** Merge commit sha: 2c095e7e4fe1c0fc39b552b84d2374988f5920ca **/ platform/linux-generic/odp_classification.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/platform/linux-generic/odp_classification.c b/platform/linux-generic/odp_classification.c index ea223bfb..05dea14e 100644 --- a/platform/linux-generic/odp_classification.c +++ b/platform/linux-generic/odp_classification.c @@ -331,7 +331,6 @@ int odp_pktio_default_cos_set(odp_pktio_t pktio_in, odp_cos_t default_cos) } entry->s.cls.default_cos = cos; - pktio_cls_enabled_set(entry, 1); return 0; } @@ -406,7 +405,6 @@ int odp_cos_with_l2_priority(odp_pktio_t pktio_in, l2_cos->cos[qos_table[i]] = cos; } } - pktio_cls_enabled_set(entry, 1); UNLOCK(&l2_cos->lock); return 0; } @@ -439,7 +437,6 @@ int odp_cos_with_l3_qos(odp_pktio_t pktio_in, l3_cos->cos[qos_table[i]] = cos; } } - pktio_cls_enabled_set(entry, 1); UNLOCK(&l3_cos->lock); return 0; }