From patchwork Wed Aug 2 15:00:22 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: 109230 Delivered-To: patch@linaro.org Received: by 10.140.101.6 with SMTP id t6csp2890163qge; Wed, 2 Aug 2017 08:04:23 -0700 (PDT) X-Received: by 10.200.34.162 with SMTP id f31mr30177826qta.132.1501686263722; Wed, 02 Aug 2017 08:04:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1501686263; cv=none; d=google.com; s=arc-20160816; b=EeG1aLzXIwxaG1p7kAHG5sxCxTlPam2MZtwJxFZP3NFjSqq375BqzIqf/7y63U9P10 YPlbQlI8pCghcn4bjCkFne0LfrVwCKGTOgrYSDCIMiAKZ7uynYmNCb6l74FjdA8hzJit d+YIQ9kU9xsIeZAG1caHaVzi0FmqVdKi7+sQnfZZSo3oxb5jmZ8bef/NvkkVsP5Jc+yh jsC+xOpBdmEgvTU9mRmKRckP0Fsarsch0IDq4nbSVCvmEPRE6Taq4uFjDalbmc+X0T+x qc4Q/Gt8P7hyqsXKEJXTe9KnbLMxb924nERKok2hxsFxrybyLrFo9dxQE0pFT7nqLEwP f4WQ== 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=40TQ6uK9dy95mA2kbY/9yqWN7a74XWxDPXrARY+jXHs=; b=Od0BhyEz1VKklQviy4AwcMwtgOEg0ULk5x2Hme/555Ge8YvrCimcYcJ+hOjY7Q+Zj6 SUxDERnZxhKq4ja2bbbEWwfAiSFbUKDTzA+OSzXEE4gLxPK1HltOV6mqOaUju51t0Vcf P+nUFF83eWggf5D6lgKbQRwFRvvFqEZ0gxvVuEfHdkGMYeZKCrgx4VcoCLBN73pl+WJ4 nxUj9X/qVV1LCOFfgH1OC4HX7V09LYXjQn6jwbv23SvI3kYXol3aynvKc1Mn5O3sV6+z VpdQeLaBj4FE1J+4M3+PKJnEIwl+HH4n+14vfJWEDFyoVsMnDI0TN6BW3CaUAol/qISq Oceg== 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 d88si31718357qkh.273.2017.08.02.08.04.23; Wed, 02 Aug 2017 08:04:23 -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 6154165C73; Wed, 2 Aug 2017 15:04:23 +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,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,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 C337C65C74; Wed, 2 Aug 2017 15:02:20 +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 071EE65C4F; Wed, 2 Aug 2017 15:02:11 +0000 (UTC) Received: from forward1p.cmail.yandex.net (forward1p.cmail.yandex.net [77.88.31.16]) by lists.linaro.org (Postfix) with ESMTPS id 0504565C6F for ; Wed, 2 Aug 2017 15:00:31 +0000 (UTC) Received: from smtp1o.mail.yandex.net (smtp1o.mail.yandex.net [37.140.190.26]) by forward1p.cmail.yandex.net (Yandex) with ESMTP id 0B18521021 for ; Wed, 2 Aug 2017 18:00:30 +0300 (MSK) Received: from smtp1o.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp1o.mail.yandex.net (Yandex) with ESMTP id C76071300B2B for ; Wed, 2 Aug 2017 18:00:29 +0300 (MSK) Received: by smtp1o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 9U6xUXzKXR-0SIimD3O; Wed, 02 Aug 2017 18:00:28 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) X-Yandex-Suid-Status: 1 0 From: Github ODP bot To: lng-odp@lists.linaro.org Date: Wed, 2 Aug 2017 18:00:22 +0300 Message-Id: <1501686023-19256-3-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1501686023-19256-1-git-send-email-odpbot@yandex.ru> References: <1501686023-19256-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 103 Subject: [lng-odp] [PATCH v2 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 --- /** Email created from pull request 103 (bala-manoharan:BUG3177) ** https://github.com/Linaro/odp/pull/103 ** Patch: https://github.com/Linaro/odp/pull/103.patch ** Base sha: bb0ca193f8c28036fdf8b3d6c8aa5d4f11980e6c ** Merge commit sha: d81d807fdb8eb7120a78ae604ca204800c405431 **/ 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 cc08b9f4..08b09078 100644 --- a/platform/linux-generic/odp_classification.c +++ b/platform/linux-generic/odp_classification.c @@ -328,7 +328,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; } @@ -403,7 +402,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; } @@ -436,7 +434,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; }