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 A520CA0C45; Mon, 13 Sep 2021 18:11:32 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BEFB74113A; Mon, 13 Sep 2021 18:10:42 +0200 (CEST) Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.182]) by mails.dpdk.org (Postfix) with ESMTP id 5160641121 for ; Mon, 13 Sep 2021 18:10:39 +0200 (CEST) Received: by mail-pf1-f182.google.com with SMTP id f65so9304375pfb.10 for ; Mon, 13 Sep 2021 09:10:39 -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=PiSDbLWxNgK3SUnajvnrLHVDmjlXxtagH6rGdXHPSch4rYtXE7tONVG+MtZCoP4L+I 2xDCMX/dOarUDOIMNASHiWiCnFCrlnx7VpKn7eIQrIGfa0ygUKj+rAJDnUb8nSpQxmjs YcbHrpJ0qk3pcxL1svisqJR5aZx/nK4fzECi06EKuSDUBSrNBUSAKW5SsxDc9Bvs738H Wxav9jRbMq8w+QNd0i4PWOOmtlQmwDnLcO5lwDY3CMoqV8lMrpw1wBW1mLBs36vnJ26C K7SMYDB6b/oQmCPenclU3eOjjMC16y6cYSTew7IkPwD2YNfyZV63huovPwAamGJxKCbh ZtnQ== 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=Ujtvdq+bOoTGNvUrB4Tys/ZMuJQeA2WCJ/us+X2bhH0utHHrVqNIDemN3xpW9qI8Q7 vbhQpEzRZezjINqMQKIvbcm7LPUXBGBhvXQyDRttW2mlToPh9t2S0e3DXpiqiiXo0hYs IzDQdlEKiuoZpCMTR+icBJWqJuTBqAwhvpTdirYS4Gs8c46mUU3V9MRMgL3EKy/5Q+FL 4rBqO3Hkwxf97IAhR/Mk0+Ysjw5zbnjGapenaoI0d+BosfwBTVmcdoSjXrTrVoFAd6eS NJsFrL0epFqAgzddBMLZbXj/J0f0EwaaCDu+9MRqd6PB8E7A10cmZSankNI0/YYpjmkt Cl7w== X-Gm-Message-State: AOAM530nA/jcKnecHlnVNqxJohfgJB7vENIi7r7o7s4Ai7nzUIYX0lEU nyQWlDgevggojY7m3rE99UmZDnTpKGGoWA== X-Google-Smtp-Source: ABdhPJxKqRoP3JR6Bb5kmZ5hdLUkp/IX/7vR4IqajUqw2dRz3I8VNx78YoBMem+RKllsSrnN1ledFw== X-Received: by 2002:a63:5947:: with SMTP id j7mr11810975pgm.193.1631549438070; Mon, 13 Sep 2021 09:10:38 -0700 (PDT) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id i5sm7070851pjk.47.2021.09.13.09.10.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Sep 2021 09:10:37 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Mon, 13 Sep 2021 09:10:14 -0700 Message-Id: <20210913161025.10490-8-stephen@networkplumber.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210913161025.10490-1-stephen@networkplumber.org> References: <20210909175648.174258-1-stephen@networkplumber.org> <20210913161025.10490-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