From patchwork Thu Oct 5 12:00:06 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: 114921 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp507117qgn; Thu, 5 Oct 2017 05:02:19 -0700 (PDT) X-Google-Smtp-Source: AOwi7QB2HAJ4Jw+KDCaWSKLGsLJJnhMhnReZlMdGIGRE9K9QLfSAlZQ0UoHuliAzNELAskqXY/qN X-Received: by 10.200.53.171 with SMTP id k40mr20449448qtb.264.1507204939266; Thu, 05 Oct 2017 05:02:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507204939; cv=none; d=google.com; s=arc-20160816; b=eul8qclVmzR2JdE7fZAgUuWrixTaRjHrwjcKdiCwG3J0hdsZV2kpqoWzhlobaV15Vq J4Dd66RGXmDHkf6tiO27AP4/bA4/xCeLv6c9/EdzF/VNsur+uy0LaQUfP2Il4sWYgCcT Ca/kzr3sovuotahVIunwzUlljqcKQK+4HI+vWrIZPuf2gYykcBXYskE7nGVrMXbYjhVt Dsm9txpf2s6hlwyoRkJK5zrRXTUORNH+k3yZnB8/Kb2buj2S8GjBvu914xYLuJASg1k3 le/ynHUU2pS12MThTbshVNZq1V8kLxK49nD3ehSIrx3e4607+x8C6nSU4HzDFPNDm/ft Z8EA== 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=FC8GBZoQNh5oINlcgLbxBsVb5D5tJrc41wOABUCgtOk=; b=LaM/FPzMqN3mTwUYV+XAZnJwCiV0MSCD5sZT1qwNybPw6nTMtY0zgwGsVeL4IkaOoN D+lTJCmu2NXZAtElj6Fv3fwkjG/umbiqXkD+ZtHIEUmCfTtdS7Besu9qfwa6Ep4oNwhu WxxdixPRokrIs43BrHPjQm2ewd+f7mdCanNjSyKKYq/wKZ9ns0c5SHjH9BK5TLcBvEyC NW8OOAM654u3RkiXdqbQMHhZxaHvXElvfUfbBh38ReMT2GrAZo+AMDja8s8WLesz9mUO LWCE4P3JSGVZhy+11ETbE9M5x6H2z9FT4Evl+gO/estnER7LNi77Tl6H700ncIdhm65/ 6eUg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 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 (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id n66si1098916qka.457.2017.10.05.05.02.19; Thu, 05 Oct 2017 05:02:19 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 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 E661A644DB; Thu, 5 Oct 2017 12:02:18 +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 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 347E4644C7; Thu, 5 Oct 2017 12:01:21 +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 50A0D644C9; Thu, 5 Oct 2017 12:01:12 +0000 (UTC) Received: from forward104p.mail.yandex.net (forward104p.mail.yandex.net [77.88.28.107]) by lists.linaro.org (Postfix) with ESMTPS id ACA2C644BA for ; Thu, 5 Oct 2017 12:00:20 +0000 (UTC) Received: from mxback18j.mail.yandex.net (mxback18j.mail.yandex.net [IPv6:2a02:6b8:0:1619::94]) by forward104p.mail.yandex.net (Yandex) with ESMTP id 5B399185F38 for ; Thu, 5 Oct 2017 15:00:18 +0300 (MSK) Received: from smtp3p.mail.yandex.net (smtp3p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:8]) by mxback18j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id k26D3mqzz7-0CaSFd3L; Thu, 05 Oct 2017 15:00:12 +0300 Received: by smtp3p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id CO9KpMKabt-0BWWc9EJ; Thu, 05 Oct 2017 15: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: Thu, 5 Oct 2017 15:00:06 +0300 Message-Id: <1507204806-24126-2-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1507204806-24126-1-git-send-email-odpbot@yandex.ru> References: <1507204806-24126-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 215 Subject: [lng-odp] [PATCH v2 1/1] api & linux-generic: fixing typos 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: Mykyta Iziumtsev Signed-off-by: Mykyta Iziumtsev --- /** Email created from pull request 215 (MykytaI:fixing-typos) ** https://github.com/Linaro/odp/pull/215 ** Patch: https://github.com/Linaro/odp/pull/215.patch ** Base sha: 52cfe7ba6d2541cf5ee464e46e91b2da5efe1497 ** Merge commit sha: 15f371d667f5de257a7f87d952ed6478c9986ff2 **/ include/odp/api/spec/packet.h | 4 ++-- include/odp/api/spec/traffic_mngr.h | 6 +++--- platform/linux-generic/doc/platform_specific.dox | 2 +- platform/linux-generic/include/odp/api/plat/traffic_mngr_types.h | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/include/odp/api/spec/packet.h b/include/odp/api/spec/packet.h index 79d8773e9..fbac33cf7 100644 --- a/include/odp/api/spec/packet.h +++ b/include/odp/api/spec/packet.h @@ -904,7 +904,7 @@ odp_packet_t odp_packet_ref_static(odp_packet_t pkt); * dynamic references must not be mixed. Results are undefined if these * restrictions are not observed. * - * The packet handle 'pkt' may itself by a (dynamic) reference to a packet. + * The packet handle 'pkt' may itself be a (dynamic) reference to a packet. * * If the caller does not intend to modify either the packet or the new * reference to it, odp_packet_ref_static() may be used to create @@ -931,7 +931,7 @@ odp_packet_t odp_packet_ref(odp_packet_t pkt, uint32_t offset); * packet consists metadata and data of the 'hdr' packet, followed by the * shared part of packet 'pkt'. * - * The packet handle ('pkt') may itself by a (dynamic) reference to a packet, + * The packet handle ('pkt') may itself be a (dynamic) reference to a packet, * but the header packet handle ('hdr') must be unique. Both packets must be * have been allocated from the same pool and the handles must not refer to * the same packet. Results are undefined if these restrictions are not diff --git a/include/odp/api/spec/traffic_mngr.h b/include/odp/api/spec/traffic_mngr.h index 3a748cef7..c9134e8e4 100644 --- a/include/odp/api/spec/traffic_mngr.h +++ b/include/odp/api/spec/traffic_mngr.h @@ -75,7 +75,7 @@ extern "C" { /** * @def ODP_TM_MAX_TM_QUEUES - * The largest number of tm_queues that can handled by any one TM system. + * The largest number of tm_queues that can be handled by any one TM system. */ /** @@ -97,7 +97,7 @@ extern "C" { /** * @def ODP_TM_MIN_SHAPER_BW - * The largest amount of bandwidth that any shaper's peak or commit rate can + * The lowest amount of bandwidth that any shaper's peak or commit rate can * be set to. It is in units of 1000 bytes/second. */ @@ -143,7 +143,7 @@ extern "C" { /** * @typedef odp_tm_node_t - * Each odp_tm_queue_t value is an opaque ODP handle representing a specific + * Each odp_tm_node_t value is an opaque ODP handle representing a specific * tm node within a specific TM system. */ diff --git a/platform/linux-generic/doc/platform_specific.dox b/platform/linux-generic/doc/platform_specific.dox index e116ec617..c26661484 100644 --- a/platform/linux-generic/doc/platform_specific.dox +++ b/platform/linux-generic/doc/platform_specific.dox @@ -28,7 +28,7 @@ * to odp_init_local() is actually fully defined by these * requirements: It has to be the value returned by the * unique call to odp_init_global() made by one single - * acsendant of the current process. + * ascendant of the current process. */ /** diff --git a/platform/linux-generic/include/odp/api/plat/traffic_mngr_types.h b/platform/linux-generic/include/odp/api/plat/traffic_mngr_types.h index f47a13f6f..be3926d46 100644 --- a/platform/linux-generic/include/odp/api/plat/traffic_mngr_types.h +++ b/platform/linux-generic/include/odp/api/plat/traffic_mngr_types.h @@ -56,7 +56,7 @@ extern "C" { #define ODP_TM_MAX_SCHED_WEIGHT 255 /** The ODP_TM_MAX_TM_QUEUES constant is the largest number of tm_queues - * that can handled by any one TM system. + * that can be handled by any one TM system. */ #define ODP_TM_MAX_TM_QUEUES (16 * 1024 * 1024)