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 6C9C3A0548; Fri, 12 Nov 2021 01:03:17 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C38B841174; Fri, 12 Nov 2021 01:02:42 +0100 (CET) Received: from mail-pj1-f41.google.com (mail-pj1-f41.google.com [209.85.216.41]) by mails.dpdk.org (Postfix) with ESMTP id 2918840692 for ; Fri, 12 Nov 2021 01:02:39 +0100 (CET) Received: by mail-pj1-f41.google.com with SMTP id np6-20020a17090b4c4600b001a90b011e06so4876383pjb.5 for ; Thu, 11 Nov 2021 16:02:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=g3r8TxAy2wQz3H1vAHvVgc6zAes/kF+IIbTpWHbSsgg=; b=iwrfX8tEDrfHV11Jy/YNm7pf674Vh9NX2Yw/nRMChe7uC2QkD747m/EtEVzIdjYtwm bykcAM7nKWkUXV7DdAoMMKnXhjFgb4fqRCe5oHj1F7i0jE38Wo31tn1oH5SoKYVaJSFr 4HOeWrwm6XQ0mZbtPnCeJfFvi49ATXAONLnR3VccRRE61OwD5qmF/l6X34Pxx4Oi604Z cjRJPrio4XwWxb0h6OmW3dGZRzRQwzjZ3pF185m6p/w3Lo/ug0wtuw1UeQDgeS/TSKF6 Mu5/sEtbWd2ZunelauBJTVCNlxS65QD68t3vec/YOxtKl1WN4YtRMLaymoKBVzOQuq6D 8GFw== 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=g3r8TxAy2wQz3H1vAHvVgc6zAes/kF+IIbTpWHbSsgg=; b=wBmT6VtQAWQ+qgm4H2Q8jYJ0qLqDjN2OntVXlA5Qnb344vQLXYY0MN/NGwTZAa7NXG s7w6ilNN94rT0aFcSueNHCpsGOpiO0y2NgQ6OFQol1XND7YKUF1x1GqWlQsgViI61reN Qs1483ApLFwDURPqJvgmlncX5N3aa9XHTv2GTtrQdTv38QQeQ5NTRKIcg5cqUDDDCgxs /rInaDmjM5fM74v3+2iF6NcJOK5hrMX222XxG6Qnr+9ibcIrqoI52+Dn+tydPtruO9E/ 5mrV5hkWHUyBMxg5UmLSvuMOf6dqZYNlmO8C9EjYsgAl3JGksc+jVBCFj1ORR2poZhMi iAaQ== X-Gm-Message-State: AOAM532eFTLxF4HCASMeFy1YVVQHxNLxQWH5/AHHnnNYYsWvvzwiTpyU 2sVHZh49YMsRVVnRL6Rqj/W+B1UscQHElQ== X-Google-Smtp-Source: ABdhPJyYXgBb4V+2zSf1SVA6w1MBie/RGzI3ZISw9F5Ng+bn3sJhDYu6DqBclRHHlS9TafJLw+pVPA== X-Received: by 2002:a17:902:dacc:b0:142:12bd:c5b9 with SMTP id q12-20020a170902dacc00b0014212bdc5b9mr3299775plx.74.1636675357849; Thu, 11 Nov 2021 16:02:37 -0800 (PST) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id ls14sm9567296pjb.49.2021.11.11.16.02.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Nov 2021 16:02:37 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Konstantin Ananyev , Bruce Richardson Subject: [PATCH v4 07/18] acl: fix spelling errors Date: Thu, 11 Nov 2021 16:02:15 -0800 Message-Id: <20211112000226.56586-8-stephen@networkplumber.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211112000226.56586-1-stephen@networkplumber.org> References: <20210909175648.174258-1-stephen@networkplumber.org> <20211112000226.56586-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Lots of little typos in comments Signed-off-by: Stephen Hemminger Acked-by: Konstantin Ananyev --- 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