From patchwork Thu Sep 9 18:10:31 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 98474 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id BC87EA0547; Thu, 9 Sep 2021 20:10:59 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0685941125; Thu, 9 Sep 2021 20:10:57 +0200 (CEST) Received: from mail-pg1-f180.google.com (mail-pg1-f180.google.com [209.85.215.180]) by mails.dpdk.org (Postfix) with ESMTP id 8F73A40041 for ; Thu, 9 Sep 2021 20:10:53 +0200 (CEST) Received: by mail-pg1-f180.google.com with SMTP id n18so2601136pgm.12 for ; Thu, 09 Sep 2021 11:10:53 -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=oM1TTjSMSkZ1Mr8zZJv182ey2qNRtTrUK/hPF9rcDfc=; b=ySwhkaxuHipxqaN+hMz6JbEQcsUehLToT+kqr2feSDn0P1n9J23aYAz9CjJFboYyAU /ALLgtbwEuXq3y6COP5k3o7FprMK4Q7+lmNNgILENpgVm195FpE55WVqQu+m89U6hZbt cd9FxxMNV0rypCbD0dktqExkdsE8mNye6PbVO/1CwVyzB5SiM6YjvcCyBL+bXOKsmJPk nfnZ0o45LWefTxM3HEI9xUYAM7R/j+SOXcOvIsoLmtgHHe+YBN0TVzCKXekVRVMEsobz EYhFY5ghsDj03Ci0RTQGPp/z4XHcfaDw6GIHT1bF8Ipk9ilva3fY39VPCOZhORBZV2ho Z/ww== 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=oM1TTjSMSkZ1Mr8zZJv182ey2qNRtTrUK/hPF9rcDfc=; b=etE59TOx3szG4S+SjCYglhlhBNKnsFsoprS/HEZBsOqu/1gTtRa41nFOBkPVwmxt0T rajKhUevtSmS30JjATLtgsn2F2Y0wRHCyotsOCrrzNDB6/4umzggxU9coTRwFIfGh2NT BeGCfSqn7zCqhUYKpgME70o0iRmFlrI95JhVpeqLbWFaPNycObyo4D2NyqfjNKrjYrAY QR08q//RZfa/zKgmCuP2EhdHpFQz3s9ry4nftv8isfrdmX/W1BIu66gL107K5jHqzxXY PGN91Ky/OuVWu/MVdBidT3UHREaqk5QOVXZ6ejmXUKVXIc2HRRSU5hI19rsCDUTFsRpj jN5Q== X-Gm-Message-State: AOAM53327uDKHmJXZ3985rb8uqWUFuZi9lXE353O0m76m1oNw8oJubSm 9+ZbOpSeNko370vehTbqoet9n17OZcW3XQ== X-Google-Smtp-Source: ABdhPJzzlxI93Z4Vs05xe07tdDkUos3bSRB5hfbul7DqIpeQMfY49rw2p+LTcaOw+9qz/hqqUZkHkw== X-Received: by 2002:a62:1c4e:0:b0:3ee:7c8e:ce6 with SMTP id c75-20020a621c4e000000b003ee7c8e0ce6mr4398210pfc.60.1631211052349; Thu, 09 Sep 2021 11:10:52 -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.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Sep 2021 11:10:51 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Thu, 9 Sep 2021 11:10:31 -0700 Message-Id: <20210909181048.176255-2-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 Subject: [dpdk-dev] [PATCH v2 01/18] node: fix typos 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" Spelling errors in comments including doxygen Signed-off-by: Stephen Hemminger --- lib/node/ethdev_rx_priv.h | 2 +- lib/node/ethdev_tx_priv.h | 2 +- lib/node/ip4_rewrite_priv.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/node/ethdev_rx_priv.h b/lib/node/ethdev_rx_priv.h index efcd66dd4817..76cf77d60315 100644 --- a/lib/node/ethdev_rx_priv.h +++ b/lib/node/ethdev_rx_priv.h @@ -71,7 +71,7 @@ struct ethdev_rx_node_main *ethdev_rx_get_node_data_get(void); * * Get the Ethernet Rx node. * - * @retrun + * @return * Pointer to the Ethernet Rx node. */ struct rte_node_register *ethdev_rx_node_get(void); diff --git a/lib/node/ethdev_tx_priv.h b/lib/node/ethdev_tx_priv.h index 586bff44a737..9ced520bd209 100644 --- a/lib/node/ethdev_tx_priv.h +++ b/lib/node/ethdev_tx_priv.h @@ -50,7 +50,7 @@ struct ethdev_tx_node_main *ethdev_tx_node_data_get(void); * * Get the Ethernet Tx node. * - * @retrun + * @return * Pointer to the Ethernet Tx node. */ struct rte_node_register *ethdev_tx_node_get(void); diff --git a/lib/node/ip4_rewrite_priv.h b/lib/node/ip4_rewrite_priv.h index 80f0abdc94eb..036469746b29 100644 --- a/lib/node/ip4_rewrite_priv.h +++ b/lib/node/ip4_rewrite_priv.h @@ -53,7 +53,7 @@ struct ip4_rewrite_node_main { * * Get the ipv4 rewrite node. * - * @retrun + * @return * Pointer to the ipv4 rewrite node. */ struct rte_node_register *ip4_rewrite_node_get(void); From patchwork Thu Sep 9 18:10:32 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 98475 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org 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 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; From patchwork Thu Sep 9 18:10:33 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 98476 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 610DAA0547; Thu, 9 Sep 2021 20:11:10 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 47A3541154; Thu, 9 Sep 2021 20:10:59 +0200 (CEST) Received: from mail-pg1-f171.google.com (mail-pg1-f171.google.com [209.85.215.171]) by mails.dpdk.org (Postfix) with ESMTP id BA39E4013F for ; Thu, 9 Sep 2021 20:10:56 +0200 (CEST) Received: by mail-pg1-f171.google.com with SMTP id s11so2615296pgr.11 for ; Thu, 09 Sep 2021 11:10:56 -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=Y25iWHqn41cma0pni3agsyZA7pW28pv1+XV5OeogKUo=; b=JJQq3TToCb4BiWz80JF44vxpZoDhwTPbhrRU0BdDES86gyDO21NKMAfSam3hsYpAdb ThFbO7SvJ+mYQneCWnwM7z1SSPnZZFC5W1NOm26KjZq3qU0ushYs76YyYtOlDgaBbvgW JuSnFNQvrd6GKUpynclCC2F2N5hfvw+Dz+XMN3EB+mkEAtzbYxEnNB972VF4j0rxxJDK vxVt1O5MfvGmEakmH8XYMD60GzZ6rAejxdpcmumyuOd3W3+GWDI/01+ZEN5woQUl0ntS U0lsmPz7dWLJE3nN+SVIXobnaAjD4Yj3ZUE0p+5/fFWDmN6XnIXjSRCFgndsmC90r4nm C7mA== 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=Y25iWHqn41cma0pni3agsyZA7pW28pv1+XV5OeogKUo=; b=kPL6bqK/Eg6DZu6JoafaVPPzthNI5AClLYymGLnBOK7lTw0lXRT3x+yRiiTt6nrrXC LyJtl+KNyW13rvnIrrzQ0eoDtHDOpkYtLP2IXnsvzgwM6vcYYBGnRFzZRGiwsTnov7zh nWiXSq8P8E5ZWJuD7fUknIRbEzbwQhvpZXR7Deaankp2O+rHb74kyTncwr5GOLD9s07/ Hy6dlMwYbV+T1N8PYJphlsOJD+hyTpIbDSMUxt6PEg5vIBxU66fQxce7duzYNHN8zj9w JTzrpjgAqp4FTfKJ+z3uOc9FgkvzCEomSrEkkANybjkynH2WhZg6vKct4cs85Qoa58Gl bjxg== X-Gm-Message-State: AOAM532E3LMhCGKQ09acg0BAhlBmc581tDdfKDgOpu//ciIxbsCvZd+m zoeq53o+SHTzPw+i4ffBoBtIYrRTo5uwPw== X-Google-Smtp-Source: ABdhPJxKNNttx2MyosUBNG/xTHMDTDTn2XeivW951i4x+k14lVQVb7K11I1y24+15ZldLZU9Q1e3xQ== X-Received: by 2002:a63:cf44:: with SMTP id b4mr3802702pgj.215.1631211055641; Thu, 09 Sep 2021 11:10:55 -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.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Sep 2021 11:10:54 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Thu, 9 Sep 2021 11:10:33 -0700 Message-Id: <20210909181048.176255-4-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 Subject: [dpdk-dev] [PATCH v2 03/18] eventdev: fix typo in comment 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" Typo in comment found by codespell Signed-off-by: Stephen Hemminger --- lib/eventdev/rte_event_timer_adapter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/eventdev/rte_event_timer_adapter.c b/lib/eventdev/rte_event_timer_adapter.c index ee20b39f4b24..b5c2dc1427c6 100644 --- a/lib/eventdev/rte_event_timer_adapter.c +++ b/lib/eventdev/rte_event_timer_adapter.c @@ -493,7 +493,7 @@ event_buffer_flush(struct event_buffer *bufp, uint8_t dev_id, uint8_t port_id, RTE_ASSERT(head_idx < EVENT_BUFFER_SZ && tail_idx < EVENT_BUFFER_SZ); - /* Determine the largest contigous run we can attempt to enqueue to the + /* Determine the largest contiguous run we can attempt to enqueue to the * event device. */ if (head_idx > tail_idx) From patchwork Thu Sep 9 18:10:34 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 98477 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 09F5EA0547; Thu, 9 Sep 2021 20:11:16 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 74D3541159; Thu, 9 Sep 2021 20:11:00 +0200 (CEST) Received: from mail-pl1-f176.google.com (mail-pl1-f176.google.com [209.85.214.176]) by mails.dpdk.org (Postfix) with ESMTP id E9E5441141 for ; Thu, 9 Sep 2021 20:10:57 +0200 (CEST) Received: by mail-pl1-f176.google.com with SMTP id v1so1599105plo.10 for ; Thu, 09 Sep 2021 11:10:57 -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=UHLqnX6N7ciTHfnZACzvppu25l99qzBwCAJhDtKWpjw=; b=PG99Ay05o09J02LTxaRNlE2E9RowO+L/w+y+DbsS4scz5cR853FF1WmI1K+SIQfRth qD7ZCeehrk77pQWnt+KxKySjeADh/wlC7MqVzc3KpAIoep0LXinUY1Vf2ZvgLK+beZgc RC7Ncau0GHm3U1gVjE5aO5co663YLoLPtr9BSiWNz/Ezw4uFs6T7Bsp2Bv2hpD5F4Y9X sarhQTQj99r5xIHcS5D6qjSVIrYYEe7wyLq5AFb/aCI9w1FJ0uYC+ji9OKLVtUor2h0N xnGcX6jAJMnNe3s8EwCinnVkG0lbvYJ7qjdrs0+VG2uWFJyVagRHitDy0zz1sNnswDu5 sUxA== 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=UHLqnX6N7ciTHfnZACzvppu25l99qzBwCAJhDtKWpjw=; b=pr9AXd8GwRh+tjvWy2PVAtXxLcgKYBHFMzctiE4+8yjQCZGS9aJId3AWTyIofbls6d SJH8XHw3zUyj72phMtKRKhmPKbULnOxlzuFal0PFc6+wAAjiWiMKAcKROJMBqwVqYp4Y OaEMO+4a853igiTy4VE378+rhpzPY8ncEIWAPQcWlkxkNOfYcEhTcCNybH09wODZtQRK 58QvmGXU8rOUnD7q8HROAOSxwjcAr7JDM0e/wtRbIFQ8PRdIMNWzlVGPjyoszPIAwQ6o EkWM1KWyVJUsfXV8plrp62bI7pjnM9+lGsjcnBCbQwgrUJP2YRjwJPgxOTZbgdFZ3jBR r8ug== X-Gm-Message-State: AOAM531v82kZs/i/YisIMd0QGVblOa1X1lZdB/JLX5Sgb2BAZ4cJNS2y siIjIcH1UP0vdlNpmVyTG1+HvhqyYtPutw== X-Google-Smtp-Source: ABdhPJxLT7/ft0sAe0f8hJ+fyueKnQYHrjpOjSNbse3IfaWXU8Fbjp+1glBY/NbV+EsBZDmnRkK29A== X-Received: by 2002:a17:902:a50f:b029:11a:cd45:9009 with SMTP id s15-20020a170902a50fb029011acd459009mr4068415plq.38.1631211056750; Thu, 09 Sep 2021 11:10:56 -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.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Sep 2021 11:10:56 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Thu, 9 Sep 2021 11:10:34 -0700 Message-Id: <20210909181048.176255-5-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 Subject: [dpdk-dev] [PATCH v2 04/18] power: fix typo in comment 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" More spelling errors caught by codespell Signed-off-by: Stephen Hemminger --- lib/power/power_acpi_cpufreq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/power/power_acpi_cpufreq.c b/lib/power/power_acpi_cpufreq.c index 1e8aeb84037c..402ed8c99b42 100644 --- a/lib/power/power_acpi_cpufreq.c +++ b/lib/power/power_acpi_cpufreq.c @@ -159,7 +159,7 @@ power_get_available_freqs(struct acpi_power_info *pi) goto out; } - /* Store the available frequncies into power context */ + /* Store the available frequencies into power context */ for (i = 0, pi->nb_freqs = 0; i < count; i++) { POWER_DEBUG_TRACE("Lcore %u frequency[%d]: %s\n", pi->lcore_id, i, freqs[i]); From patchwork Thu Sep 9 18:10:35 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 98478 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 0A548A0547; Thu, 9 Sep 2021 20:11:22 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B54B44115D; Thu, 9 Sep 2021 20:11:02 +0200 (CEST) Received: from mail-pf1-f178.google.com (mail-pf1-f178.google.com [209.85.210.178]) by mails.dpdk.org (Postfix) with ESMTP id 100094115C for ; Thu, 9 Sep 2021 20:11:01 +0200 (CEST) Received: by mail-pf1-f178.google.com with SMTP id s29so2476276pfw.5 for ; Thu, 09 Sep 2021 11:11:00 -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=BMWNw0gLugZcukBh8c3ss54CZJL+3hBZ9dhbogD12Ug=; b=Q9wUxO8I6oEgq/iIWC/5M8hUaM8yzNia60GRteWUKKNHRxtds43YOAWUw5PUOjlcAM tNOmAZzhzu/2qkJGsjbCxiyAjhdTrcerC4T5tqGN+bnCWuyYNNqDkFQ8hp3Hk8M01z3I 3FPyzWaMzK0QN4q4ALIMrFA72cBgdIUQ6UtMNBdOxVcVP8WOEu/9vju1yGWV8DyvvexN 868nrTlwjSV2Q6ycBnPW3g93h0qVJr+o64xovExH4XzNvEq+MNYx0wusbLCbHmIltDfm zaGIISWS8qh4MS0DHkPbn8nWg91gSBM692BrmYRCHgk7NiYcYxHvbaQ/4DnWWDbw5dD5 LWBQ== 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=BMWNw0gLugZcukBh8c3ss54CZJL+3hBZ9dhbogD12Ug=; b=0JFJMtrON7JCAry5J/wj9HNr9Y/5yreP2Wz7SXFBJu6y/HOoV30XkCBB0YLbQpym2z PTQJV7fW8Gt9SMv8gYFWFXd6Jf6gI4vFkslOqiO6Sx/ssyhFqZYsO2vxfvxnHadtaGpS pnskm5VQBTZakewRoh8DKaRxmZfikg6qXOdpY8P3ExcHDoZQOUqOXhVdnf5aUSL7DmGf RY5M666rm0L8mv6jaRpQyO2wNMHcgTAsIEwgsVDC7dVnVQVOc0zIyO4oKqX4S4/wgO2q 1DMHcJheUXBPGqC3wtBnojZQy9posX2SUPUF5HpYEksUtP+moSpzsbPh3oGo9Z3fOokM l2/w== X-Gm-Message-State: AOAM533ESrduuZwBU06OF6IzS5UTh7hfOQYTcAUDeQPIAb0CihKIBGJQ ymfR15lMxQVfIRxuT7IxWY8Eukj+hpFv9g== X-Google-Smtp-Source: ABdhPJyTUYf5VleJqKb79Tw222aY+w7AyUHVsWzSXVgL3ix7J2kFFNQ2smKlIJQMQz4Yg/TUM5u6Lg== X-Received: by 2002:a62:7c0d:0:b0:3fe:60d2:bce2 with SMTP id x13-20020a627c0d000000b003fe60d2bce2mr4255484pfc.27.1631211059852; Thu, 09 Sep 2021 11:10:59 -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.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Sep 2021 11:10:58 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Thu, 9 Sep 2021 11:10:35 -0700 Message-Id: <20210909181048.176255-6-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 Subject: [dpdk-dev] [PATCH v2 05/18] rcu: fix typo in comment 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" Another codespell find. Signed-off-by: Stephen Hemminger --- lib/rcu/rte_rcu_qsbr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rcu/rte_rcu_qsbr.h b/lib/rcu/rte_rcu_qsbr.h index 18811c1cc106..62a420a785fc 100644 --- a/lib/rcu/rte_rcu_qsbr.h +++ b/lib/rcu/rte_rcu_qsbr.h @@ -362,7 +362,7 @@ rte_rcu_qsbr_thread_offline(struct rte_rcu_qsbr *v, unsigned int thread_id) /* The reader can go offline only after the load of the * data structure is completed. i.e. any load of the - * data strcture can not move after this store. + * data structure can not move after this store. */ __atomic_store_n(&v->qsbr_cnt[thread_id].cnt, From patchwork Thu Sep 9 18:10:36 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 98479 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9035AA0547; Thu, 9 Sep 2021 20:11:27 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EB9634115F; Thu, 9 Sep 2021 20:11:03 +0200 (CEST) Received: from mail-pg1-f179.google.com (mail-pg1-f179.google.com [209.85.215.179]) by mails.dpdk.org (Postfix) with ESMTP id CE8C74115F for ; Thu, 9 Sep 2021 20:11:02 +0200 (CEST) Received: by mail-pg1-f179.google.com with SMTP id g184so2626828pgc.6 for ; Thu, 09 Sep 2021 11:11:02 -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=kwLlo54zLKTT3WDp4j88iG5+FiQzxETdwy2qTye6OGU=; b=nQecs5HDPQ1oA7+pl3vwGRpStsOiIntnsqRpV38DJ3QOGgN/iwvIyuYsZrl/Xxgc1o wk/kKI2qdRQoz5Xg3ZJIgXJpvAHKkdoVR3CQnumvwdkdwTDPS8ABiNolrorqt0xaRIaE le4SfhTrJahsg/ErTjb9rsywOVXw/ZTnBkDMM/nkyPJeFLK/GCF7pF1AeR4C7x4cI0mL 4WLLyYbeFHueNEKF5W92keRJkddf3xLdU1q9zbt3T8XI5zzEYtF0fCeegmJSM2YF/iiy 9MhhB2d/JmMbHENhEfd6DozADR01P0K/huJX3aScjieDExd/yYzAIGcJNd+smYsqSylB UHKw== 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=kwLlo54zLKTT3WDp4j88iG5+FiQzxETdwy2qTye6OGU=; b=C7md6clInZ4a+88o1Qke/gtQooiKDNlgsrgBOVp+c8u6N02U107TNO6CFzzJnnAzIw qPzqPrVTxyxJLb9ei/ZadN7kUOSxBBySnNlteIDG93jBRF/dtPcNqgiU17J4o6acsl79 98qrtUq94DQ9yI6hPTwWWlZ2afqa9ft87zU9+OS750+YsEAOrV3rbaSH032fotzoHuiv 3cAyddwQO1O41oKHtmluKJC4wGQUNGsSKKY2yvgMC6MiY8s+W1fkxAzWwUAoMcTW9HHm 0knXpgt0G5BECUWlBuN6MtdFofiVaJw2W7gPWgwQHChbQnwFEh7JLjAmRAMO0P7bDcZp jkDQ== X-Gm-Message-State: AOAM530K08ME/DpUocYtXkGkwAinBJW3955lYdv0KrZlgRNQRRam8Yas Slur5+ZOoW0FjzU9bsWIMi2khzknoskF2A== X-Google-Smtp-Source: ABdhPJzypp9moy7LzDN5ZUreYGPn+KBNXc8LiWJ/+domAg4/1P7guESooop5uimAhW34GncyCmI58w== X-Received: by 2002:a62:5297:0:b0:3f4:263a:b078 with SMTP id g145-20020a625297000000b003f4263ab078mr4076033pfb.20.1631211061673; Thu, 09 Sep 2021 11:11:01 -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.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Sep 2021 11:11:00 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Thu, 9 Sep 2021 11:10:36 -0700 Message-Id: <20210909181048.176255-7-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 Subject: [dpdk-dev] [PATCH v2 06/18] bpf: fix spelling in comments 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" Found by running codespell on the bpf implementation. Signed-off-by: Stephen Hemminger --- lib/bpf/bpf_jit_x86.c | 2 +- lib/bpf/bpf_validate.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/bpf/bpf_jit_x86.c b/lib/bpf/bpf_jit_x86.c index aa22ea78a01d..518513376a67 100644 --- a/lib/bpf/bpf_jit_x86.c +++ b/lib/bpf/bpf_jit_x86.c @@ -1245,7 +1245,7 @@ emit_epilog(struct bpf_jit_state *st) uint32_t i; int32_t spil, ofs; - /* if we allready have an epilog generate a jump to it */ + /* if we already have an epilog generate a jump to it */ if (st->exit.num++ != 0) { emit_abs_jmp(st, st->exit.off); return; diff --git a/lib/bpf/bpf_validate.c b/lib/bpf/bpf_validate.c index 7b1291b382e9..3e7d3d730637 100644 --- a/lib/bpf/bpf_validate.c +++ b/lib/bpf/bpf_validate.c @@ -1723,7 +1723,7 @@ static const struct bpf_ins_check ins_chk[UINT8_MAX + 1] = { /* * make sure that instruction syntax is valid, - * and it fields don't violate partciular instrcution type restrictions. + * and it fields don't violate particular instruction type restrictions. */ static const char * check_syntax(const struct ebpf_insn *ins) @@ -1981,7 +1981,7 @@ validate(struct bpf_verifier *bvf) /* * construct CFG, jcc nodes have to outgoing edges, - * 'exit' nodes - none, all others nodes have exaclty one + * 'exit' nodes - none, all others nodes have exactly one * outgoing edge. */ switch (ins->code) { From patchwork Thu Sep 9 18:10:37 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 98480 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2DB58A0547; Thu, 9 Sep 2021 20:11:33 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0C42841168; Thu, 9 Sep 2021 20:11:05 +0200 (CEST) Received: from mail-pl1-f174.google.com (mail-pl1-f174.google.com [209.85.214.174]) by mails.dpdk.org (Postfix) with ESMTP id 0AF6941164 for ; Thu, 9 Sep 2021 20:11:04 +0200 (CEST) Received: by mail-pl1-f174.google.com with SMTP id bb10so1614574plb.2 for ; Thu, 09 Sep 2021 11:11:03 -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=HmFEFo2MkQPmDqg7dHyWmGRSodI58KjtzjZqz3DqmPBJ4Fw0+iJduM8xMUFJjXx3uo 69IlNExCcJzSjvp22OHHcIdH60F9am1Ohei/WrbHhEndJgVK56LU4bIh077CjvfW1zPa nf4mLGqSzzq0DMSesZyjQ8CTWpEjkztZY6E+jcMn3fmIQ1+5N5D8dvqzQhSz9yq7UW8v ZXy6xVODef2W48VMhfkqNGT5AIV6bYEOQa537FK6Q5u2lRwvVScUf4qgAElNRpgoJEGG zleXZJOTkLA1seS5NnAdHZBNKw17C5ZDb3M1JXBHoqbJ9nYuW6SnME8b449r++diHSCe SD0A== 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=C3CH5Da/UCc5WC8EqvmpFo0ro4juhD+BblBBpm4f3t/CvquPFM+HlvRBZ1NBPSFZKU LSbcv/zQT8IVCYUVcSktGrOIQ7eoV8IBMiW7f8VBGmGcanpLYDOMkS+zRoxsweFFyhBd xGKKxnU43B6T97bLXG5Vk/GAk5RUa+ngEAUdB+678ilc/qLVyNp+eAuMKIhj9xBtH7A6 bYBAvH6o3jMlro8OqK4LexG3JCP+jlnU7N3QmLS90LrwoDbwCqZKLhJ0vmYJKM20nsRZ H9Z55SRafx0E2k5L2BJUBHWvGKBo/kcyjKeWW1lg8eRXITsiFZmhcJYwFT4quLiZd7YU jqDg== X-Gm-Message-State: AOAM532LMk1teg5aIv6UQdPGIYWnzSGZ6Bqe4XEUtwAsbP3PaSWBs8e4 Ni5Ctm92wyjDwD0FN+kpiOivEXfrfybmdw== X-Google-Smtp-Source: ABdhPJziwR1JQof39GQeJaZw4qd2E+nkqg4OGMWqEqWpsHhf8fvhPyj4Jm/EQSIzGhNiikD8NxEPMw== X-Received: by 2002:a17:902:dacc:b0:135:7ac:b790 with SMTP id q12-20020a170902dacc00b0013507acb790mr4062014plx.5.1631211062904; Thu, 09 Sep 2021 11:11:02 -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.11.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Sep 2021 11:11:02 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Thu, 9 Sep 2021 11:10:37 -0700 Message-Id: <20210909181048.176255-8-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 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); } From patchwork Thu Sep 9 18:10:38 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 98481 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id BD8CCA0547; Thu, 9 Sep 2021 20:11:39 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8818441178; Thu, 9 Sep 2021 20:11:07 +0200 (CEST) Received: from mail-pf1-f177.google.com (mail-pf1-f177.google.com [209.85.210.177]) by mails.dpdk.org (Postfix) with ESMTP id C667E4116C for ; Thu, 9 Sep 2021 20:11:05 +0200 (CEST) Received: by mail-pf1-f177.google.com with SMTP id q22so2506272pfu.0 for ; Thu, 09 Sep 2021 11:11:05 -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=YhKzcukIPnuFq2gmD/5xkP4Th29ZYZ+ww6uH6h8RZ2c=; b=oeUgqg/cj4NdIgGRlziETha544ox/k7rjJAHvgwY+4zt5ILEK5FaWnMTQj4BeDaD4T 08y8j6jE8CuPpqk6uzBcFHkSd9bThHntsYFCAXF7+N1IEp1N4GGlPw1GwZvE8lMYqgvn 5p5W5p4612uAGMaWLLGPSCPyxh5xLDrnakkQi21L5KLEmxhY2ASjqb7jT+fWlwaMu0Mh woQbqtT2t3fmYnzoQf7n6Pkqg6qUiuirRILtcFLMrXW18pp5DD+HeEGe5iDzIsfttKOK 1zWrhfFsoDrg09awoPQz5zOfdM1t/0SG3gjfEd/aIi2UP74b2q+Z1ySdzqk1A/hMl5+3 KOrA== 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=YhKzcukIPnuFq2gmD/5xkP4Th29ZYZ+ww6uH6h8RZ2c=; b=TIM16ozgiHEgTQJbgWYh5bRubxSEJntR4uVmqx3auAefh/pfsx5J+8Urv11vEX7Vc7 xksdBx6oD0GM3bycIdysFfMFkSP5Sgv6uAboc0rLg7kn4YV88lqe1SPI5uvlrveYqy8i NZlV0Bq4n08Ttmi+e0MdwylEKRHl2TTFU2BzUqNd08HzbHC7zwkI5ni1x6OZLhHklUFQ vqJHo/mhSGDg5VYzN+FGaGwEPZ+nesLFgO892lZBIJIlFC6fFV8CkLXrGGBMh+pFpg2E lh49CmaLTc2ZIgB8oZDl/tOCu3JiL4LiBuzg7OKwc9OefT9BWgBRAuIlv5nT5bQ2iHta PSlQ== X-Gm-Message-State: AOAM533kngjj2PbxJqnI4X+mW5dZ1e+kgSVMk4ZSDEfcr1g+RG9y9SNt D7Q0ojxABpARLz0wg4Fof7Q6xz56Nyl00Q== X-Google-Smtp-Source: ABdhPJzHg1r5EZQx2gBMq3BGzDdQZDsBj0UQux45ksB2qRj5xMRD7OXognXeWOWnUD0gnzGQ1CV1hw== X-Received: by 2002:a62:8fc3:0:b0:405:473a:7461 with SMTP id n186-20020a628fc3000000b00405473a7461mr4128387pfd.28.1631211064637; Thu, 09 Sep 2021 11:11:04 -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.11.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Sep 2021 11:11:03 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Thu, 9 Sep 2021 11:10:38 -0700 Message-Id: <20210909181048.176255-9-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 Subject: [dpdk-dev] [PATCH v2 08/18] eal: fix typos in comments 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" Minor spelling errors. Signed-off-by: Stephen Hemminger --- lib/eal/include/rte_function_versioning.h | 2 +- lib/eal/windows/include/fnmatch.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/eal/include/rte_function_versioning.h b/lib/eal/include/rte_function_versioning.h index 746a1e19923e..eb6dd2bc1727 100644 --- a/lib/eal/include/rte_function_versioning.h +++ b/lib/eal/include/rte_function_versioning.h @@ -15,7 +15,7 @@ /* * Provides backwards compatibility when updating exported functions. - * When a symol is exported from a library to provide an API, it also provides a + * When a symbol is exported from a library to provide an API, it also provides a * calling convention (ABI) that is embodied in its name, return type, * arguments, etc. On occasion that function may need to change to accommodate * new functionality, behavior, etc. When that occurs, it is desirable to diff --git a/lib/eal/windows/include/fnmatch.h b/lib/eal/windows/include/fnmatch.h index 142753c3568d..c272f65ccdc3 100644 --- a/lib/eal/windows/include/fnmatch.h +++ b/lib/eal/windows/include/fnmatch.h @@ -30,7 +30,7 @@ extern "C" { * with the given regular expression pattern. * * @param pattern - * regular expression notation decribing the pattern to match + * regular expression notation describing the pattern to match * * @param string * source string to searcg for the pattern From patchwork Thu Sep 9 18:10:39 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 98482 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id A5947A0547; Thu, 9 Sep 2021 20:11:44 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A606A4117C; Thu, 9 Sep 2021 20:11:08 +0200 (CEST) Received: from mail-pg1-f172.google.com (mail-pg1-f172.google.com [209.85.215.172]) by mails.dpdk.org (Postfix) with ESMTP id 76A8F41174 for ; Thu, 9 Sep 2021 20:11:07 +0200 (CEST) Received: by mail-pg1-f172.google.com with SMTP id k24so2616052pgh.8 for ; Thu, 09 Sep 2021 11:11:07 -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=rTNpTWVaGLjKylPdoBipYgXEK63oIlLKPqB8wKRmYcQ=; b=COAxeM6tJDwAy/faY4m9hw9+xJ35zAh+zWC032mMxJzwN2f3EYFYHhOnpCkUFTb+YF euSJi8mBpDMt464fW+2RLlLjQ7qXKdaQJ9I90IKniaO8mm0HuEBqlA4X5sIeI9BjRxiE d6KRMTLQT/gVWTFNcLxQ4jf2KDoezhD78IBJoDBIfPu28FnMGL6VWAAQzR2THBEmOEnq rf+uhDetaAY1yn4SeGd1+Rw0qqNXrXIqRftJyu+JTdg6Jm1hNBZxhaRv2Xm2sQyMNNvb yoIGaQEiFhdtnryWWQYYXbnUjZJJtN+jn7Xg8zUmoQb+OI0dd0UaR06LZRoIJgUYvIuw wFZg== 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=rTNpTWVaGLjKylPdoBipYgXEK63oIlLKPqB8wKRmYcQ=; b=pPNwH9dIk2S0HMxwLmx2sqyiYr3HBgB+mxZFmqZk1RXV/w32IfNN5r5so4au+QqG1b NYTBhgU93jGz4+0PpDu3udCx/rF7sp806HXaUVNC+Vul30KakMmt4rSa8pE/FsARZu90 kvHpa9RIdh10LDSxnvHyfqsTaNJGFpJpwV6TL1xn+jLAMq5mSnvxEol+SG/FkszTvZcr 56FCuwfDXBVMwxXQLkRwXT9WEFhjigiqEFq2SPhHiwUAC/BbyyzEhTwYk6UmCRekj/Za nlV0sOkEPWIOFbXe9oGYG33UL72YIAi68cZqP8QVhyIOGcjTnRxIocuGDqcx4A4ojmUA Bi8A== X-Gm-Message-State: AOAM531+65JZOohGl5Hj24oZTfELqZgpXFmo41KrwS2twWaGz8J13vXj PKu2laLjM+rd3GKjE5ERp8cPkCXCP5rSZQ== X-Google-Smtp-Source: ABdhPJy27rnF2Okd9yiQLrRHZPlLw51+85ghN46HZ+YV/39im3RGMrBChs320euE6YgdH4CIM7OaBQ== X-Received: by 2002:a62:7f4a:0:b0:416:310f:d082 with SMTP id a71-20020a627f4a000000b00416310fd082mr4414039pfd.72.1631211066376; Thu, 09 Sep 2021 11:11:06 -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.11.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Sep 2021 11:11:05 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Thu, 9 Sep 2021 11:10:39 -0700 Message-Id: <20210909181048.176255-10-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 Subject: [dpdk-dev] [PATCH v2 09/18] net: fix spelling error in gtp comment 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" More codespell finds. Signed-off-by: Stephen Hemminger --- lib/net/rte_gtp.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/net/rte_gtp.h b/lib/net/rte_gtp.h index 6a6f9b238db9..f22dbce47c65 100644 --- a/lib/net/rte_gtp.h +++ b/lib/net/rte_gtp.h @@ -64,9 +64,9 @@ struct rte_gtp_hdr_ext_word { /** GTP header length */ #define RTE_ETHER_GTP_HLEN \ (sizeof(struct rte_udp_hdr) + sizeof(struct rte_gtp_hdr)) -/* GTP next protocal type */ -#define RTE_GTP_TYPE_IPV4 0x40 /**< GTP next protocal type IPv4 */ -#define RTE_GTP_TYPE_IPV6 0x60 /**< GTP next protocal type IPv6 */ +/* GTP next protocol type */ +#define RTE_GTP_TYPE_IPV4 0x40 /**< GTP next protocol type IPv4 */ +#define RTE_GTP_TYPE_IPV6 0x60 /**< GTP next protocol type IPv6 */ /* GTP destination port number */ #define RTE_GTPC_UDP_PORT 2123 /**< GTP-C UDP destination port */ #define RTE_GTPU_UDP_PORT 2152 /**< GTP-U UDP destination port */ From patchwork Thu Sep 9 18:10:40 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 98483 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 55DCAA0547; Thu, 9 Sep 2021 20:11:49 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2F01641180; Thu, 9 Sep 2021 20:11:10 +0200 (CEST) Received: from mail-pg1-f173.google.com (mail-pg1-f173.google.com [209.85.215.173]) by mails.dpdk.org (Postfix) with ESMTP id A21A94117B for ; Thu, 9 Sep 2021 20:11:08 +0200 (CEST) Received: by mail-pg1-f173.google.com with SMTP id t1so2634927pgv.3 for ; Thu, 09 Sep 2021 11:11:08 -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=BCIECras0Osz1U+bwJftEqu0JIOC4QddkZ974/AXh+k=; b=uS+LkZj8+zcYoeCJrligVf1kjowehoUZ7/eVGC5+/RS3yJE5jDUNL9FjiknvggX7Nh UpiqqKRCSdop1ICJ8wt9kbz9GC5nNxbgmGw13UQ1Bnxc3ZE82dH+nllS2XGOY8vwWvub 9drRT2ku5X/BDi+5HfiXxlotZ+seIbqxTnUjLFZtvwunzyB0Gh/878zbNVxrnl6v/V4f 6lzW+giHGHfdxX8urr41/N+wMs/R+WaQO2qA89kM6srv4teHOe1B1AYJx7Y348/LiH+U 5vV8S1H0kmJSEVFaz+AiWrByGIaWybDQE8kECxhugQ9J0omf+QLodqd7z5bP4bJjD/R+ nlnA== 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=BCIECras0Osz1U+bwJftEqu0JIOC4QddkZ974/AXh+k=; b=MAJS8KjKn+ctsPwfQUu41MmZTF+1fV3ry1yiIUhFQvt9enJlhYABmJPFmEegUgxfVB zocH4MusTbVKPZCjfZyql49p8Mbj/reYD7SdkpDZOT0LjJi1Xq41/avDAnEbObIQ2fH/ jKHiQZHzEBIhAeB2X3BAjNN7ym3MJonnM8lZluHFHX7GUo8PEg09OwKHUxI+gPoO7RxV KT470hef564h+XQFNuHwCHzGwj3QEuleA5Uz0MdDY5xzHdKnVHg9Gq8WQpNuXCZPysnF OpLbpBAb4gnNGXMARAQwgL7vBpbjq3jLVE/qWC5W6BoQHU568Z+oF7zbF4WrcgibO1gL Wh1Q== X-Gm-Message-State: AOAM53314cxrTMLv80f7K6DpXXMWHMhsk5vQNbHQQBV3fus8HFlFZjkh APYuog/tjOowtlZs2VLkRF0Sk6jlS86ATA== X-Google-Smtp-Source: ABdhPJw7KQMeoWE19CUaL7FDVfjMa5nbOQEmGgT4W1U8/RjJ6b9F7BwDyOK82q4fuNidJzvj22d7Jg== X-Received: by 2002:a05:6a00:c8a:b0:3fb:dbcc:e1d7 with SMTP id a10-20020a056a000c8a00b003fbdbcce1d7mr4315078pfv.51.1631211067551; Thu, 09 Sep 2021 11:11:07 -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.11.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Sep 2021 11:11:06 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Thu, 9 Sep 2021 11:10:40 -0700 Message-Id: <20210909181048.176255-11-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 Subject: [dpdk-dev] [PATCH v2 10/18] bbdev: fix typo in comment 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" Yet another spelling error found by codespell. Signed-off-by: Stephen Hemminger --- lib/bbdev/rte_bbdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bbdev/rte_bbdev.c b/lib/bbdev/rte_bbdev.c index fc37236195be..49a0de49d8df 100644 --- a/lib/bbdev/rte_bbdev.c +++ b/lib/bbdev/rte_bbdev.c @@ -138,7 +138,7 @@ rte_bbdev_data_alloc(void) } /* - * Find data alocated for the device or if not found return first unused bbdev + * Find data allocated for the device or if not found return first unused bbdev * data. If all structures are in use and none is used by the device return * NULL. */ From patchwork Thu Sep 9 18:10:41 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 98484 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id DAEF5A0547; Thu, 9 Sep 2021 20:11:53 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3B13741187; Thu, 9 Sep 2021 20:11:11 +0200 (CEST) Received: from mail-pg1-f177.google.com (mail-pg1-f177.google.com [209.85.215.177]) by mails.dpdk.org (Postfix) with ESMTP id 5908241184 for ; Thu, 9 Sep 2021 20:11:10 +0200 (CEST) Received: by mail-pg1-f177.google.com with SMTP id f129so2633749pgc.1 for ; Thu, 09 Sep 2021 11:11:10 -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=N7RQW+rFoxRqMNW0mfvs/j/O5ucyke/Ae/J/2sWVeak=; b=JpgsLacaIoKdxMw6RWnOKNXfeGOJ6Xv1R7DDxOtRzlBmltBy0XQzEk3olcilYlWr0T xEQ7Jcl4e8CoG4q/QTbjO9DPg/jQVOzDYg9EI/ZAxQXbZDQSSxaq8bJxwDNYDdoTk4l3 ST1qKlwjylPjqoFL3BdbnDVAazIUCpvI3xXHQbrnETHavr09n3ftrAfu6Nt5WIDsARaq QJgMFcdpez4q8xp8HiU05bXDCZdzDtv+llhrSWfOknKG8NqTd1yBZ6ixUPtIdbTKC8FW 7RWOObm/SkiFhCKqumbFgpVemxLW1w55YN8CqA6iZUXHMFJOE92tjyqHXHxzAhwcH++w yMmQ== 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=N7RQW+rFoxRqMNW0mfvs/j/O5ucyke/Ae/J/2sWVeak=; b=n/6srq6PGpAQ3bqqmLQZIw+gn2guJsCuHz42Qm97oL2kDab7jKTHpAkQ/WBQtWSl1j 80M/fiKevQDqT8rGo0cYhd2RYy/RA4HzTxMNvAP+RfUdowuzQpuW8bIfSprWWVsFQFQR VqjzYNtP2n/y6tOcgXY1DLgHod2aMLy0uOk0mpfGXNyX4rX9qKuGiCMeDMmDfNsSfBOJ YpdZps1JRW4F/3Wrx//3OGTbYFqk9X1PQ5jKiBpHlstjAI5xGrD5n5K5XmUb/+xbvt7t eDGXyiPPsi3pf4246n2djQ5tUYgcLs/sHW6la66Zw3drtF4slzzSkl5DI4XqhskKj7Lf Yo6g== X-Gm-Message-State: AOAM531y8lzwpyRMsJDttzvbjvOgrJU6QCbExldrHlowgA3CviBwQRDW 1PdSVgxJlkpVW+yfPJ17+1AeAfdaN2E4Bg== X-Google-Smtp-Source: ABdhPJzNqBBtfcZmccrzkGkLVFXAYfWgeZPxJ1w0Qeo+gh0nWwKTVOjJ54xStRtGdFJIxhyUty5PnQ== X-Received: by 2002:aa7:9d02:0:b0:3f3:df3b:81ae with SMTP id k2-20020aa79d02000000b003f3df3b81aemr4060817pfp.19.1631211069142; Thu, 09 Sep 2021 11:11:09 -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.11.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Sep 2021 11:11:08 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Thu, 9 Sep 2021 11:10:41 -0700 Message-Id: <20210909181048.176255-12-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 Subject: [dpdk-dev] [PATCH v2 11/18] pipeline: fix spellin error in comment 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" Minor typo Signed-off-by: Stephen Hemminger --- lib/pipeline/rte_swx_pipeline.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pipeline/rte_swx_pipeline.h b/lib/pipeline/rte_swx_pipeline.h index cd395ac39dbb..9bfc69b2bb4f 100644 --- a/lib/pipeline/rte_swx_pipeline.h +++ b/lib/pipeline/rte_swx_pipeline.h @@ -620,7 +620,7 @@ struct rte_swx_pipeline_selector_params { const char *group_id_field_name; /** The set of fields used to select (through a hashing scheme) the - * member within the current group. Inputs into the seletion operation. + * member within the current group. Inputs into the selection operation. * Restriction: All the selector fields must be part of the same struct, * i.e. part of the same header or part of the meta-data structure. */ From patchwork Thu Sep 9 18:10:42 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 98485 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 37F8DA0547; Thu, 9 Sep 2021 20:11:59 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 559BF4118F; Thu, 9 Sep 2021 20:11:12 +0200 (CEST) Received: from mail-pf1-f176.google.com (mail-pf1-f176.google.com [209.85.210.176]) by mails.dpdk.org (Postfix) with ESMTP id 96C7541145 for ; Thu, 9 Sep 2021 20:11:11 +0200 (CEST) Received: by mail-pf1-f176.google.com with SMTP id 18so2464833pfh.9 for ; Thu, 09 Sep 2021 11:11:11 -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=h6RGbz+lW+gRBc5jM7TaIL5lDnuiXp6WTtvh6t/pgTM=; b=fGBens2O+3SjVXbAVjutVyc4m8qAvqdP+ykcapHRJJl/PMVtAqU4ykSXueHDgyQuzl ZAyJF5uMLmjBB7+lGLradOYFRP8b/CuUP0uKf0bUR1CWXE4VOLY/knKZObdfw18IngEL XeYe3L1i5XZbBbER32WNFYFxmVUHd6z9ifwY80Ax05ozIiNG7IcZp5cdzbObQx+nZJgM TEXuzQ7ktXTYASOaX8VxWuHH49/bO2arAvWB0U0ASeOZLHBaSKnAifZKLU/1wTh/7icr DkdG5XwEgx01VzP1KTcHinV0JFehkfEEehwXWdIQ9JuaxbbGTG2YMvl6GwYXcj0ESyC5 JuVw== 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=h6RGbz+lW+gRBc5jM7TaIL5lDnuiXp6WTtvh6t/pgTM=; b=TCBAlNHBM4StPq2IyGUG71iHy5vYbQbI5DcF3x9p+jWgRi2PBM/1uZr/2QChazbBvR guMGQK8kkiBQ7eAMeN6M1qTB7S2a9ZthzVxkwvXIXXsAsJEhN9G6OmBEldwwbdexo1AX Efm79KCSQHWZxosmYTl1w89rihWrxnFBzzMhUgKemm3bSAmG1o0twGnATMrfnLPO+4WU 7FECd+uhxdC5w7LMXv7RjUlYMPOsboz/PSxBx5n5OrBAE/I2ilUMXeuU++HNWMtzCvLv sK6mPJbxoUaq6jldeCos6Nvjd00b+RTwentLVwByn/E00pH7eyoiiT6sODdzw4r+5uOH oetQ== X-Gm-Message-State: AOAM530ABDhHJR4gIwxaTBLg45n8JLglI9uB8vnaz1g1vAJpPwP/hr5Y 9KOOde9bDv0UUTYssbm06qrKA3Ywoas1Sw== X-Google-Smtp-Source: ABdhPJxaJ1fUn+QSY4VEUVuy7qlj8yhajmz9gQnpmDFUjE2lHIiZSE+5R4DV6NvC/6/GZ7nw7S2H7A== X-Received: by 2002:a63:2343:: with SMTP id u3mr3835033pgm.100.1631211070377; Thu, 09 Sep 2021 11:11:10 -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.11.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Sep 2021 11:11:09 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Thu, 9 Sep 2021 11:10:42 -0700 Message-Id: <20210909181048.176255-13-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 Subject: [dpdk-dev] [PATCH v2 12/18] hash: fix typo in comment 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" Yet another spelling error found by codespell. Signed-off-by: Stephen Hemminger --- lib/hash/rte_thash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/hash/rte_thash.c b/lib/hash/rte_thash.c index d5a95a6e009a..f5e9111f0264 100644 --- a/lib/hash/rte_thash.c +++ b/lib/hash/rte_thash.c @@ -26,7 +26,7 @@ EAL_REGISTER_TAILQ(rte_thash_tailq) /** * Table of some irreducible polinomials over GF(2). - * For lfsr they are reperesented in BE bit order, and + * For lfsr they are represented in BE bit order, and * x^0 is masked out. * For example, poly x^5 + x^2 + 1 will be represented * as (101001b & 11111b) = 01001b = 0x9 From patchwork Thu Sep 9 18:10:43 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 98486 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 99283A0547; Thu, 9 Sep 2021 20:12:04 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6F40741195; Thu, 9 Sep 2021 20:11:14 +0200 (CEST) Received: from mail-pg1-f170.google.com (mail-pg1-f170.google.com [209.85.215.170]) by mails.dpdk.org (Postfix) with ESMTP id 254FC41194 for ; Thu, 9 Sep 2021 20:11:13 +0200 (CEST) Received: by mail-pg1-f170.google.com with SMTP id 17so2631000pgp.4 for ; Thu, 09 Sep 2021 11:11:13 -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=eFOTpf1ItuTSbd0uW3EE82eF+R9njqfA+lfeOdEESKA=; b=DEs0Gd1lHhlZSlHsZTOLEcLwykPdouDci6TEpyGl3EbCP8YCCvZFO43I3Uvw3ko25d M/M4fU8iGIidmxNFY9Kr1WkoUn/O86hIuosuCjx1PCXeopgH1PnbfYVtF4awg2lcgOTq MCk3TRWFlxNAN755qgEGLeQHkOiR8LnthM+kwEsINPN0L6gaCABnxPKPfvVOAeDrXMR8 HD4hYjgT/xz8kk8TQLk1NlFA7ehyTubgdbtOJxVhRWGkQaUfXwcf2bRCLhX0dp+tkKYI 8DrofykwHj2FFMeHqbWYt5REa+4zCPT5wQKnH6F3gHQAkYYhhzgua4AdacBG+J3touAs BVYw== 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=eFOTpf1ItuTSbd0uW3EE82eF+R9njqfA+lfeOdEESKA=; b=mCQN05G8T3WyIRYjVhdZot9gmXZJYbZJCdvqta8ypgtK2aLzpsIM2D1hNth58UORqW Txf+I61FyXtsGWEqPUEyEet9pDn6JXlo/EI6+wvKaLQZAkNIDnMcR+zYyFJ/3/QzgBjC H6d7FiuuFXL8yXEMqDspmTGBC7MmMxk22cWrhIjBAdleWEONejtT221eO2IO2UT741u9 b2wL4bym33xoGRLlbhi6RBGwljdT6ajwHo3JQiVHk5x8E0MwbeufpfAVu90QNIn38Ytq FGeSceGsMR7ljeaEKlKt5AUkfVuTMvkc4jbrIJDkTbK2omg2CNp5nPH8dM3gXkac6jqy bnzQ== X-Gm-Message-State: AOAM533HGJo8gwPB5g2hylD7ZL6ZppzpJg+58pv0Z7jN3xsuy7n5BPeT ERFFRP0Gx1eMwOxf6HZtjU0Z4IHseU3yTA== X-Google-Smtp-Source: ABdhPJy0S2qxrTLnAYbTBx7qRJ+U/OolaxO0bHl/Ub/NpTkmEkpuAHDQ9udXV5JqX/r0ZzcQgGutiA== X-Received: by 2002:a65:5a8e:: with SMTP id c14mr3849648pgt.125.1631211072037; Thu, 09 Sep 2021 11:11:12 -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.11.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Sep 2021 11:11:10 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Thu, 9 Sep 2021 11:10:43 -0700 Message-Id: <20210909181048.176255-14-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 Subject: [dpdk-dev] [PATCH v2 13/18] rib: fix typo in comment 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" Yet another spelling error found by codespell. Signed-off-by: Stephen Hemminger --- lib/rib/rte_rib6.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rib/rte_rib6.c b/lib/rib/rte_rib6.c index 96424e9c9f4f..4a6f29b0040d 100644 --- a/lib/rib/rte_rib6.c +++ b/lib/rib/rte_rib6.c @@ -199,7 +199,7 @@ rte_rib6_lookup_exact(struct rte_rib6 *rib, } /* - * Traverses on subtree and retreeves more specific routes + * Traverses on subtree and retrieves more specific routes * for a given in args ip/depth prefix * last = NULL means the first invocation */ From patchwork Thu Sep 9 18:10:44 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 98487 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 39397A0547; Thu, 9 Sep 2021 20:12:10 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8507B4119C; Thu, 9 Sep 2021 20:11:16 +0200 (CEST) Received: from mail-pj1-f48.google.com (mail-pj1-f48.google.com [209.85.216.48]) by mails.dpdk.org (Postfix) with ESMTP id 4FCB34119C for ; Thu, 9 Sep 2021 20:11:15 +0200 (CEST) Received: by mail-pj1-f48.google.com with SMTP id w19-20020a17090aaf9300b00191e6d10a19so2074582pjq.1 for ; Thu, 09 Sep 2021 11:11:15 -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=PmodIwvYH+OOKWa1wAp8iVPfYtmFhqhVBhIsxeIQCKY=; b=FfL94c3T2WdF3POIwnxFuVT76InTQkoyfwuhu6VC5hxNy+WDv+l8h7COP/1bg11al8 cRclVV5pfpsv/dN3ToOS5KR9jgYO+mJtNXVQrJXhiIFrgR7pIvSkhnB+Ds+snANSYVzi BoG5xT+lPQ91p94TOnk8pEH2FG9sR+dv9JVuYfaB7/L4F4Rz0z4Et9ZnCxlGsQwn4duP kwtFp/lgDqDINASyGAitsP3UAJ/qov5k0obDgC7W5si02yLg2DLyuozC1/sRFstdk0Dv /VmrHLLhME4gd+5ApCJ6z1OuZudSSuYj3O3zdwPKCpLsC78pEa9u223hSJNSRQJz1F7E /kBA== 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=PmodIwvYH+OOKWa1wAp8iVPfYtmFhqhVBhIsxeIQCKY=; b=mwNx1YNv9jx59dDxVl/yTScPkyqxwl4KmM6EjzGCtYlCzhBBp+qsXrVJtVwchqPR6z UR2sf3ZhrMIW+b4CAPL5iyDlMbAN6yQ5iAvWds2VqO5MN3Cqz3fmbFYQoQ2vP6x/JfVq /A58GLM5zAd2loaCXZ4096bZmAUw6S71C18A0JXCBs5NSmA9188NPvLcOc/znUYFu6B/ Yw3xmcn0WaRQoaAxx6npk82t0UV/2PRshChDEDfV4FwmvqKdgYvCrwGvfSbCK/jrG4AB w9/tY1z8IvARSN1h548wo8XJ/uKz5mL0uAdk7SLwDUcwMuxu1mIR1IDmOLJGXyXNN6Nf xzxQ== X-Gm-Message-State: AOAM533sdmI4KK+sS4cfAebmJU/gQM4uBJmtwAbP8xRXzc282TWk3d0N g+cw27CdsziqImoLDDdFqxaz9QjC8NFJvw== X-Google-Smtp-Source: ABdhPJzjcHF5tuUP+c0rXRxgxLejrj6yy3D+cgFp16t7xVr0qL77BuOKqUoZi8fibrR2b1oz4C1gxg== X-Received: by 2002:a17:90a:e009:: with SMTP id u9mr4864525pjy.218.1631211074190; Thu, 09 Sep 2021 11:11:14 -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.11.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Sep 2021 11:11:12 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Thu, 9 Sep 2021 11:10:44 -0700 Message-Id: <20210909181048.176255-15-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 Subject: [dpdk-dev] [PATCH v2 14/18] sched: fix typo in comment 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" Yet another spelling error found by codespell. Signed-off-by: Stephen Hemminger --- lib/sched/rte_sched.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sched/rte_sched.c b/lib/sched/rte_sched.c index a858f61f9548..329f4b2e7b48 100644 --- a/lib/sched/rte_sched.c +++ b/lib/sched/rte_sched.c @@ -579,7 +579,7 @@ rte_sched_subport_config_qsize(struct rte_sched_subport *subport) subport->qsize_add[0] = 0; - /* Strict prority traffic class */ + /* Strict priority traffic class */ for (i = 1; i < RTE_SCHED_TRAFFIC_CLASSES_PER_PIPE; i++) subport->qsize_add[i] = subport->qsize_add[i-1] + subport->qsize[i-1]; From patchwork Thu Sep 9 18:10:45 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 98488 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6EC58A0547; Thu, 9 Sep 2021 20:12:15 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A37EE41173; Thu, 9 Sep 2021 20:11:19 +0200 (CEST) Received: from mail-pl1-f177.google.com (mail-pl1-f177.google.com [209.85.214.177]) by mails.dpdk.org (Postfix) with ESMTP id 1366041173 for ; Thu, 9 Sep 2021 20:11:19 +0200 (CEST) Received: by mail-pl1-f177.google.com with SMTP id j2so1618168pll.1 for ; Thu, 09 Sep 2021 11:11:19 -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=sqhquunZ06m8nQFnLGDHxz44R3tvFD0RB1qn/HZT5Hs=; b=Gl6sahmZPRsyTvFu9FSoZbwHvYm9RajM1y/ADm/1uRefk8IkiaRnciuLXmzFa5aiTW UXyS5+RZjimvd+fVrig5PFp1JGnZ/c3a1UjgPXPiamJG/eszTSqd+IXQvN92zxYVUNHU XEM5HwL+jG9Sgr81hVKKPNf0ztCB/mNfyne63mPUQe0TMLBtW9K6zcjO0BdsQbiOhFow dVzFWDI7ReIC/mk+PJThUcCnnYHEmhhzWXVwZ46mVL3lPC/V/B0PmY8mom/QyRyCLpXc Po15TwXrU5KuQHnLKl6ede+UDMclJ9M9hhnQjunMHZ9T5nb+7bEDkOxq/cUsVNFCxw7j dZrg== 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=sqhquunZ06m8nQFnLGDHxz44R3tvFD0RB1qn/HZT5Hs=; b=MuGsNVHbq4mMVVWvyzJ+6SqkKcVZgIrKxNJ2hFJvqBrYTL8JeaLAVHjjjlJjSp7vLA H9W1bZOx8MyQSOW4v1CEyoHzWqjLEzouedHKIun2WG/jVe4QmnF3YWBrNT0rrm5Ih7by pBsnZMbVa3ZmxeqHX7ku6BSP6InTBUc5bDqdbqMwt6DOgNs5afaqMUKfLNLLnBMx6KdH NkJQ1ovpxGuhbiaRbLqiBiloUBqkvdfOjNOHcTFEg6k/H1ceuF6tfnjPouzBWydJXrBr hjiXlTAtic4oheFk82Wji/H/GJxJwu25o/zBDU9AkX86IBn8SZXEaR2NeC4pnvR82+79 +IkQ== X-Gm-Message-State: AOAM531JYbrcpOIH1E7GXU01VjnsnLZJQLP3K35Avh1Takl+DqU05zer zuD7m6bZz4koBSmD2I+I/v/CokWiAJkh7w== X-Google-Smtp-Source: ABdhPJyXlIlqbmOpjwdJWMN3Hkdb9fqdcnmH2BZ+HuG27lCXEzX8jPWQ7uax9S9rDihn5OQH1jClsg== X-Received: by 2002:a17:90a:428e:: with SMTP id p14mr4974841pjg.229.1631211077958; Thu, 09 Sep 2021 11:11:17 -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.11.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Sep 2021 11:11:15 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Thu, 9 Sep 2021 11:10:45 -0700 Message-Id: <20210909181048.176255-16-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 Subject: [dpdk-dev] [PATCH v2 15/18] vhost: fix typo in comment 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" Yet another spelling error found by codespell. Signed-off-by: Stephen Hemminger --- lib/vhost/rte_vhost.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/vhost/rte_vhost.h b/lib/vhost/rte_vhost.h index 8d875e932297..c36dfc705b04 100644 --- a/lib/vhost/rte_vhost.h +++ b/lib/vhost/rte_vhost.h @@ -776,7 +776,7 @@ rte_vhost_get_vhost_ring_inflight(int vid, uint16_t vring_idx, /** * Set split inflight descriptor. * - * This function save descriptors that has been comsumed in available + * This function save descriptors that has been consumed in available * ring * * @param vid @@ -796,7 +796,7 @@ rte_vhost_set_inflight_desc_split(int vid, uint16_t vring_idx, /** * Set packed inflight descriptor and get corresponding inflight entry * - * This function save descriptors that has been comsumed + * This function save descriptors that has been consumed * * @param vid * vhost device ID From patchwork Thu Sep 9 18:10:46 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 98489 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id B1740A0547; Thu, 9 Sep 2021 20:12:21 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 21B01411AF; Thu, 9 Sep 2021 20:11:22 +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 C598B411AB for ; Thu, 9 Sep 2021 20:11:20 +0200 (CEST) Received: by mail-pj1-f41.google.com with SMTP id f3-20020a17090a638300b00199097ddf1aso2156123pjj.0 for ; Thu, 09 Sep 2021 11:11:20 -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=m0XeohiqRvVrKNeMF/7svmE71i8QeQrmnkfwNWJPj84=; b=sI2lqkhYRReba+yITJLvVypYXBq2JmGnS+4O1E+sMpi2IUjpwlVUkHr3KTzhBDDkfH p7qghkJm4POOZQuUqTDoBHRMKvBol6qhz+y+7Ietc6UqMxEfg5nv6rCCvnqp22uSmvDJ WnumygDhU4S/wWhIU3KkOHtLJWn9wMG4TRUkucpo0b9jKHohsVPP7l9yMyu7jwMaNylB k5eJrICHN4TqMx6uoePdU04THDbd0fLBm3MZKrr8oxeYsDJSBYBx8R21t5IlsmP7UnD2 l97GcaiKThbxsvPYP+970RNlaUqscvP4LGiKNUQV9RJwGq+mcKCAcmVU1YyniJn9VO9e 5asA== 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=m0XeohiqRvVrKNeMF/7svmE71i8QeQrmnkfwNWJPj84=; b=YjLjvc/a1uvj9GqRiaITS/R3Grche9VLAg3eRJo1OgA9oMvDn3g5dkb+hZS9ax71cr 4OGkU/Cnzg2CkTZ4rBZ5RYEVIHPxpWhn5CNkTay/f8HjjghaudOz1QvKouUfiEk6C2Dn IX08S9AqCHO8C+teRKGKW1eFeUdCrT6Hw/iemjrDGU6fjwFtGUNTiTb2NqeUpos11pZq wp9H5kLH80DDDFiI//rso2f9gsSbY2TDbANQ+3tzVeZ/ZFpe5ms7xsclRdSW6eo4vigU ERY2yAZK/YuyZvVKGgeOuGzyhqN9Sv63Zjvh5EiRVsNfTlhXq/QEe2EOt4l1PKxzJN6j QRyg== X-Gm-Message-State: AOAM532MeBcED2R6Zufv6vzcDT9UFYhLbQJdqeoEAgHqPJ97Ca2KRrbF Do07wCf1VS2nfJGqRiK+wLu4k2Z376OanQ== X-Google-Smtp-Source: ABdhPJwUooHZUiVYi8VcwT15Lcw7LLVDWJr4OU6sRTDdlVPJzwD2PxE0lWTpC5X3h6WHpcGFXVlQ6A== X-Received: by 2002:a17:902:9a49:b0:13a:430d:7e8b with SMTP id x9-20020a1709029a4900b0013a430d7e8bmr3838870plv.50.1631211079709; Thu, 09 Sep 2021 11:11:19 -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.11.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Sep 2021 11:11:18 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Thu, 9 Sep 2021 11:10:46 -0700 Message-Id: <20210909181048.176255-17-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 Subject: [dpdk-dev] [PATCH v2 16/18] ip_frag: fix typos 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" Minor typos in comment. Signed-off-by: Stephen Hemminger --- lib/ip_frag/rte_ipv4_reassembly.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ip_frag/rte_ipv4_reassembly.c b/lib/ip_frag/rte_ipv4_reassembly.c index 69666c8b8271..4a89a5f5365a 100644 --- a/lib/ip_frag/rte_ipv4_reassembly.c +++ b/lib/ip_frag/rte_ipv4_reassembly.c @@ -80,7 +80,7 @@ ipv4_frag_reassemble(struct ip_frag_pkt *fp) /* * Process new mbuf with fragment of IPV4 packet. - * Incoming mbuf should have it's l2_len/l3_len fields setuped correclty. + * Incoming mbuf should have it's l2_len/l3_len fields setup correctly. * @param tbl * Table where to lookup/add the fragmented packet. * @param mb From patchwork Thu Sep 9 18:10:47 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 98490 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id D9A90A0547; Thu, 9 Sep 2021 20:12:26 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3E74D411B4; Thu, 9 Sep 2021 20:11:23 +0200 (CEST) Received: from mail-pg1-f181.google.com (mail-pg1-f181.google.com [209.85.215.181]) by mails.dpdk.org (Postfix) with ESMTP id 2B7A6411B0 for ; Thu, 9 Sep 2021 20:11:22 +0200 (CEST) Received: by mail-pg1-f181.google.com with SMTP id w8so2623658pgf.5 for ; Thu, 09 Sep 2021 11:11:22 -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=EK1McEofPTlwgxP0zKgCyVBChGh3vg3HbLH37wWLjHk=; b=EaGTIK6pV2vf3owlI34u03uDFLSn5J4nMZSygKqpwbxG2uBxDXFKOuOPK6Q2TT2awH pgi9fdmVWPU0oWZrnJ8CFCGOCy8rO6NTbrQLtRQ6Musxz1GkhMzCT9xjXVibGJPrbqqr tKOxpbR8nMd4zQ20l2ILpHjzpbGxltoeCQj+gxfwuTWZjW3SaPAn6LoYZJn2qbEHqGKU umwrCAnIqqe6p1TeP1XjofP5oQJyL8bF4gwNOQDbggtxlENUeRrwg9qUHGlibpUq5dOo J5u/+w5Q60aLbNY8GPkp3XVMCkKVLdGcLhvasmhJeVdJuvP1iZHxuVAAwb1hSnGdZmGC iK7Q== 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=EK1McEofPTlwgxP0zKgCyVBChGh3vg3HbLH37wWLjHk=; b=R4HS0ZIb7hwzFo0kXh/jodMNG/z7KRIFL1e/RQfsDsDygmUWNolNXp5az7oUyOzoPF Qx9osELfwnA5hiuNIH17fdkUKZcPrcicVcDW42WdRhISGnmbVJkJst6alLY3o8dY3GBG 44kO7EwRgRjkUGDZ0Kdsoso5mGgyeASCCSBAAWK7QU27P8odyGauL2u5/VQPDeVjnUhT iEwtA8s/acf+WpIS62A201Bx+Hd9T1JiGWwsFflLTEgXXlSwonTpYYSDFvCwfWA0OFfa 9MZW97OR7DpB/xNkINLDkNKJnuPYJTpV7VVBX34ov+rONCCPJ+jDhv6d9QO2hLPchxCS 0TQg== X-Gm-Message-State: AOAM5315vvsv96UMO5gQX7Y3Xjo4/1okame0n294Azb/2+uYPjAr6w0U JSZxgYfHer1IgEtAUJgi+nXsT8qt7jrBKg== X-Google-Smtp-Source: ABdhPJyMhTBgmHkLo/sy6zdA3lwIP/t22BhIvIL1RHQ97nRJYXOBYJHVIM21VvPBWKCyvn80a1N1dQ== X-Received: by 2002:a65:648b:: with SMTP id e11mr3788926pgv.138.1631211080877; Thu, 09 Sep 2021 11:11:20 -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.11.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Sep 2021 11:11:20 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Thu, 9 Sep 2021 11:10:47 -0700 Message-Id: <20210909181048.176255-18-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 Subject: [dpdk-dev] [PATCH v2 17/18] test-pmd: fix spelling errors in comments 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" More typos Signed-off-by: Stephen Hemminger --- app/test-pmd/cmdline.c | 2 +- app/test-pmd/config.c | 4 ++-- app/test-pmd/icmpecho.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c index 82253bc75110..2628bd64dae6 100644 --- a/app/test-pmd/cmdline.c +++ b/app/test-pmd/cmdline.c @@ -3670,7 +3670,7 @@ parse_item_list(const char *str, const char *item_name, unsigned int max_items, return nb_item; /* - * Then, check that all values in the list are differents. + * Then, check that all values in the list are different. * No optimization here... */ for (i = 0; i < nb_item; i++) { diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c index 31d8ba1b913c..d274c6669d50 100644 --- a/app/test-pmd/config.c +++ b/app/test-pmd/config.c @@ -2777,7 +2777,7 @@ port_rss_reta_info(portid_t port_id, } /* - * Displays the RSS hash functions of a port, and, optionaly, the RSS hash + * Displays the RSS hash functions of a port, and, optionally, the RSS hash * key of the port. */ void @@ -4932,7 +4932,7 @@ mcast_addr_pool_remove(struct rte_port *port, uint32_t addr_idx) { port->mc_addr_nb--; if (addr_idx == port->mc_addr_nb) { - /* No need to recompact the set of multicast addressses. */ + /* No need to recompact the set of multicast addresses. */ if (port->mc_addr_nb == 0) { /* free the pool of multicast addresses. */ free(port->mc_addr_pool); diff --git a/app/test-pmd/icmpecho.c b/app/test-pmd/icmpecho.c index 8948f28eb5af..ebff5ac9794f 100644 --- a/app/test-pmd/icmpecho.c +++ b/app/test-pmd/icmpecho.c @@ -54,7 +54,7 @@ arp_op_name(uint16_t arp_op) default: break; } - return "Unkwown ARP op"; + return "Unknown ARP op"; } static const char * From patchwork Thu Sep 9 18:10:48 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 98491 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8992EA0547; Thu, 9 Sep 2021 20:12:31 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5E6CB411BA; Thu, 9 Sep 2021 20:11:25 +0200 (CEST) Received: from mail-pj1-f49.google.com (mail-pj1-f49.google.com [209.85.216.49]) by mails.dpdk.org (Postfix) with ESMTP id D3FFF411B7 for ; Thu, 9 Sep 2021 20:11:23 +0200 (CEST) Received: by mail-pj1-f49.google.com with SMTP id m21-20020a17090a859500b00197688449c4so2092727pjn.0 for ; Thu, 09 Sep 2021 11:11:23 -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=RuxH7+R1EQQz6lZyCECDU1VMis7AeI45gb3tHCPRxPA=; b=P9/Au/0OwZw5oyrAl1IPuH0Z7HOq1X1f3tU+b/57vuiJ0JikKeklcax9nvWBIzjjDb 5xNqEsH+XmGhtmCJJurUkctoF6ddZuZi7Hn2znCCsGTPS/elp5CWOzYyBz78w2DBjijS SoHMlqW8S7T41QKo7CdGl4W2w6S2ecfPC7jiME0j9/kMz3WSUgjQDxkRPAiVJNWKv5ak DoKUcTshd4E8WvK8uVdfnLyXYTYYTGcELOLAMHJZUSChGI/Xtn41HOMlMcvFznmS/UbI 6lA1iI9WNgRuvx0ppV9hAS6YEeFRAes/zrOste6ggEIOKAzxc743BJ8JjeyhBbfJEm96 ALJQ== 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=RuxH7+R1EQQz6lZyCECDU1VMis7AeI45gb3tHCPRxPA=; b=ZdPf5bl3Wy/qEQdLZxC8uZqN0B8lQupbnB80DeRf+Q2UynTNGky2F7rgTuiBeaOHkr 7z0JjfaLgEePUaOKO10Fb9Iuo5plnndWgWkbe7gPe5mUKootR4+GTcjo4tHyqC2V3CbH /PzSt1jHvru8zcqlFOyfdvIxoj9DH3sV4Fm5kGniHuj8VCJydqSJXN+jMiv1Y4sen1Zw 5vqcLPSwEQe/mGA3Q2VagBoXl5YgxBjfiuslc9kfJb7Ht+qRa+VX5gO1CXYzyyGtgXoX 6Z8YbXKEwYWH6/o8u79ExxcIaaDblTQB5gd2RtGAn+Hu0b1nL79Fsei+oFDhDZFi0cYy HX+A== X-Gm-Message-State: AOAM531Y730rCFAITEK2m4W0Qr9vJkfXPM+TBeEBiz15WGvsXOX5BysJ D2vuGQ8p8xfacHKlvKakUpLsr/ZYamXWuA== X-Google-Smtp-Source: ABdhPJxXuqYWBZCv2ortO4PPRzWKLQnbQ+FfSV5zZb8JunfWvlTfjfC8+AH5RdATbrMy7+v3wrO67Q== X-Received: by 2002:a17:902:f24b:b0:13a:5178:ef64 with SMTP id j11-20020a170902f24b00b0013a5178ef64mr4043771plc.14.1631211082554; Thu, 09 Sep 2021 11:11:22 -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.11.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Sep 2021 11:11:21 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Thu, 9 Sep 2021 11:10:48 -0700 Message-Id: <20210909181048.176255-19-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 Subject: [dpdk-dev] [PATCH v2 18/18] test: fix spelling errors in comments 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. Signed-off-by: Stephen Hemminger --- app/test/test_atomic.c | 2 +- app/test/test_barrier.c | 2 +- app/test/test_bpf.c | 2 +- app/test/test_compressdev.c | 2 +- app/test/test_func_reentrancy.c | 6 +++--- app/test/test_ipsec.c | 2 +- app/test/test_link_bonding.c | 2 +- app/test/test_lpm.c | 6 +++--- app/test/test_lpm6.c | 14 +++++++------- app/test/test_malloc.c | 4 ++-- app/test/test_mbuf.c | 2 +- app/test/test_mempool.c | 2 +- app/test/test_mempool_perf.c | 2 +- app/test/test_meter.c | 6 +++--- app/test/test_pmd_perf.c | 2 +- app/test/test_timer.c | 2 +- 16 files changed, 29 insertions(+), 29 deletions(-) diff --git a/app/test/test_atomic.c b/app/test/test_atomic.c index f10f555af8b4..7dfa10a70102 100644 --- a/app/test/test_atomic.c +++ b/app/test/test_atomic.c @@ -88,7 +88,7 @@ * * - Invoke ``test_atomic_exchange`` on each lcore. Before doing * anything else, the cores wait for a synchronization event. - * Each core then does the follwoing for N iterations: + * Each core then does the following for N iterations: * * Generate a new token with a data integrity check * Exchange the new token for previously generated token diff --git a/app/test/test_barrier.c b/app/test/test_barrier.c index c27f8a0742f2..8fa93c00329a 100644 --- a/app/test/test_barrier.c +++ b/app/test/test_barrier.c @@ -66,7 +66,7 @@ struct plock_test { struct lcore_plock_test { struct plock_test *pt[2]; /* shared, lock-protected data */ uint64_t sum[2]; /* local copy of the shared data */ - uint64_t iter; /* number of iterations to perfom */ + uint64_t iter; /* number of iterations to perform */ uint32_t lc; /* given lcore id */ }; diff --git a/app/test/test_bpf.c b/app/test/test_bpf.c index 527c06b80708..cf6e022f7a92 100644 --- a/app/test/test_bpf.c +++ b/app/test/test_bpf.c @@ -2391,7 +2391,7 @@ static const struct ebpf_insn test_call5_prog[] = { }, }; -/* String comparision impelementation, return 0 if equal else difference */ +/* String comparison implementation, return 0 if equal else difference */ static uint32_t dummy_func5(const char *s1, const char *s2) { diff --git a/app/test/test_compressdev.c b/app/test/test_compressdev.c index 0571c17ecb8d..a7d04c02c6dd 100644 --- a/app/test/test_compressdev.c +++ b/app/test/test_compressdev.c @@ -2035,7 +2035,7 @@ test_deflate_comp_decomp(const struct interim_data_params *int_data, test_priv_data.all_decomp_data = &all_decomp_data; test_priv_data.decomp_produced_data_size = &decomp_produced_data_size; - test_priv_data.num_priv_xforms = 0; /* it's used for deompression only */ + test_priv_data.num_priv_xforms = 0; /* it's used for decompression only */ capa = rte_compressdev_capability_get(0, RTE_COMP_ALGO_DEFLATE); if (capa == NULL) { diff --git a/app/test/test_func_reentrancy.c b/app/test/test_func_reentrancy.c index 231c99a9ebc5..69ff421b1824 100644 --- a/app/test/test_func_reentrancy.c +++ b/app/test/test_func_reentrancy.c @@ -242,7 +242,7 @@ hash_create_free(__rte_unused void *arg) rte_atomic32_inc(&obj_count); } - /* create mutiple times simultaneously */ + /* create multiple times simultaneously */ for (i = 0; i < MAX_ITER_MULTI; i++) { snprintf(hash_name, sizeof(hash_name), "fr_test_%d_%d", lcore_self, i); hash_params.name = hash_name; @@ -306,7 +306,7 @@ fbk_create_free(__rte_unused void *arg) rte_atomic32_inc(&obj_count); } - /* create mutiple fbk tables simultaneously */ + /* create multiple fbk tables simultaneously */ for (i = 0; i < MAX_ITER_MULTI; i++) { snprintf(fbk_name, sizeof(fbk_name), "fr_test_%d_%d", lcore_self, i); fbk_params.name = fbk_name; @@ -368,7 +368,7 @@ lpm_create_free(__rte_unused void *arg) rte_atomic32_inc(&obj_count); } - /* create mutiple fbk tables simultaneously */ + /* create multiple fbk tables simultaneously */ for (i = 0; i < MAX_LPM_ITER_TIMES; i++) { snprintf(lpm_name, sizeof(lpm_name), "fr_test_%d_%d", lcore_self, i); lpm = rte_lpm_create(lpm_name, SOCKET_ID_ANY, &config); diff --git a/app/test/test_ipsec.c b/app/test/test_ipsec.c index fb90130ae23b..f421ce45795b 100644 --- a/app/test/test_ipsec.c +++ b/app/test/test_ipsec.c @@ -654,7 +654,7 @@ create_crypto_session(struct ipsec_unitest_params *ut, if (s == NULL) return -ENOMEM; - /* initiliaze SA crypto session for device */ + /* initialize SA crypto session for device */ rc = rte_cryptodev_sym_session_init(dev_id, s, ut->crypto_xforms, qp->mp_session_private); if (rc == 0) { diff --git a/app/test/test_link_bonding.c b/app/test/test_link_bonding.c index 8a5c8310a8b4..fd246725096c 100644 --- a/app/test/test_link_bonding.c +++ b/app/test/test_link_bonding.c @@ -3041,7 +3041,7 @@ test_balance_tx_burst_slave_tx_fail(void) first_tx_fail_idx = TEST_BAL_SLAVE_TX_FAIL_BURST_SIZE_1 - TEST_BAL_SLAVE_TX_FAIL_PACKETS_COUNT; - /* copy mbuf referneces for expected transmission failures */ + /* copy mbuf references for expected transmission failures */ for (i = 0; i < TEST_BAL_SLAVE_TX_FAIL_PACKETS_COUNT; i++) expected_fail_pkts[i] = pkts_burst_1[i + first_tx_fail_idx]; diff --git a/app/test/test_lpm.c b/app/test/test_lpm.c index 556f5a67baf1..37b460af3a96 100644 --- a/app/test/test_lpm.c +++ b/app/test/test_lpm.c @@ -179,7 +179,7 @@ test3(void) status = rte_lpm_add(NULL, ip, depth, next_hop); TEST_LPM_ASSERT(status < 0); - /*Create vaild lpm to use in rest of test. */ + /*Create valid lpm to use in rest of test. */ lpm = rte_lpm_create(__func__, SOCKET_ID_ANY, &config); TEST_LPM_ASSERT(lpm != NULL); @@ -217,7 +217,7 @@ test4(void) status = rte_lpm_delete(NULL, ip, depth); TEST_LPM_ASSERT(status < 0); - /*Create vaild lpm to use in rest of test. */ + /*Create valid lpm to use in rest of test. */ lpm = rte_lpm_create(__func__, SOCKET_ID_ANY, &config); TEST_LPM_ASSERT(lpm != NULL); @@ -255,7 +255,7 @@ test5(void) status = rte_lpm_lookup(NULL, ip, &next_hop_return); TEST_LPM_ASSERT(status < 0); - /*Create vaild lpm to use in rest of test. */ + /*Create valid lpm to use in rest of test. */ lpm = rte_lpm_create(__func__, SOCKET_ID_ANY, &config); TEST_LPM_ASSERT(lpm != NULL); diff --git a/app/test/test_lpm6.c b/app/test/test_lpm6.c index 0d664546fa47..17221f992aee 100644 --- a/app/test/test_lpm6.c +++ b/app/test/test_lpm6.c @@ -261,7 +261,7 @@ test4(void) status = rte_lpm6_add(NULL, ip, depth, next_hop); TEST_LPM_ASSERT(status < 0); - /*Create vaild lpm to use in rest of test. */ + /*Create valid lpm to use in rest of test. */ lpm = rte_lpm6_create(__func__, SOCKET_ID_ANY, &config); TEST_LPM_ASSERT(lpm != NULL); @@ -299,7 +299,7 @@ test5(void) status = rte_lpm6_delete(NULL, ip, depth); TEST_LPM_ASSERT(status < 0); - /*Create vaild lpm to use in rest of test. */ + /*Create valid lpm to use in rest of test. */ lpm = rte_lpm6_create(__func__, SOCKET_ID_ANY, &config); TEST_LPM_ASSERT(lpm != NULL); @@ -337,7 +337,7 @@ test6(void) status = rte_lpm6_lookup(NULL, ip, &next_hop_return); TEST_LPM_ASSERT(status < 0); - /*Create vaild lpm to use in rest of test. */ + /*Create valid lpm to use in rest of test. */ lpm = rte_lpm6_create(__func__, SOCKET_ID_ANY, &config); TEST_LPM_ASSERT(lpm != NULL); @@ -375,7 +375,7 @@ test7(void) status = rte_lpm6_lookup_bulk_func(NULL, ip, next_hop_return, 10); TEST_LPM_ASSERT(status < 0); - /*Create vaild lpm to use in rest of test. */ + /*Create valid lpm to use in rest of test. */ lpm = rte_lpm6_create(__func__, SOCKET_ID_ANY, &config); TEST_LPM_ASSERT(lpm != NULL); @@ -413,7 +413,7 @@ test8(void) status = rte_lpm6_delete_bulk_func(NULL, ip, depth, 10); TEST_LPM_ASSERT(status < 0); - /*Create vaild lpm to use in rest of test. */ + /*Create valid lpm to use in rest of test. */ lpm = rte_lpm6_create(__func__, SOCKET_ID_ANY, &config); TEST_LPM_ASSERT(lpm != NULL); @@ -433,7 +433,7 @@ test8(void) /* * Call add, lookup and delete for a single rule with depth < 24. * Check all the combinations for the first three bytes that result in a hit. - * Delete the rule and check that the same test returs a miss. + * Delete the rule and check that the same test returns a miss. */ int32_t test9(void) @@ -1738,7 +1738,7 @@ test27(void) * Call add, lookup and delete for a single rule with maximum 21bit next_hop * size. * Check that next_hop returned from lookup is equal to provisioned value. - * Delete the rule and check that the same test returs a miss. + * Delete the rule and check that the same test returns a miss. */ int32_t test28(void) diff --git a/app/test/test_malloc.c b/app/test/test_malloc.c index afff0de9f05a..6d9249f831be 100644 --- a/app/test/test_malloc.c +++ b/app/test/test_malloc.c @@ -603,7 +603,7 @@ test_realloc_numa(void) } } - /* Print warnign if only a single socket, but don't fail the test */ + /* Print warning if only a single socket, but don't fail the test */ if (socket_count < 2) printf("WARNING: realloc_socket test needs memory on multiple sockets!\n"); @@ -971,7 +971,7 @@ test_alloc_socket(void) } } - /* Print warnign if only a single socket, but don't fail the test */ + /* Print warning if only a single socket, but don't fail the test */ if (socket_count < 2) { printf("WARNING: alloc_socket test needs memory on multiple sockets!\n"); } diff --git a/app/test/test_mbuf.c b/app/test/test_mbuf.c index 9a248dfaea70..167c0938b633 100644 --- a/app/test/test_mbuf.c +++ b/app/test/test_mbuf.c @@ -1148,7 +1148,7 @@ test_refcnt_mbuf(void) rte_eal_mp_wait_lcore(); - /* check that we porcessed all references */ + /* check that we processed all references */ tref = 0; main_lcore = rte_get_main_lcore(); diff --git a/app/test/test_mempool.c b/app/test/test_mempool.c index 7675a3e605fb..5b559a04d142 100644 --- a/app/test/test_mempool.c +++ b/app/test/test_mempool.c @@ -628,7 +628,7 @@ test_mempool(void) if (test_mempool_basic_ex(mp_nocache) < 0) GOTO_ERR(ret, err); - /* mempool operation test based on single producer and single comsumer */ + /* mempool operation test based on single producer and single consumer */ if (test_mempool_sp_sc() < 0) GOTO_ERR(ret, err); diff --git a/app/test/test_mempool_perf.c b/app/test/test_mempool_perf.c index 8f629736e8fd..87ad25136796 100644 --- a/app/test/test_mempool_perf.c +++ b/app/test/test_mempool_perf.c @@ -88,7 +88,7 @@ static uint32_t synchro; static unsigned n_get_bulk; static unsigned n_put_bulk; -/* number of objects retrived from mempool before putting them back */ +/* number of objects retrieved from mempool before putting them back */ static unsigned n_keep; /* number of enqueues / dequeues */ diff --git a/app/test/test_meter.c b/app/test/test_meter.c index f6fe6494ab63..15d5a4839b4b 100644 --- a/app/test/test_meter.c +++ b/app/test/test_meter.c @@ -444,7 +444,7 @@ tm_test_srtcm_color_aware_check(void) * if using blind check */ - /* previouly have a green, test points should keep unchanged */ + /* previously have a green, test points should keep unchanged */ in[0] = in[1] = in[2] = in[3] = RTE_COLOR_GREEN; out[0] = RTE_COLOR_GREEN; out[1] = RTE_COLOR_YELLOW; @@ -551,7 +551,7 @@ tm_test_trtcm_color_aware_check(void) * if using blind check */ - /* previouly have a green, test points should keep unchanged */ + /* previously have a green, test points should keep unchanged */ in[0] = in[1] = in[2] = in[3] = RTE_COLOR_GREEN; out[0] = RTE_COLOR_GREEN; out[1] = RTE_COLOR_YELLOW; @@ -648,7 +648,7 @@ tm_test_trtcm_rfc4115_color_aware_check(void) * if using blind check */ - /* previouly have a green, test points should keep unchanged */ + /* previously have a green, test points should keep unchanged */ in[0] = in[1] = in[2] = in[3] = RTE_COLOR_GREEN; out[0] = RTE_COLOR_GREEN; out[1] = RTE_COLOR_YELLOW; diff --git a/app/test/test_pmd_perf.c b/app/test/test_pmd_perf.c index 3a248d512c4a..1ef844ba7568 100644 --- a/app/test/test_pmd_perf.c +++ b/app/test/test_pmd_perf.c @@ -753,7 +753,7 @@ test_pmd_perf(void) "rte_eth_dev_start: err=%d, port=%d\n", ret, portid); - /* always eanble promiscuous */ + /* always enable promiscuous */ ret = rte_eth_promiscuous_enable(portid); if (ret != 0) rte_exit(EXIT_FAILURE, diff --git a/app/test/test_timer.c b/app/test/test_timer.c index a10b2fe9daf4..631b737d169d 100644 --- a/app/test/test_timer.c +++ b/app/test/test_timer.c @@ -432,7 +432,7 @@ timer_basic_cb(struct rte_timer *tim, void *arg) return; } - /* Explicitelly stop timer 0. Once stop() called, we can even + /* Explicitly stop timer 0. Once stop() called, we can even * erase the content of the structure: it is not referenced * anymore by any code (in case of dynamic structure, it can * be freed) */