From patchwork Wed Nov 15 11:00:12 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: 118932 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp4156783qgn; Wed, 15 Nov 2017 03:01:22 -0800 (PST) X-Google-Smtp-Source: AGs4zMaGAJENTdq8rjZaftONPdb9BM2htbO/safB+tDJY/EruBwHIvje4NP2/OiutkavBx3YSDtj X-Received: by 10.200.9.91 with SMTP id z27mr24550167qth.207.1510743682884; Wed, 15 Nov 2017 03:01:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510743682; cv=none; d=google.com; s=arc-20160816; b=qhpJTBO2hZ8Jru75XAX5ZHGpzDUyhAgpj+5TMsIVxTS9jLXPqRMG3eEo9TcKtH8LR/ gT2Jj7Af6fUJIf0Y/GUvamtvTSuF2AaqcMYUF5Hu+X9vBMILLg6G773ekWRNdtgQ6iTY Lx7lZNPjzcavknmE1xI0qjtA/gut+Uh27HUPOwGDdL4EsFHa9b9ATtFfVaWWSXRy1AO5 zxqdO4Tevldqyq0FwXkQn/Onw789251qMsVdiANsK+bfKagMF2ljLHxpj5tWe2zYX4Qp oKreci0auVGu27MVvtch47xdojgxlNKIBLR/J1FxiNOpacLSMUrtZY0F+kl+sQpEQ8dM Xh7g== 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=+UfWyyiAUKkNW+Q1wct7RQXieL+KpEcf6+l8ZM29STk=; b=cTcMbpcmw3l94lrZA11bMQOpj5K5i27NItcqWz98d+IT1JcOVpGhTvKJHhJ8H47RFz aPAWSbIAYld4Lw36PFLy4SmnH2hcrnnp0MaZhaWdnw/RogT0AY+EmxdWoX+yUjeUE6OG Ve8nUugpU+psAJj6uy4YzMQxXSHMGpQ3nyyJrkXgjw3YuJQhum1E/qJ8bcAOAU/Lt+J9 g60rEifyeYePKsr73w0euIcYrcEyjAFJz/5D0FR2visvrnOzcNlnL7w6ECyjzjhtURQE qvaV39unk87g/27RQ28tGblrRppoANIZ41q2hq4QhhND2uGndG2Z4FchBknMD8cCIxS9 Swvg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 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 (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id s72si3327558qka.75.2017.11.15.03.01.22; Wed, 15 Nov 2017 03:01:22 -0800 (PST) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 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 9615B604A1; Wed, 15 Nov 2017 11:01:22 +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=-5.4 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, 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 5E1056068B; Wed, 15 Nov 2017 11:00:38 +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 93503604A1; Wed, 15 Nov 2017 11:00:24 +0000 (UTC) Received: from forward104p.mail.yandex.net (forward104p.mail.yandex.net [77.88.28.107]) by lists.linaro.org (Postfix) with ESMTPS id A84A96069A for ; Wed, 15 Nov 2017 11:00:17 +0000 (UTC) Received: from mxback4g.mail.yandex.net (mxback4g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:165]) by forward104p.mail.yandex.net (Yandex) with ESMTP id 176C4184B95 for ; Wed, 15 Nov 2017 14:00:16 +0300 (MSK) Received: from smtp3p.mail.yandex.net (smtp3p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:8]) by mxback4g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id e7bPeGisOq-0G2CqBpY; Wed, 15 Nov 2017 14:00:16 +0300 Received: by smtp3p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 85x2bh5VFm-0FwCYTrW; Wed, 15 Nov 2017 14:00:15 +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: Wed, 15 Nov 2017 14:00:12 +0300 Message-Id: <1510743612-1242-5-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1510743612-1242-1-git-send-email-odpbot@yandex.ru> References: <1510743612-1242-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 277 Subject: [lng-odp] [PATCH API-NEXT v5 4/4] linux-generic: classification: implement random early detection and back pressure 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 linux-generic does not support random early detection and back pressure Signed-off-by: Balasubramanian Manoharan --- /** Email created from pull request 277 (bala-manoharan:RED) ** https://github.com/Linaro/odp/pull/277 ** Patch: https://github.com/Linaro/odp/pull/277.patch ** Base sha: ba93e355ddf151215aa18b59cbfca08fe175fe65 ** Merge commit sha: 4f0291a1c2fcd19243f1ced69f46d9b2d58fedb7 **/ platform/linux-generic/odp_classification.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/platform/linux-generic/odp_classification.c b/platform/linux-generic/odp_classification.c index a5cba56a4..025f12593 100644 --- a/platform/linux-generic/odp_classification.c +++ b/platform/linux-generic/odp_classification.c @@ -190,6 +190,10 @@ int odp_cls_capability(odp_cls_capability_t *capability) capability->supported_terms.bit.tcp_sport = 1; capability->supported_terms.bit.sip_addr = 1; capability->supported_terms.bit.dip_addr = 1; + capability->random_early_detection = ODP_SUPPORT_NO; + capability->back_pressure = ODP_SUPPORT_NO; + capability->threshold_red.all_bits = 0; + capability->threshold_bp.all_bits = 0; return 0; }