From patchwork Thu Nov 9 18: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: 118474 Delivered-To: patch@linaro.org Received: by 10.80.225.132 with SMTP id k4csp1221207edl; Thu, 9 Nov 2017 10:04:03 -0800 (PST) X-Google-Smtp-Source: AGs4zMaYvdHDAb+bK8tcHxlJdpbkeeS7Ea7RqiSP5DtVuIoTY0twyyz/F+2KGqR8hfSKbxfbcIE4 X-Received: by 10.200.38.148 with SMTP id 20mr2274240qto.157.1510250643013; Thu, 09 Nov 2017 10:04:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510250643; cv=none; d=google.com; s=arc-20160816; b=LY8sZWVWmfQcVEz/YUVCxZmI0TCGLzB7XVzvWQLWySBfWBUYPlXJOS6xovz3Gk3XB3 sI0cyJxeh4jwZ7F8lB/RBed8ISWIr1fTKBP/AvEsyDH4EaeOzHaAaphpuIbKkeg/vJCH dfZGPo5wmmwxfc+EdJCPEP0/bUG+6xPhWu1tPRIaCdAgj1BhE+pynNcoIwV2wo/Krnv0 cbH6FPBfmcBXwlcvG+D2BE8rs4s7JbEsx4Cf1wfx+tquY0ZqBwpLsmhzZ/HohlEIWDVW VSoniku/EXij5bZY/lxxCbJ3Pc4VAKVl5D+VjnEFp4Ij44WFWfGasT2Qc2h75JJtY1l2 Bj6w== 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=cJM57Td32CNlpkTIYvdxaXuqDnfPhhV+L28pAQk0pDY=; b=WBEK7BECRPYZ+LjYzX7mecKKKk01VVxXUWHTXtqeY6u3bOhMyl/AQHY3XD6MSNCNG9 /Bfu+U1CxsPRV33OTg6EcScxx0EVyMxX/qWngCItSV7wkfJGsdYuBbXScgIHptoogE7u hb9br54MXPElbRG+Bj3tBXbXPqL4f0oTJm18GGN+SELvnHF6JP+Pm1r0mwCx7J2nbXiq K8KkP1Ayg0Dv235MbCjyjQgCRXpnnMCxgQKjAI+Y0/9C/A6q4TBQZFuVQTF/PBl/WsDl cmkdDughebjJtuc9YiucZq9khL1MpsZFadWP+R3S0JiCR7p0/vzQ9o13vntrhZ7oqV+l nroA== 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 h67si6698867qkc.426.2017.11.09.10.04.02; Thu, 09 Nov 2017 10:04:02 -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 A1CE860C1E; Thu, 9 Nov 2017 18:04:02 +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 7619D61007; Thu, 9 Nov 2017 18:01:11 +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 35F1661015; Thu, 9 Nov 2017 18:00:58 +0000 (UTC) Received: from forward105j.mail.yandex.net (forward105j.mail.yandex.net [5.45.198.248]) by lists.linaro.org (Postfix) with ESMTPS id D1F6660BDF for ; Thu, 9 Nov 2017 18:00:21 +0000 (UTC) Received: from mxback7j.mail.yandex.net (mxback7j.mail.yandex.net [IPv6:2a02:6b8:0:1619::110]) by forward105j.mail.yandex.net (Yandex) with ESMTP id D2890188C07 for ; Thu, 9 Nov 2017 21:00:20 +0300 (MSK) Received: from smtp2p.mail.yandex.net (smtp2p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:7]) by mxback7j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 8ELyKyIzwr-0KKewv8j; Thu, 09 Nov 2017 21:00:20 +0300 Received: by smtp2p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id ej6QpjG6ho-0KnaTWlN; Thu, 09 Nov 2017 21:00:20 +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: Thu, 9 Nov 2017 21:00:16 +0300 Message-Id: <1510250416-6484-5-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1510250416-6484-1-git-send-email-odpbot@yandex.ru> References: <1510250416-6484-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 277 Subject: [lng-odp] [PATCH API-NEXT v4 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: d22c949cc466bf28de559855a1cb525740578137 ** Merge commit sha: 0f3d27771374d5b525af19461f31d0e308b05874 **/ 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; }