From patchwork Wed Aug 2 18:00:14 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: 109275 Delivered-To: patch@linaro.org Received: by 10.140.101.6 with SMTP id t6csp3086032qge; Wed, 2 Aug 2017 11:01:51 -0700 (PDT) X-Received: by 10.237.62.233 with SMTP id o38mr31285323qtf.116.1501696911547; Wed, 02 Aug 2017 11:01:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1501696911; cv=none; d=google.com; s=arc-20160816; b=jsdjaDMWaeteMhiyXRQNzV9bDwXD5ORvuw5ucngjNOJ4hjTsm2W3N92qQrX5pek9uW +AYaixOuwOh2Qk1eutbexBONHV2nfpLyebvDMfjjy38bG1NGAm8yFNlydCHXmnksdFd3 IAfRiNjPro29zziR2G2Rmw36Ntrp0BKyMoninfFOauBFx99PfrfUzcTFPNJxqtZQ1J3A eUZUat/lLpkFBra8aOCrpyNc2E6u1IYU1dV7Y6b0STjOtQH/hiR+qSveYyPe1uDuAQga hf39mZHleXz04uF++CsxiwtNOy1siCthB/lflYqN26EhG+RXX7nI2OWS95EzF4vA6NSg 1ATQ== 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=h+HKoKZjRIM+MlDDvzbazyzuWSBJ9MEhnEcUUv1Jums=; b=WDJlToux93vJfNH9EogmlCs++79TphPkX2P6rGN8BXmieZwe+lXeNBypafU2fUKzlH xQvs10hTygUaoVmuQbpvnS+mo8xyNFd7eYtY5+fsqkBjWDFfwIVgsx+lqbkWoKpDi4if jlOZrYyE8h7/+VfYmBx0oigTNNCgpgLmW6QqCT7rlQ3UgMvMjH9dbmzZwKKgwdmoVCSE bbzBP6bWbF2PSxWfX+F90WtVmtyIghUHvrqk1A78QEwYG6ID+dZ+aZQSuxwfz3j7IKNR mFcj+j5iz4ZpLhyApGFKsQMEY0eQ5PtunlUw52nN02+BqBfxRbjKkAYbq+BURj3EplgC Fnhg== 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 19si992569qtr.317.2017.08.02.11.01.51; Wed, 02 Aug 2017 11:01:51 -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 2DCB1609A8; Wed, 2 Aug 2017 18:01:51 +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 7D2B860928; Wed, 2 Aug 2017 18:01: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 BD023609A8; Wed, 2 Aug 2017 18:01:13 +0000 (UTC) Received: from forward2h.cmail.yandex.net (forward2h.cmail.yandex.net [87.250.230.17]) by lists.linaro.org (Postfix) with ESMTPS id B6882609C9 for ; Wed, 2 Aug 2017 18:00:28 +0000 (UTC) Received: from smtp2j.mail.yandex.net (smtp2j.mail.yandex.net [95.108.130.60]) by forward2h.cmail.yandex.net (Yandex) with ESMTP id B884020EA1 for ; Wed, 2 Aug 2017 21:00:27 +0300 (MSK) Received: from smtp2j.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp2j.mail.yandex.net (Yandex) with ESMTP id 9696D3EC10C0 for ; Wed, 2 Aug 2017 21:00:26 +0300 (MSK) Received: by smtp2j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id XO7ASlov7E-0KdmvBpP; Wed, 02 Aug 2017 21:00:20 +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 21:00:14 +0300 Message-Id: <1501696815-12605-3-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1501696815-12605-1-git-send-email-odpbot@yandex.ru> References: <1501696815-12605-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 103 Subject: [lng-odp] [PATCH v3 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: a2040db93b114fb9e1da9aeca1d0a1ea91699448 ** Merge commit sha: 151694be43f01415fcea482cb2f33c85993f840e **/ 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; }