From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id C6F22A0566; Tue, 10 Mar 2020 17:26:29 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9028C1BFF9; Tue, 10 Mar 2020 17:26:29 +0100 (CET) Received: from mail-pj1-f65.google.com (mail-pj1-f65.google.com [209.85.216.65]) by dpdk.org (Postfix) with ESMTP id C2BE81BF96 for ; Tue, 10 Mar 2020 17:26:27 +0100 (CET) Received: by mail-pj1-f65.google.com with SMTP id np16so626083pjb.4 for ; Tue, 10 Mar 2020 09:26:27 -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:mime-version :content-transfer-encoding; bh=7TbGUPYHohExV2zhyfPcxyuYsI0oE38sHDrnJQc3bRc=; b=QPCewprwYdFwwVQfWJbUKf9feHCCdzAC1c2tjFqQesXSEvuMvOK8RVRw8/wxpq3bRx 96alIULxCWD3Zk+4SjsZg3gP2IJHUCa9z34mm06r/2mV51rdgegY7jPQ80jVl5LMM8bL rpW6hxn1G9CWNYypPNmkp+0b+LCw2htyV0GC3xlGe9Sf2HqQlQ9bnXYn7EwSlFjKQNKN 4eAz1Gv93l2tmrAA1sEiVlE0k95wpx4KvlFtTTMDPf4b4HYPRvZbLjE8yeP9EBpyjNGP 9tOtvF19xlbJV32Bv3K1WLJdhoPBNgojSjhrcOTUQsvRO0ocGKJPG72qRrmNnrX6dB6Q s06w== 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:mime-version :content-transfer-encoding; bh=7TbGUPYHohExV2zhyfPcxyuYsI0oE38sHDrnJQc3bRc=; b=Oa91Sg0bGwtCiuQBTMlKu1Txe0ByvolIkhwHl0brN54Psl/tDP25pd+g7vtEJwdEZW 88QcA/uFqd2LWpez+nOTYxO48HE431VfUF7+8PxIdDzWPHACuA3EIxbgksLmPZkNJEc+ 4QQ74n2IgwWDEKqfgHh27uwooaRK6DVlodhByxZIq9y+DAVQAlLfHWKLjVfxMCN6rx2U Naz+aSkZqcZ8JyVDfiV8Al7X4pZD/zit3XdvAaIfsUpZjNkdevGspVYVESemmfeZbipb +Wt+oAxLhPicAMnSBiCR35ZrdSQ5rq8cFod7/ql7heh/rEY+l+T9Cx4rc3DdTHWEvjN2 0AGQ== X-Gm-Message-State: ANhLgQ0sZ76kAJsl/jbX2+bUNFjqwxVlX6QZinNc/8nyrPRnP/Z0lRvt mvNJ8tXE9yA/W8vrmeyG67ugLEvitH0= X-Google-Smtp-Source: ADFU+vs6AsngUeBe2NGWII2S8tbwP+orWMMsRdzWkz03if6iBUQcQLTz0ml5gji1IlC7Jl3KM35R2A== X-Received: by 2002:a17:90a:950b:: with SMTP id t11mr2465967pjo.79.1583857586347; Tue, 10 Mar 2020 09:26:26 -0700 (PDT) Received: from hermes.corp.microsoft.com (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id v123sm23499532pfv.146.2020.03.10.09.26.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Mar 2020 09:26:25 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Tue, 10 Mar 2020 09:26:22 -0700 Message-Id: <20200310162622.7948-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH] lpm6: spelling fixes 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 spelling errors in comments. 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 d515600f1ffe..7b2322911181 100644 --- a/lib/librte_lpm/rte_lpm6.c +++ b/lib/librte_lpm/rte_lpm6.c @@ -813,7 +813,7 @@ add_step(struct rte_lpm6 *lpm, struct rte_lpm6_tbl_entry *tbl, * * 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) @@ -843,7 +843,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; @@ -1211,7 +1211,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) { -- 2.20.1