From patchwork Wed Oct 25 11:00:16 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: 117103 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp705563qgn; Wed, 25 Oct 2017 04:02:20 -0700 (PDT) X-Google-Smtp-Source: ABhQp+Rd6dAzWgYUBjYD+RDR4FZmLMpYcwGGenKLoc5IGPbTNu6DnMqLTcySN9GmsxYoweshQsEQ X-Received: by 10.55.153.69 with SMTP id b66mr2378590qke.107.1508929340693; Wed, 25 Oct 2017 04:02:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508929340; cv=none; d=google.com; s=arc-20160816; b=LMtVAboRqOGU1vIj1Wh/hxOYV0aXj0jfRbObm+sbivgjpQ89g8rD8X/su4VGQPKEel giCYMonlduvth04p91Qg4GB8H4kRGegIVN95vbNvMdbCUVcJnx/CWnW90EHyyRosKjw5 zXRdNQ+2llJjjyUk+UOA7voBEOUnsytQLE/El55VyVFIIFRSuJARdW0O+H9A5i5lDtOX vebsh8DZloSVkbyEldFSXh7ohM/eTYJOQacE4kndSzv1dcZW0Ze47vrkWcK/4kLPNDwg CU++BwgYOYnkxLf6lenzgE3KtsmsKhEGW2ysxeC1fDOthP7RPYXesjEDlssYkP3h4B24 RRww== 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=OLMlQn7l2BFKHykd0Bp1SLChfiZqNcdA0GuiDmn20pM=; b=twkTTWggA01nr61Mc9jum5IYM0g5AHiBu2pn+iOr5Nj2AA9t/ey0DYnY/0J8t4HvEb 7NjfBlR9a6bE3CSkqoXHnqcPHawRVH5uQtc7sOgCH9JnfRLggGVzniIP9QKSGzHJCF54 zRbFN41YiNqtNxIqfPP4JOJ/yvyXfzF/pqTQKRORIZDRive/J6lz1HP04KHG7vNC9mIT FHi7pFVzXbJ9bS65Tox51yctM/NMkxa01hrSjsjf3+oH1t9/RK55eJHWRqnp05rrGA/J DR92Y+Kiu8PjbTg9Sq/dAC6rtz1e/O3Dha6JWqOCzn8uOeYavt7ulzEw0HSGnIxyNIMH vURg== 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 12si2010128qkh.387.2017.10.25.04.02.20; Wed, 25 Oct 2017 04:02:20 -0700 (PDT) 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 6679D60B1A; Wed, 25 Oct 2017 11:02:20 +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 3003960ACE; Wed, 25 Oct 2017 11:01:04 +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 C28AD60981; Wed, 25 Oct 2017 11:00:50 +0000 (UTC) Received: from forward101o.mail.yandex.net (forward101o.mail.yandex.net [37.140.190.181]) by lists.linaro.org (Postfix) with ESMTPS id 80B9560A12 for ; Wed, 25 Oct 2017 11:00:42 +0000 (UTC) Received: from mxback4j.mail.yandex.net (mxback4j.mail.yandex.net [IPv6:2a02:6b8:0:1619::10d]) by forward101o.mail.yandex.net (Yandex) with ESMTP id 186751346FF8 for ; Wed, 25 Oct 2017 14:00:41 +0300 (MSK) Received: from smtp4j.mail.yandex.net (smtp4j.mail.yandex.net [2a02:6b8:0:1619::15:6]) by mxback4j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 4IJA08VN0V-0fX0tDNQ; Wed, 25 Oct 2017 14:00:41 +0300 Received: by smtp4j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id OZKatYosQH-0e7mBnmt; Wed, 25 Oct 2017 14:00:40 +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, 25 Oct 2017 14:00:16 +0300 Message-Id: <1508929216-1022-3-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1508929216-1022-1-git-send-email-odpbot@yandex.ru> References: <1508929216-1022-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 172 Subject: [lng-odp] [PATCH API-NEXT v12 2/2] 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 Implements Random early detection and Back pressure Signed-off-by: Balasubramanian Manoharan --- /** Email created from pull request 172 (bala-manoharan:random_early_discard) ** https://github.com/Linaro/odp/pull/172 ** Patch: https://github.com/Linaro/odp/pull/172.patch ** Base sha: 825f75ed8644ef57c5648961e7982daf13cd9375 ** Merge commit sha: 00781af865ca4957425afd4ef3d6041aa63244e0 **/ platform/linux-generic/odp_classification.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/platform/linux-generic/odp_classification.c b/platform/linux-generic/odp_classification.c index a5cba56a4..7fa125ec2 100644 --- a/platform/linux-generic/odp_classification.c +++ b/platform/linux-generic/odp_classification.c @@ -190,6 +190,8 @@ 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; return 0; }