From patchwork Mon Nov 6 13:00:05 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: 118031 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp2742544qgn; Mon, 6 Nov 2017 05:04:48 -0800 (PST) X-Google-Smtp-Source: ABhQp+RTH2dsqmMS30cGeNfnbuq2YZqDNnDxeNLLyv4bEjRGifcPm8d1PFDGqogH3MYPs/mV51hg X-Received: by 10.107.20.209 with SMTP id 200mr18735750iou.219.1509973488343; Mon, 06 Nov 2017 05:04:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1509973488; cv=none; d=google.com; s=arc-20160816; b=MSl/v37FS2s9CsPPTBX66MVStRRAowsBmdARuEmJdX9IoT8yGlKIKAgKKp4CSv7Bk7 WLpwTWK2IsK/i1FekyyhXVJIBIXKsy3pwQdf4rUWp9OMymXCBK02148CmReMQ5q6WMq5 EmyfjI2FsyA00ye+ZE8vToKGuBzhQ1fAKoSBqIT/5mqOmme8gPwBiWpCPP1z0CNQgfL5 X34rDPSBv8Re+ahKw7HwqpD8qOlsDmwY+CD87aTSFY5OcKo9f2k+vlC2Jk0VblbFCwjl J1uwlDqqu794fj8QYo0dObsRgrSH7fRRPZyxqEC2wR1Fqut50L8YHFCruG7ytzxqYQDK AxRw== 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=07oDVu6TrZiWif022g9d0y6YgB9RNLw8h8prdzxaKvg=; b=T+mgXJ3IN5ftBvk5agPR1JRiCFAU2v344kbbYs53gi71qx4GGFR4Ml+y83AhPVwsyW RjeIEi3lo0QEim+hHpQxyWclKgp/Wwl1FMlaH0g56iM4oc2/Ra91W5iz5aULxvvLxJ2R +f7vm1vBxpBEawoIKiZr9jvKe0PDgw41Ur1a7Uhvhl1Aw/ETeVkCtsdwU5Vae6RHd5WR Emj7elSA4cyMN5esq1+8VeGIf/NZZR8RNOTT2t/smZWSosxDrotv1gr6KXhsh1ZIvtgr 6VL62a+KR1T5elaZVl8PADP98WA1hNJfj1lK7OBLCZW/bS5BoIO/4hiMF9oo/t7T0cXD 5+zg== 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 123si7886507itm.139.2017.11.06.05.04.48; Mon, 06 Nov 2017 05:04:48 -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 D204260C01; Mon, 6 Nov 2017 13:04:47 +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 0ABA960C18; Mon, 6 Nov 2017 13:00:50 +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 6652A6069F; Mon, 6 Nov 2017 13:00:20 +0000 (UTC) Received: from forward105p.mail.yandex.net (forward105p.mail.yandex.net [77.88.28.108]) by lists.linaro.org (Postfix) with ESMTPS id B33DF60762 for ; Mon, 6 Nov 2017 13:00:13 +0000 (UTC) Received: from mxback3j.mail.yandex.net (mxback3j.mail.yandex.net [IPv6:2a02:6b8:0:1619::10c]) by forward105p.mail.yandex.net (Yandex) with ESMTP id 4693740849A0 for ; Mon, 6 Nov 2017 16:00:12 +0300 (MSK) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [2a02:6b8:0:1a2d::28]) by mxback3j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 36fhXNy5wQ-0Ci4Odv0; Mon, 06 Nov 2017 16:00:12 +0300 Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id nU8zA9xMmR-0BhqD9cZ; Mon, 06 Nov 2017 16:00:11 +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, 6 Nov 2017 16:00:05 +0300 Message-Id: <1509973206-1972-7-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1509973206-1972-1-git-send-email-odpbot@yandex.ru> References: <1509973206-1972-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 277 Subject: [lng-odp] [PATCH API-NEXT v1 6/7] linux-generic: pool: implementation for RED and BP 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 RED and BP at pool level 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: f8726f45026a85ce1dde794190c1eb35945dca3f **/ platform/linux-generic/odp_pool.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/platform/linux-generic/odp_pool.c b/platform/linux-generic/odp_pool.c index 40114093a..f3262bae1 100644 --- a/platform/linux-generic/odp_pool.c +++ b/platform/linux-generic/odp_pool.c @@ -928,6 +928,8 @@ int odp_pool_capability(odp_pool_capability_t *capa) capa->pkt.min_seg_len = CONFIG_PACKET_SEG_LEN_MIN; capa->pkt.max_seg_len = max_seg_len; capa->pkt.max_uarea_size = MAX_SIZE; + capa->pkt.random_early_detection = ODP_SUPPORT_NO; + capa->pkt.back_pressure = ODP_SUPPORT_NO; /* Timeout pools */ capa->tmo.max_pools = ODP_CONFIG_POOLS;