From patchwork Mon Jul 1 18:25:07 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 55798 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DA1761B96E; Mon, 1 Jul 2019 20:25:49 +0200 (CEST) Received: from mail-pf1-f196.google.com (mail-pf1-f196.google.com [209.85.210.196]) by dpdk.org (Postfix) with ESMTP id AD6EB25D9 for ; Mon, 1 Jul 2019 20:25:45 +0200 (CEST) Received: by mail-pf1-f196.google.com with SMTP id i189so6958781pfg.10 for ; Mon, 01 Jul 2019 11:25:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=AZp1oZCIFyuqYPH+vFMPxTLozwTCLWD8oDzyU02rhBQ=; b=m9IPsSzxsyhY3b7OiIOSG1XtzONU1Mk+lDfhDEI74V19svu7y8dpC+EVL4bi7iA7WI SEEiojSZqHio0yNeOttpRm4BT6M5PuXhopbjvS3Pz5xld+L3SbJZ2tJzx14obaUfGRcW n5pZTJ6ikr58gaQ9ZmukpS+hn0d9pVxEV+r6AMIKgig55m2Y3fMEMSu8WP09JiyZk4J6 yTN7lKRmNxXSHeW6bL+GDeBMPIOiHxQ3jxO37ALkQXGU21GsdATIqaQDJ2/keWFWI1a7 kdjknO/ZtrQDtitbhf0+5EOndxDC1f+CxQYyEm/lGB/DthFHtfCYIs807o4pEVY0yb+8 Q/mQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=AZp1oZCIFyuqYPH+vFMPxTLozwTCLWD8oDzyU02rhBQ=; b=YmwsYJ95AEgpjcs45BiaIDAT3VSzYCWx2NY1fY3xic1ILLlcw9QGEjfrDP1wpRh4Qj HrGtsvSkMrye7E3UitGUIIfla+qdGRHABTkM4n/lIb2BYps5kdSYFxCOaFmpUXOQlO2Y 6Q2glK3FTTxKjLBh4qSuAQqXlETtfpTXAhpQqY5aW+zLRcj7IkScTA5lKkMCvlgP9zw7 PQjli8tHiwcyD0IlwSV7e9Sjry/b9MeeYsWyT0f7oOmDppxE4+lqLccppbhFo0R5N06c JZVLbtiLQ8MnLXftDW6y92uOTS/BJB6/kVHKIQDUwbPQ8VS7sIeQq4HqHMwheyeQsdMn OCnw== X-Gm-Message-State: APjAAAUokvv0AA9IySsH7WTth0nyxs7lWGAWOyQxGEjsvXJfoxgS7ZoE VjFsTikkhPVIxmTqFugFvOMn8Yn7pOM= X-Google-Smtp-Source: APXvYqwOqVoc8manpVRzEX7FIfh4YlbEZkxtvbX9mbGlWoJdymV+oLv+NHRCSoniS4MgF/Kn0BB6Zw== X-Received: by 2002:a65:640d:: with SMTP id a13mr16802590pgv.256.1562005544614; Mon, 01 Jul 2019 11:25:44 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id 12sm11397340pfi.60.2019.07.01.11.25.43 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 01 Jul 2019 11:25:44 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Mon, 1 Jul 2019 11:25:07 -0700 Message-Id: <20190701182536.20110-2-stephen@networkplumber.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190701182536.20110-1-stephen@networkplumber.org> References: <20190701182536.20110-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 01/30] lpm: fix spelling errors X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Fix small spelling errors (found by codespell) Signed-off-by: Stephen Hemminger --- lib/librte_lpm/rte_lpm6.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/librte_lpm/rte_lpm6.c b/lib/librte_lpm/rte_lpm6.c index a91803113649..c8bd21c8b24a 100644 --- a/lib/librte_lpm/rte_lpm6.c +++ b/lib/librte_lpm/rte_lpm6.c @@ -824,7 +824,7 @@ VERSION_SYMBOL(rte_lpm6_add, _v20, 2.0); * * Returns: * 0 on success - * -ENOSPC not enought tbl8 left + * -ENOSPC not enough tbl8 left */ static int simulate_add(struct rte_lpm6 *lpm, const uint8_t *masked_ip, uint8_t depth) @@ -854,7 +854,7 @@ simulate_add(struct rte_lpm6 *lpm, const uint8_t *masked_ip, uint8_t depth) } if (tbl8_available(lpm) < total_need_tbl_nb) - /* not enought tbl8 to add a rule */ + /* not enough tbl8 to add a rule */ return -ENOSPC; return 0; @@ -1314,7 +1314,7 @@ rule_find_range(struct rte_lpm6 *lpm, const uint8_t *ip, uint8_t depth, /* minus top level */ depth -= 24; - /* interate through levels (tbl8s) + /* iterate through levels (tbl8s) * until we reach the last one */ while (depth > 8) {