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 12255A0548; Fri, 12 Nov 2021 01:02:44 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3A9EF41147; Fri, 12 Nov 2021 01:02:35 +0100 (CET) Received: from mail-pl1-f170.google.com (mail-pl1-f170.google.com [209.85.214.170]) by mails.dpdk.org (Postfix) with ESMTP id C81194113F for ; Fri, 12 Nov 2021 01:02:33 +0100 (CET) Received: by mail-pl1-f170.google.com with SMTP id y8so1576051plg.1 for ; Thu, 11 Nov 2021 16:02:33 -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=C0pi5J20yZW5GxxXJz4jdpSq2eLGNzk2N15kZsEgCXw=; b=ppehRWb1UP3YavIiU7R1DNW2dR9VA0XXp8Ss8Z+F8vWWBZLQdQ3r+oaNIQwb2pfU1H oAcFSOo3gGvBq6kh/HTGuy0W9JIbr+g2c3CpfrXsuh2ZC78qxYZyeCB+xmoipYivcREn S9eOyj/t8BW+v5mNcp4y2DONOIObCh3ArFTx/wEsXmgNprHZBHutU8aGbgi9ajBGj7Cy dmiyNedGItd9EPJlIQhUgQm9t398FWvQSjwuU5XxW5Wh89Kwce2aWaHcIHyzyVeozvOZ e1JGUsp8MDkHDxL2Kc/q+EVeBSSA9NAE2zcOYiuvmBuDDro1GGOcK58biMXoubnQkDiG bRAg== 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=C0pi5J20yZW5GxxXJz4jdpSq2eLGNzk2N15kZsEgCXw=; b=e+gYSFd0ZuHeObqRIEUUKvWy9gZv4XMuD8RTWlBddU76CDD3dW4VoCBYtvGd/Xm02w t1/xD3Vj7ewFdqCBHVSY33kNVAr1vy7bbu9NJw/O0C3CLNh1kcAKgTEJmP+Qs4qMVfaM pipqE5vUukel+kAPwV4gyTeMpem4jAv/BFugST7yvkv2qnpCgmIcRYg/RecvTeZYsJXf u5BnfGtTKQl03Dt1W4/dTLBAl782SKcsNM3KTUo0HohKuaIrN/MRnoABSW/V1NRsCseJ laAdaUjr9tO04eOwfuEXWQ32XU981gk7yHmbGZsGLdOWir6sqjjMVT40RjROIKq84ZC2 gyeg== X-Gm-Message-State: AOAM533RFlyrpMWVsjOdU22o4lu6EyczZ6aMKDd20W3B51kWUso+leKo BMRAPkwYmydL3xdMBar3tISEFithwsWopw== X-Google-Smtp-Source: ABdhPJz+TE5EQKxN926q4dbDCxgF522+f1FnV6K+IgUtGgGkbT7+eD250xUBc6fI3VhL4vgJ6tMlaw== X-Received: by 2002:a17:90b:1a86:: with SMTP id ng6mr31061950pjb.142.1636675351180; Thu, 11 Nov 2021 16:02:31 -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.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Nov 2021 16:02:30 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Konstantin Ananyev , Bernard Iremonger , Vladimir Medvedkin Subject: [PATCH v4 02/18] ipsec: fix spelling errors Date: Thu, 11 Nov 2021 16:02:10 -0800 Message-Id: <20211112000226.56586-3-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 typos in comments found by codespell Signed-off-by: Stephen Hemminger Acked-by: Konstantin Ananyev --- 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 99e9c43f2f68..636c850fa6a9 100644 --- a/lib/ipsec/esp_inb.c +++ b/lib/ipsec/esp_inb.c @@ -475,7 +475,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 @@ -561,7 +561,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 b7a70fd00186..672e56aba084 100644 --- a/lib/ipsec/esp_outb.c +++ b/lib/ipsec/esp_outb.c @@ -614,7 +614,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 a19819f9f179..1e51482c9242 100644 --- a/lib/ipsec/sa.c +++ b/lib/ipsec/sa.c @@ -136,7 +136,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 6e59f18e1602..7503587b5004 100644 --- a/lib/ipsec/sa.h +++ b/lib/ipsec/sa.h @@ -122,7 +122,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