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 C1CC2A0547; Thu, 9 Sep 2021 20:11:04 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2B4AD41141; Thu, 9 Sep 2021 20:10:58 +0200 (CEST) Received: from mail-pj1-f41.google.com (mail-pj1-f41.google.com [209.85.216.41]) by mails.dpdk.org (Postfix) with ESMTP id 4B3384113D for ; Thu, 9 Sep 2021 20:10:55 +0200 (CEST) Received: by mail-pj1-f41.google.com with SMTP id rj12-20020a17090b3e8c00b001991428ded8so1559063pjb.1 for ; Thu, 09 Sep 2021 11:10:55 -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=Ii4KC9B4QZMFNOsB17KnzSk5zSJHxsQe+ujnknXoXTg=; b=1T9onjSGZpwSjfeEOC2g8flJdTjGTSwBYEBnEsDw4sY7qUnA/wdVF1M6kf7q0/w88x 6zvG3rncQmz7FCUPLu83YHwbpVLIPHSnXSbHT/AqDYmIIzEzvUXJO3nw6wluEAxxRBHT j4ARRLcxG3YeiXDtBQWZ5dzGCIMQ984xzFXyUDhmY0XdSe7SxEtx+1CToZweNL967LEY z0z4KqMZS+97uFQLzD0Iq9eFCqUhr0EtsbDLASGGXQZemof15m9R9nIpRVtHO1S8/9xa EpcsGJlTiDS2Z8Q4JGZYNS5k/LddpFW/oiOY+2O+v3L0FCzwoExPpOgnoe3E97L3rTcO fJXA== 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=Ii4KC9B4QZMFNOsB17KnzSk5zSJHxsQe+ujnknXoXTg=; b=3hLmROFTeIc/TSLwZQelqgAcCbWPH5Rf60H+L4Jsf6hVgSPxucR6JLL3yXRjuexMCI dKyX9zzyzT+DjahvmYsDiPyW7RxxLMGNx7diHBoIhRTIuZqtfk7qkO0PuIrkUi87rEd3 123qp1LRgcQ7bbjwY0NCej+g0erv/0KxwEQsLNgzz/UpolCj4jGh/dzGshIDeEr0CHTM z5303oK/WA0Ru7qjcaeCjlIhLRkh5VOEJI4bMn1E8EMP6GR1maZAd2p2EZ+AEzBLKVzp oRz/1zmBbnP4Ds0YZpm+8VEejB+iQKblG+xJdkNl1Ss+6iRguOsv5a1iAnX4tDLB0CHe DsLw== X-Gm-Message-State: AOAM532GzM0eFXyLD8GF1lU9tVyQ8S9iw5POmkGg5UJJbofU4Qgu6Yn7 s5jFCloDi7bl31lQu8N2/fOlrXcQV2K8tA== X-Google-Smtp-Source: ABdhPJx6CtAAFCnYKKyJGv1NSn+Tn3lQb42SmpykSuJqQaYnd2nBHofKTAsKiubHRT4cH3aSztLFrg== X-Received: by 2002:a17:902:7892:b0:133:a1a4:5917 with SMTP id q18-20020a170902789200b00133a1a45917mr3808160pll.17.1631211054082; Thu, 09 Sep 2021 11:10:54 -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.10.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Sep 2021 11:10:52 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Thu, 9 Sep 2021 11:10:32 -0700 Message-Id: <20210909181048.176255-3-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 02/18] ipsec: 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 typos in comments found by codespell Signed-off-by: Stephen Hemminger --- lib/ipsec/esp_inb.c | 4 ++-- lib/ipsec/esp_outb.c | 2 +- lib/ipsec/ipsec_sad.c | 2 +- lib/ipsec/sa.c | 2 +- lib/ipsec/sa.h | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/ipsec/esp_inb.c b/lib/ipsec/esp_inb.c index 2b1df6a032a8..846fc0ea71a2 100644 --- a/lib/ipsec/esp_inb.c +++ b/lib/ipsec/esp_inb.c @@ -415,7 +415,7 @@ trs_process_check(struct rte_mbuf *mb, struct rte_mbuf **ml, /* * packet checks for tunnel mode: - * - same as for trasnport mode + * - same as for transport mode * - esp tail next proto contains expected for that SA value */ static inline int32_t @@ -501,7 +501,7 @@ trs_process_step3(struct rte_mbuf *mb) static inline void tun_process_step3(struct rte_mbuf *mb, uint64_t txof_msk, uint64_t txof_val) { - /* reset mbuf metatdata: L2/L3 len, packet type */ + /* reset mbuf metadata: L2/L3 len, packet type */ mb->packet_type = RTE_PTYPE_UNKNOWN; mb->tx_offload = (mb->tx_offload & txof_msk) | txof_val; diff --git a/lib/ipsec/esp_outb.c b/lib/ipsec/esp_outb.c index 1e181cf2cee4..0bf3cd6bd4da 100644 --- a/lib/ipsec/esp_outb.c +++ b/lib/ipsec/esp_outb.c @@ -525,7 +525,7 @@ cpu_outb_trs_pkt_prepare(const struct rte_ipsec_session *ss, /* * process outbound packets for SA with ESN support, - * for algorithms that require SQN.hibits to be implictly included + * for algorithms that require SQN.hibits to be implicitly included * into digest computation. * In that case we have to move ICV bytes back to their proper place. */ diff --git a/lib/ipsec/ipsec_sad.c b/lib/ipsec/ipsec_sad.c index 3f9533c80a68..531e1e323cdc 100644 --- a/lib/ipsec/ipsec_sad.c +++ b/lib/ipsec/ipsec_sad.c @@ -62,7 +62,7 @@ EAL_REGISTER_TAILQ(rte_ipsec_sad_tailq) * Inserts a rule into an appropriate hash table, * updates the value for a given SPI in SPI_ONLY hash table * reflecting presence of more specific rule type in two LSBs. - * Updates a counter that reflects the number of rules whith the same SPI. + * Updates a counter that reflects the number of rules with the same SPI. */ static inline int add_specific(struct rte_ipsec_sad *sad, const void *key, diff --git a/lib/ipsec/sa.c b/lib/ipsec/sa.c index e59189d215b3..f49b3ec15d4f 100644 --- a/lib/ipsec/sa.c +++ b/lib/ipsec/sa.c @@ -126,7 +126,7 @@ ipsec_sa_size(uint64_t type, uint32_t *wnd_sz, uint32_t *nb_bucket) /* * RFC 4303 recommends 64 as minimum window size. * there is no point to use ESN mode without SQN window, - * so make sure we have at least 64 window when ESN is enalbed. + * so make sure we have at least 64 window when ESN is enabled. */ wsz = ((type & RTE_IPSEC_SATP_ESN_MASK) == RTE_IPSEC_SATP_ESN_DISABLE) ? diff --git a/lib/ipsec/sa.h b/lib/ipsec/sa.h index 1bffe751f586..b8ce4e958119 100644 --- a/lib/ipsec/sa.h +++ b/lib/ipsec/sa.h @@ -116,7 +116,7 @@ struct rte_ipsec_sa { * In case of SA handled by multiple threads *sqn* cacheline * could be shared by multiple cores. * To minimise performance impact, we try to locate in a separate - * place from other frequently accesed data. + * place from other frequently accessed data. */ union { uint64_t outb; -- 2.30.2