From patchwork Mon Nov 20 14:00:13 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: 119286 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp3892770qgn; Mon, 20 Nov 2017 06:02:20 -0800 (PST) X-Google-Smtp-Source: AGs4zMaSJt8tqw9Mis93WwAAvgi0sJ1wi6VsSdZsRlQSsYHBME69Fkke9MgzFnW73vjl4lOSLUt6 X-Received: by 10.233.244.73 with SMTP id z9mr22186427qkl.300.1511186540124; Mon, 20 Nov 2017 06:02:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511186540; cv=none; d=google.com; s=arc-20160816; b=Nh/cpRwYg7NlBFKS2jkPWCNgfNVHRzyM4X7XtPsGqSb436SYmNgytBXYQl/vHekaGn 6wf+9G74dGEr414oWTrnZAdOk4pyLT0qhk/H29dowlslSMfJ1TLPGozZTrbfAG8tBAwK gFXzbp6k4pCNMzVwRS59bLoerwddmzYNKc9pTzBnhTn+haoinECJL6/9tMz4Fm3l0pr1 VUr7fiaJmVYz21I6D+CfLHkOvhcZes2omoNKhCL5UGi2xvDXUi9Wy5l/oQD1u7+/BrOU FBUIZPgyrF9Y449vugQ2AYCjnC5nZi05n6ZOraKMhVMess41fn/rIWlZWpfc5cC+Om15 hrwA== 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=7f5RsnTNTx8RSV8v5fzAKuM6OGWx/ufBeLUOvCy7ZCI=; b=tirH2vQgPQIpN1seaPrneJPIs5VAJR4J0JggjEAgmOxz2ZQ3rZ5Hiz7JCF8xibzNpW BihW5x1FvSy5RpUX1BmSxABb8SdE/ay4t1QJvM4EmQAzO+Q5015qf6z7HKEH46SS8K29 zO8W6gr8CtvZEdSgSlyfblb7GcTCPEzL589Yr0av2vhHUkRDuj5Z7d3CtJWX09hnc/OJ T8TyyE8Nkq2aGaq+JbP2cCq4VLabCMl2kvykxxDlgyYZQK5BbfZ7WSGG3D24MTwyVCHA 5XMz23mc3sDwNSjNFjRTuxlHipgfF31tC0SaeR+uzu/OXNokKcMeziZlbakk+pbed9kK t4ag== 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 r184si457863qkf.16.2017.11.20.06.02.19; Mon, 20 Nov 2017 06:02:20 -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 CAA71608DC; Mon, 20 Nov 2017 14:02:19 +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,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,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 5E8696088A; Mon, 20 Nov 2017 14:00:36 +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 E3EDE607A0; Mon, 20 Nov 2017 14:00:28 +0000 (UTC) Received: from forward103p.mail.yandex.net (forward103p.mail.yandex.net [77.88.28.106]) by lists.linaro.org (Postfix) with ESMTPS id CDAB060607 for ; Mon, 20 Nov 2017 14:00:20 +0000 (UTC) Received: from mxback6j.mail.yandex.net (mxback6j.mail.yandex.net [IPv6:2a02:6b8:0:1619::10f]) by forward103p.mail.yandex.net (Yandex) with ESMTP id 780DD218179A for ; Mon, 20 Nov 2017 17:00:19 +0300 (MSK) Received: from smtp3p.mail.yandex.net (smtp3p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:8]) by mxback6j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id zpAsWKko2L-0JKWl05f; Mon, 20 Nov 2017 17:00:19 +0300 Received: by smtp3p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id nKkSyfh6qf-0IbGtt9F; Mon, 20 Nov 2017 17:00:18 +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, 20 Nov 2017 17:00:13 +0300 Message-Id: <1511186413-3157-5-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1511186413-3157-1-git-send-email-odpbot@yandex.ru> References: <1511186413-3157-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 277 Subject: [lng-odp] [PATCH API-NEXT v8 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: d4b364849c4abb4c71e0c5260e1a793ebb8dc97d ** Merge commit sha: 806896e052ccb172565d49630ce6033f4e6ec9cd **/ 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; }