From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 580ADA0547; Thu, 9 Sep 2021 19:57:32 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1588F4115F; Thu, 9 Sep 2021 19:57:06 +0200 (CEST) Received: from mail-pj1-f47.google.com (mail-pj1-f47.google.com [209.85.216.47]) by mails.dpdk.org (Postfix) with ESMTP id 5D26241157 for ; Thu, 9 Sep 2021 19:57:03 +0200 (CEST) Received: by mail-pj1-f47.google.com with SMTP id rj12-20020a17090b3e8c00b001991428ded8so1538721pjb.1 for ; Thu, 09 Sep 2021 10:57:03 -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=58V8lx0NSKYJNUU5KkTRR+fjf+Qbgp0e1FWUcyEbpBg=; b=zYsUCFaZhU89tInGo8y1LKNy2BpZos3dpvdk67LnGxmwK6mAdCfrdXC7v4lwpTCCuy 1Nfko3zgOtBcDQkOus3mx9oyYYgnUw1QCqycL1yiifWf/fZYNHjd92krTGZvW5rqeAvo FHxx7rMG5db17G3lOCMGomn1l/adIYNj46fL9uA0AEgjIZqyu/iw9vRnGIQKFF42lyNR +4arJzX6UvrKpaiCV+kk4VXMERpqC6YvS79smdW9oHiMQv6l15/MVfx7p/bhSAL92hYb 7OB0TjnaYWcMqKMuGRbNobis95Wkgh1R2LwWILaSb1tYxWkODWvogFb1bqsNxKAonGBM zXcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=58V8lx0NSKYJNUU5KkTRR+fjf+Qbgp0e1FWUcyEbpBg=; b=3B2frXVy+/T+UglQ05cpEKF2wNKZmAsqlqGcxRjPsfVPIDCsmG0GQ7uLGlAeqLG9vv 9JpV1SDivnjz+f+xpI1q1+CvrNHAf+0XnMPr/jG24mVsl0h4m58Zv2El92cGT5+lhvoP BUUrLzk6d9cZWGBNHTPFpwAyvfP8nUuYA4PLFP9meddYxezpufGrcorxE2/t66vrEFz7 F9Ohf3gznPethkTPlaKJhRr/nYP2k6BaA/W3VfqSPMgKZs8MLemyKOMND9fchb6fkRM+ c34ftTyAfeOL3qxk7JgWdUtkXbsrEAPpVM0/GUQbySuCgmVUfx920x0zM9NF3HXat576 1fBg== X-Gm-Message-State: AOAM5336e3JojE8szK0d7aoNrdUXl4h9cVkDwZkzhgInMR6CPxDCZgjA AV0NXRT+r60zvu5yNuQA9BuRJ8jI2GzAOA== X-Google-Smtp-Source: ABdhPJyM5DRidutoqXnAPYHhdf6qz08/cU3bugbM9hOFeDQsybH0XPGmtebbVxigs1VbbO5jOgXHFA== X-Received: by 2002:a17:90a:4498:: with SMTP id t24mr4738033pjg.235.1631210222195; Thu, 09 Sep 2021 10:57:02 -0700 (PDT) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id v25sm2772977pfm.202.2021.09.09.10.57.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Sep 2021 10:57:01 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Thu, 9 Sep 2021 10:56:37 -0700 Message-Id: <20210909175648.174258-8-stephen@networkplumber.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210909175648.174258-1-stephen@networkplumber.org> References: <20210909175648.174258-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH 07/18] acl: fix spelling errors X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" Lots of little typos in comments Signed-off-by: Stephen Hemminger --- lib/acl/acl.h | 4 ++-- lib/acl/acl_bld.c | 2 +- lib/acl/acl_run_avx2.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/acl/acl.h b/lib/acl/acl.h index 4089ab2a0462..f5739a475cf0 100644 --- a/lib/acl/acl.h +++ b/lib/acl/acl.h @@ -45,7 +45,7 @@ struct rte_acl_bitset { * Each transition is 64 bit value with the following format: * | node_type_specific : 32 | node_type : 3 | node_addr : 29 | * For all node types except RTE_ACL_NODE_MATCH, node_addr is an index - * to the start of the node in the transtions array. + * to the start of the node in the transitions array. * Few different node types are used: * RTE_ACL_NODE_MATCH: * node_addr value is and index into an array that contains the return value @@ -66,7 +66,7 @@ struct rte_acl_bitset { * RTE_ACL_NODE_SINGLE: * always transitions to the same node regardless of the input value. * RTE_ACL_NODE_DFA: - * that node consits of up to 256 transitions. + * that node consists of up to 256 transitions. * In attempt to conserve space all transitions are divided into 4 consecutive * groups, by 64 transitions per group: * group64[i] contains transitions[i * 64, .. i * 64 + 63]. diff --git a/lib/acl/acl_bld.c b/lib/acl/acl_bld.c index da10864cd870..f316d3e875ef 100644 --- a/lib/acl/acl_bld.c +++ b/lib/acl/acl_bld.c @@ -1494,7 +1494,7 @@ acl_set_data_indexes(struct rte_acl_ctx *ctx) /* * Internal routine, performs 'build' phase of trie generation: * - setups build context. - * - analizes given set of rules. + * - analyzes given set of rules. * - builds internal tree(s). */ static int diff --git a/lib/acl/acl_run_avx2.h b/lib/acl/acl_run_avx2.h index d06d2e8782d6..0b8967f22e70 100644 --- a/lib/acl/acl_run_avx2.h +++ b/lib/acl/acl_run_avx2.h @@ -125,7 +125,7 @@ acl_process_matches_avx2x8(const struct rte_acl_ctx *ctx, /* For each transition: put low 32 into tr_lo and high 32 into tr_hi */ ACL_TR_HILO(mm256, __m256, t0, t1, lo, hi); - /* Keep transitions wth NOMATCH intact. */ + /* Keep transitions with NOMATCH intact. */ *tr_lo = _mm256_blendv_epi8(*tr_lo, lo, matches); *tr_hi = _mm256_blendv_epi8(*tr_hi, hi, matches); } -- 2.30.2