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 2DB58A0547; Thu, 9 Sep 2021 20:11:33 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0C42841168; Thu, 9 Sep 2021 20:11:05 +0200 (CEST) Received: from mail-pl1-f174.google.com (mail-pl1-f174.google.com [209.85.214.174]) by mails.dpdk.org (Postfix) with ESMTP id 0AF6941164 for ; Thu, 9 Sep 2021 20:11:04 +0200 (CEST) Received: by mail-pl1-f174.google.com with SMTP id bb10so1614574plb.2 for ; Thu, 09 Sep 2021 11:11: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=HmFEFo2MkQPmDqg7dHyWmGRSodI58KjtzjZqz3DqmPBJ4Fw0+iJduM8xMUFJjXx3uo 69IlNExCcJzSjvp22OHHcIdH60F9am1Ohei/WrbHhEndJgVK56LU4bIh077CjvfW1zPa nf4mLGqSzzq0DMSesZyjQ8CTWpEjkztZY6E+jcMn3fmIQ1+5N5D8dvqzQhSz9yq7UW8v ZXy6xVODef2W48VMhfkqNGT5AIV6bYEOQa537FK6Q5u2lRwvVScUf4qgAElNRpgoJEGG zleXZJOTkLA1seS5NnAdHZBNKw17C5ZDb3M1JXBHoqbJ9nYuW6SnME8b449r++diHSCe SD0A== 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=C3CH5Da/UCc5WC8EqvmpFo0ro4juhD+BblBBpm4f3t/CvquPFM+HlvRBZ1NBPSFZKU LSbcv/zQT8IVCYUVcSktGrOIQ7eoV8IBMiW7f8VBGmGcanpLYDOMkS+zRoxsweFFyhBd xGKKxnU43B6T97bLXG5Vk/GAk5RUa+ngEAUdB+678ilc/qLVyNp+eAuMKIhj9xBtH7A6 bYBAvH6o3jMlro8OqK4LexG3JCP+jlnU7N3QmLS90LrwoDbwCqZKLhJ0vmYJKM20nsRZ H9Z55SRafx0E2k5L2BJUBHWvGKBo/kcyjKeWW1lg8eRXITsiFZmhcJYwFT4quLiZd7YU jqDg== X-Gm-Message-State: AOAM532LMk1teg5aIv6UQdPGIYWnzSGZ6Bqe4XEUtwAsbP3PaSWBs8e4 Ni5Ctm92wyjDwD0FN+kpiOivEXfrfybmdw== X-Google-Smtp-Source: ABdhPJziwR1JQof39GQeJaZw4qd2E+nkqg4OGMWqEqWpsHhf8fvhPyj4Jm/EQSIzGhNiikD8NxEPMw== X-Received: by 2002:a17:902:dacc:b0:135:7ac:b790 with SMTP id q12-20020a170902dacc00b0013507acb790mr4062014plx.5.1631211062904; Thu, 09 Sep 2021 11:11:02 -0700 (PDT) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id v14sm2924734pja.53.2021.09.09.11.11.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Sep 2021 11:11:02 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Thu, 9 Sep 2021 11:10:37 -0700 Message-Id: <20210909181048.176255-8-stephen@networkplumber.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210909181048.176255-1-stephen@networkplumber.org> References: <20210909175648.174258-1-stephen@networkplumber.org> <20210909181048.176255-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v2 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