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 C9F60A0487 for ; Mon, 1 Jul 2019 20:27:02 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9CE9D1B9E0; Mon, 1 Jul 2019 20:26:04 +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 1B49B1B9A4 for ; Mon, 1 Jul 2019 20:25:54 +0200 (CEST) Received: by mail-pf1-f196.google.com with SMTP id r7so6978927pfl.3 for ; Mon, 01 Jul 2019 11:25:54 -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=Kp4vKH0TRveGFtLw1jg7DcZb/RnqBHslKxTiHCCBULs=; b=JaSAhhU6lT0OGP8RaAMLd/3ak+v30Tmz7ijtguIDCuY2b93V2OMuWZXzs8BbqX3juS BVNxdo6xejiuabr21/c4m4zQG6mH+UzpEwA1Fj3qDyyWijMA4TyZCyW0+2wcPZfU4N8t LpqgstBAfAubByKWWjLplBiIOZ1cw+67jseSRVY9yh4AE71nzdWdU6hqiause5UDt1v3 SAlCOPdQ5zaFXEMSHlOmsupwDNxgslZkbrgkK0LJJQH6gse3DO8OyLJr9cuANwFwPjrO /1IwxUapVZzGUuUKfQqaO1u2dD5oz3ly0077kIJAQCI2AEfLS85LlH0edCLW17IJ/FIo H4Rg== 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=Kp4vKH0TRveGFtLw1jg7DcZb/RnqBHslKxTiHCCBULs=; b=lcirAD9Rx9RYLe8zFWdeKcGDSekk46vLQmPLhSQcnfNiV7wLlzEN/cxPk3vGoNacuc KMN7Pd2My0UJMhMZ7BzlP5/5sf8EozjeYwyIrz+L3eGDyb7WrKK5iJeIrXQ81oCdsqnI bJ230+8ZVglLAqJNdGyPNV8JHhf3MevylFCISNUxjAaVveNXHxz4KS30EDep1uHQB3Up A/8FAzyIs4M1W4ztQcWHkBJHyByn4/HiDrpGXF3/XJ0i8lr3DudnQ6w1BnfMAfpX5gsy FNYJ2HEjfFchPavCXUK3ZnL+SHayVsLDrs5WslOaVmnN3oCBtqqaGeY4IAtm3md6G4GO omZg== X-Gm-Message-State: APjAAAUC7WTmw7ow1iFRgSFeNuHlGdJ7Q/OukNpt1aMYx9XzkMwsD1KI psOT2DdmEkQXLntDEKYtgDfetVMT0aY= X-Google-Smtp-Source: APXvYqwIXnI3C2KSdUKS+lx4XKoF02XmZygCE1UnzeqziEFCbVsAw7oFmjtDx2qay9Na9L+amZIWJw== X-Received: by 2002:a17:90a:d595:: with SMTP id v21mr733886pju.34.1562005553031; Mon, 01 Jul 2019 11:25:53 -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.51 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 01 Jul 2019 11:25:51 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Mon, 1 Jul 2019 11:25:14 -0700 Message-Id: <20190701182536.20110-9-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 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH 08/30] acl: 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" Minor typos in comments. Signed-off-by: Stephen Hemminger --- lib/librte_acl/acl.h | 4 ++-- lib/librte_acl/acl_bld.c | 2 +- lib/librte_acl/acl_run_avx2.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/librte_acl/acl.h b/lib/librte_acl/acl.h index 39d45a0c2b68..6f77b10ecfed 100644 --- a/lib/librte_acl/acl.h +++ b/lib/librte_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/librte_acl/acl_bld.c b/lib/librte_acl/acl_bld.c index b82191f4278d..5b277db28021 100644 --- a/lib/librte_acl/acl_bld.c +++ b/lib/librte_acl/acl_bld.c @@ -1430,7 +1430,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/librte_acl/acl_run_avx2.h b/lib/librte_acl/acl_run_avx2.h index d06d2e8782d6..0b8967f22e70 100644 --- a/lib/librte_acl/acl_run_avx2.h +++ b/lib/librte_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.20.1