From patchwork Wed Nov 15 14:00:21 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: 118952 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp4356066qgn; Wed, 15 Nov 2017 06:06:52 -0800 (PST) X-Google-Smtp-Source: AGs4zMaKQ8wg1PffH7Pf9OLLRWn3Qx65R7e5hdd38dJ4mff7gwh/rUuIOUXzWaAh08hZAIp3yLH5 X-Received: by 10.200.46.119 with SMTP id s52mr5183268qta.192.1510754812091; Wed, 15 Nov 2017 06:06:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510754812; cv=none; d=google.com; s=arc-20160816; b=dkxajAeTr8zs79kKmnXMFFLDrq0Xogj4g7xbm18YHKpqcMXPbCtjjU0Xn39AtxEt0l PxX8/3BviejvGUX98sImSVZi46RW8WlJiOrXNnm2cGfWIgDEPnHJz9pa21fLccSRg1xZ 19xh9qBs61Jb3m5PlCXkLUiHHZE1M4EBoiEouNGje3Vr3qWXfhwe5aleoCC5f/iV6lgr m3NfFOeBK1M0LVx92rlFghjNzmZEMs0ynR9sbeypT0isp9ts34hieqEy4YfLXzm/1LUG iZqCGQT2L7wJvP7T8EFu94x3Vfm3PHQS8AM0PunvvI4mRHJRzH3/dT4v2ji4ppKU1Pok 5AsA== 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=a83wdsUvAcmhXTLUgydSr4k77DGbFA/rA2Ncqoauyyg=; b=eQ7SRZEfPzltGmqXDby/0xYIcCCvPeIaqU1CiM4A8yTAsBjO1+3wQ1IgjGx43JTtZZ AMJAZ3MpS550Xt9X62gwt9bSfgyu/DbiLxoPG95xDeCgzxZdry12/YA8HdhetS4rQDx7 9KZNwJkuwdar9SVTJy25DgF6kaJG7DvMNtyszN11J+mPbcExEoebj23VFRt9nkNrL/UU MoAaWxQdbPlqjoYcsz7d2ekddJYBeXssvdU2z4c1nsV/+pWTzUJCD/0IuJL2NavFGRHj mHC1OLj+4YR9G3FpkkIzZ85Ts82x7i3SoxO2XUPVP6dzJuF+Xl1BLDhbIzVER4G0aQog frMw== 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 8si2884504qtp.6.2017.11.15.06.06.51; Wed, 15 Nov 2017 06:06:52 -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 B9648607F9; Wed, 15 Nov 2017 14:06: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,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 E209660690; Wed, 15 Nov 2017 14:02:40 +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 5928660836; Wed, 15 Nov 2017 14:02:30 +0000 (UTC) Received: from forward102p.mail.yandex.net (forward102p.mail.yandex.net [77.88.28.102]) by lists.linaro.org (Postfix) with ESMTPS id 4E22D6069A for ; Wed, 15 Nov 2017 14:00:28 +0000 (UTC) Received: from mxback11g.mail.yandex.net (mxback11g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:90]) by forward102p.mail.yandex.net (Yandex) with ESMTP id E05834301CFB for ; Wed, 15 Nov 2017 17:00:26 +0300 (MSK) Received: from smtp3o.mail.yandex.net (smtp3o.mail.yandex.net [2a02:6b8:0:1a2d::27]) by mxback11g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id UhLUDTLAPv-0QLig2HZ; Wed, 15 Nov 2017 17:00:26 +0300 Received: by smtp3o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 1e1o95Ghl7-0QvaxIbn; Wed, 15 Nov 2017 17:00:26 +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 17:00:21 +0300 Message-Id: <1510754421-26137-5-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1510754421-26137-1-git-send-email-odpbot@yandex.ru> References: <1510754421-26137-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 277 Subject: [lng-odp] [PATCH API-NEXT v6 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: 1c3ff9a77c88059189428342ddcb563eaee2f74c **/ 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; }