From patchwork Thu Sep 9 17:56: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: 98451 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 A013EA0547; Thu, 9 Sep 2021 19:56:58 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BDB4141123; Thu, 9 Sep 2021 19:56:56 +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 5A5D54111F for ; Thu, 9 Sep 2021 19:56:54 +0200 (CEST) Received: by mail-pf1-f176.google.com with SMTP id x7so2427758pfa.8 for ; Thu, 09 Sep 2021 10:56:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=oM1TTjSMSkZ1Mr8zZJv182ey2qNRtTrUK/hPF9rcDfc=; b=uLq6HIDi5gUoby+aI54T8/plMmGqZeL3ljJUwblP4x6USWePB8/jNvjE6Cd0jmL4rX MuU8Bg0AC/XDDJOsaNcy2n7Jw61LCf0jSxPGI5w6ROQXoyzH1FNwOrWrnOOXUu9tdtey F1vK9POVnikmjbwwbebe7yr/o2OddQygHqWPs4YINU/VKjejbbR3bqRLuEZCw2+bWGMl IsqhIucnkyltDJi8iwqyZH8GOMedLxtfhjJP/apQIQTGxodsz05HmMkEjlAQBW3XCjX8 5QDY3oZBDMxgAEftiudURrWSk5zrSqCvB2rDhHZdAzaTANUgLSZKyow6YTpt4AFq/Rz4 xHSg== 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=5bGnskf3FVFZagRqJl/PNy9bq4/2Uc6T6rhbFMwR2y0CJ8nYyJYEfx4LnNWjflv0hz QKx9B4+5f3/0AYdQNcB1wLLduwNE5uRLT3bE516xUM6E2KuWs6855XDxXKRcvlxA6UAc pQeDLE2hkrcEiygULbXdloEmq/qf9dWNE0kj4SYyI9mXoHNj4mkIpKaaJYpjywt76f3U N1FOkY/xXCJdE9uIV2KAjZoiPiNqtR42+QLsQvF3sUMWDaEkTL8w0dEguLcssLmOoTna r7JCMu2gRWvXBXd7S2ju347caNcTqpV2KkpESIp2U8kjx8EPZeYKAZZtGphh3Nfv/kCJ UISw== X-Gm-Message-State: AOAM530Q1T5PQbXjENI2rvILcaQwSpJeK3jfA92jAN7OuaKkH0WUYTVT Wq5FqgWtMJI2OejGtwbVCJn91TK3SOBueQ== X-Google-Smtp-Source: ABdhPJxH11KZvFcypmtR0iDdbeyehxI9JwkBRh3/AI8LNGv0CXmSozn+C48bzacNj6ignxwVB8BXmw== X-Received: by 2002:aa7:8199:0:b0:3fc:ae11:badd with SMTP id g25-20020aa78199000000b003fcae11baddmr4291219pfi.12.1631210212949; Thu, 09 Sep 2021 10:56:52 -0700 (PDT) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id v25sm2772977pfm.202.2021.09.09.10.56.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Sep 2021 10:56:51 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Thu, 9 Sep 2021 10:56:31 -0700 Message-Id: <20210909175648.174258-2-stephen@networkplumber.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210909175648.174258-1-stephen@networkplumber.org> References: <20210909175648.174258-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 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 17:56: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: 98452 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 0444CA0547; Thu, 9 Sep 2021 19:57:04 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DE0D641136; Thu, 9 Sep 2021 19:56:57 +0200 (CEST) Received: from mail-pj1-f44.google.com (mail-pj1-f44.google.com [209.85.216.44]) by mails.dpdk.org (Postfix) with ESMTP id F311241122 for ; Thu, 9 Sep 2021 19:56:55 +0200 (CEST) Received: by mail-pj1-f44.google.com with SMTP id f3-20020a17090a638300b00199097ddf1aso2128120pjj.0 for ; Thu, 09 Sep 2021 10:56: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=HWeHOeUVLvJbiFHSQQTvbjSQGVceAD63Q3wuqwMzCacWZqB7xf2PTJUTfSyYrR1e6F IKnWtOt8dyUJYZmyOi3X9OkJbbAzk+Iuept3NgnBBqkiMwWevanjfeqQBuj9L6sriauU tV0e3jvhWkwxC9wb+OYJ5E1cJ6dXpsg3O/SHNrrmAwXMoh96kVRvYx8nVEPfB6JR4ltZ m75tKMt1YX/oaGZYdsWuDrKTnO2JvbyEBRez/dM33D4iAis/Er47OWB3OFQqbe0GODyd OR1K8Kwa4U2tINQR5L8r2QdyHCtIVlOBlcqx7gn1xMkwBh/XuHaSW1ScU49VssGAm5dt EXHw== 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=kDhJYFoTPtEtq2qLeHbaW9+nYhmd0YQQvmeQCts781nguHUCPWmtXgbdusnHdvmnoB g2av/ElV/mAenj7Cp4pT96eqVfz8YnQ6CX71pI5vp7dzG+kiiIueEc5HYvhX7d2TJP/m sO1OOKLkbZVphnnRIBFDgABHt7WbktpglRERZZWlHwAtxvtP78hazwBVhp0d1/NV0Ub+ xZIXG7uoEAFY3pbE16xu4sIGiqW790A2u8BPqWvnwjnryl4tV5i3Ey4yRT+u/2BEp1yc ksRKpyBLHvpZKTzLpltnHEbVCt1cC6oqjhKoPHoRv2jdVKlCGy8bOZ1fYBLIeB0tx0Jc 8wQQ== X-Gm-Message-State: AOAM531nvM/JaDEwlqQLiWSfCbbXBnaT1dgDE8Bls0gE1ngn9udYJlm5 zc+Qop8EmilGWTEnwQguegnm7Fz0WLgcUQ== X-Google-Smtp-Source: ABdhPJxuK0wQPC3R8m0OXzDlq6sGpkT+/Xb8Wee6eEdeKlcktKwkd91iA2cArHYtDmt30jRHy+pKuQ== X-Received: by 2002:a17:902:ab52:b0:12d:92b8:60c7 with SMTP id ij18-20020a170902ab5200b0012d92b860c7mr3722244plb.44.1631210214802; Thu, 09 Sep 2021 10:56:54 -0700 (PDT) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id v25sm2772977pfm.202.2021.09.09.10.56.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Sep 2021 10:56:53 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Thu, 9 Sep 2021 10:56:32 -0700 Message-Id: <20210909175648.174258-3-stephen@networkplumber.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210909175648.174258-1-stephen@networkplumber.org> References: <20210909175648.174258-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 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 17:56: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: 98453 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 7225DA0547; Thu, 9 Sep 2021 19:57:09 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0866A4113D; Thu, 9 Sep 2021 19:56:59 +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 3531C4112E for ; Thu, 9 Sep 2021 19:56:57 +0200 (CEST) Received: by mail-pg1-f170.google.com with SMTP id u18so2610483pgf.0 for ; Thu, 09 Sep 2021 10:56: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=Y25iWHqn41cma0pni3agsyZA7pW28pv1+XV5OeogKUo=; b=PemWYA4XyP60EWCbMG8m+wD37MYX5rB65XpFmfz+E0HO3U5ohXsDU0FrDByW+ShqzX ri7jeiGjAQJOYONd8px5H5tLh3E6bTQ8p8G2tnVLEEf3Rm0nG9WZHFiYpoLWLmtP7uic 2MXFz1so7P7KMePXiB+gKWl4+IZrwXjKNfpffWWFnRRVPnzdOnP5DTI2s7SueiRYka+v yt8x3iZE6Jl+AIENZh+Kf9li8wSkV0aTFH5KMbRbBes2BpiHFUv8en2ssTsfm/NfqhBB 8QIh+DB+7wc7GRiNZN+6F9Jo74JwV/X+bLUuo5PIeAJ17WFB4YKf2IKTBN+LUcgKjy6J qW0w== 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=ltXM7Ob+yhAnax8XpzuTOW4L9+Qq1fIfNnkTEwbtJTcX12VlUsQ+HDU0DNr+r5YbTA Z1z7uy0qv7o/EpP+yEipPNxTYdQxvMvfUXHW4AEFdh+e0vDtQk38B/6HvRe+0wU80GEA KMcJKFMpW5ni00iwLndK5GIMny6xWK+35T1Jc/yGXJtDAAsrQc72I1ubjM5QUA+fUn4N 3KDET8oAdck9D7wqMTGlcLqPPUr+AaGMR4QFOcdSo/toK0F4H9+FfBRgYmbqMrANjYMn mVG7rbzGJtcdyp/9Qz4F2pqLEWuXFGLVX/1JW7P/ZgF5pdjMOCjSBDNgdITfJbBceJEf t2wg== X-Gm-Message-State: AOAM532OojpHWldY9K//E2nLkzGoq56OBFTkfe2sZSVyQWjGxL6jU6T1 Mh+IrhUCcU7YDGU/9Ajs2BTpiObY+5KGfg== X-Google-Smtp-Source: ABdhPJzoKR2cjewNXpAnWJJyRklXIDmtDg9Fk4NHrL4sOpfaIt/hhvM4LHp8zWNKS28sDlE8JG4z/w== X-Received: by 2002:a63:9d44:: with SMTP id i65mr3726262pgd.69.1631210216079; Thu, 09 Sep 2021 10:56:56 -0700 (PDT) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id v25sm2772977pfm.202.2021.09.09.10.56.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Sep 2021 10:56:55 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Thu, 9 Sep 2021 10:56:33 -0700 Message-Id: <20210909175648.174258-4-stephen@networkplumber.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210909175648.174258-1-stephen@networkplumber.org> References: <20210909175648.174258-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 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 17:56: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: 98454 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 06498A0547; Thu, 9 Sep 2021 19:57:16 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7936E4114E; Thu, 9 Sep 2021 19:57:00 +0200 (CEST) Received: from mail-pl1-f169.google.com (mail-pl1-f169.google.com [209.85.214.169]) by mails.dpdk.org (Postfix) with ESMTP id 0AC8B41141 for ; Thu, 9 Sep 2021 19:56:59 +0200 (CEST) Received: by mail-pl1-f169.google.com with SMTP id v1so1572456plo.10 for ; Thu, 09 Sep 2021 10:56:58 -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=KIP5jgy1teH9gDXnusmIMb7ZMgaTdGTDiMdiKDFnpqortu/bBEmnwulCRDk1i2FeGO /Wa9BrLwaR6YX7elWr3s8KZr0yUY+ulmTQniXV1TF7KG3iy/Ic0i3lDJ4ptFHohdfSiO vquoXy3Q2IOdCHatRJ846q0bUGAU0Tiq6y+57nx53bXMXXYLEpTdU7eOhycF5+syy3tF +ezwy8OBqpUtO577OhRomZJ/iX8+qmoNgEnSJcGxfCU87GPB0XY4Edlp/mRfdYv9L1U7 z1wUMwVwzozNDNCzSnQXPEwFH5rvRwpvMYV5a6Lf1hHMGEyVAyeijCvSqSPWK22V6z7J J4Sw== 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=1oTh5dJTMGlxxBu4j04rIxdJarLU4DuWt2DOhjt6Wdld+mM6dT+3vsERvFTH9nnhT7 b0j9MDNsWinT1wLs48Q7lihDElJq4kGam1f92G2ZvIgeQFOLgFIh/2t15YF6Tmf1k1np bKsZX3lJ6x5XcFihfGOkUMFw9c0k9nPBoSeVLLjoagQhIMjpxLCQlFpPHxxyZ48JlXsJ ecL56ZU9IgwB2o96eqSt8Y7uCKS3/qsXbsQzIbxx5WINUVAh5XDxTyZrOVJSjsu3hJHe WgwqDrNmQdNLD2Ai/WufYtrK/3eB3Je+1/AtsgoWC4rTYk7tGGxfTw/wRZtPmxghk0yw mpsw== X-Gm-Message-State: AOAM5322ixBDdAlPsp9qMsKZpSqSdoXmsIZE0vxNwl4flLhFkE/boEPI H6xC0ZlEsp+jSwt7APcMzeLfknD9ixpVVQ== X-Google-Smtp-Source: ABdhPJwsa6kFGLudl2vvayLjeEo7am3UXXsZ8wacClEo+gor4n+dX72Fj9jDxF4WrhYUKbnYOhWF7Q== X-Received: by 2002:a17:90b:710:: with SMTP id s16mr4842153pjz.56.1631210217820; Thu, 09 Sep 2021 10:56:57 -0700 (PDT) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id v25sm2772977pfm.202.2021.09.09.10.56.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Sep 2021 10:56:56 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Thu, 9 Sep 2021 10:56:34 -0700 Message-Id: <20210909175648.174258-5-stephen@networkplumber.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210909175648.174258-1-stephen@networkplumber.org> References: <20210909175648.174258-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 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 17:56: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: 98455 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 3DD8FA0547; Thu, 9 Sep 2021 19:57:21 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B32A8410F7; Thu, 9 Sep 2021 19:57:02 +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 E49C541152 for ; Thu, 9 Sep 2021 19:57:00 +0200 (CEST) Received: by mail-pg1-f172.google.com with SMTP id 17so2587870pgp.4 for ; Thu, 09 Sep 2021 10:57: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=qUKZ3Rq9RXYtpkw2EnMRk9lZN9bGLGbcKMlOiCCAsctx2L37l/gEVRlsVAhmhilKwc sPqzDf1kWstsLO2jS3MOEuldYzBkTvOfdmumkiN24Ao78wHl/HRNtD9rvxxZ6vCGs1ab Zt4+MugxV33boYrMuffSOABVtPAnAXSjzj/Q6sykgUL9hTPz1jM6fZ2xb6HdFXjxZser jdz+u8IXW3sBqfrYQecSXPBhopfHcedkxQqcncBZ/DjwzeORnRDiGVRicqz1Z/IDIFn0 B5DCKYGPefWBqOs6MpuTnAlR961gypQxMEaRnK8dvg7g726r18oGl1qrRGhmiK2ataAm Ax9Q== 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=e43WNKBNOPFrP0NOA6ExWPLIYbmnx1shehiHpyzBUHpbsyWavuPFl9kknkME1DoBw/ tEqAKQwKcQOTTBXBbp78JmF7NXfgE8wkQUCVel5Kg7DbPydzq2hioXh8kvNqLVoaMg1j gZPTp6xAc5g9rTKQ9VB0jqnLBaFKofZKHmdsEZ84pgm88UrAYWvO7fz08bY7yQksy0sE O2onTnxup8sRuMSKCrZch/Ml/vy5DdpEQptSMcIBfmvNtbcjg6V35bFtC9TawaKzg9az p5zzL/l3var4bnFuxdsGz4EQS4TVXVowVeHojeidRIls6SUc2/KVSaX5bQBnbW5ENUIJ SlTQ== X-Gm-Message-State: AOAM530o2oyP7yvGD9Do31FgrH7Cjxxe8fuf5TcNQj0qRwvZbp62U9lW 0WLrU3odx3pHlf84kdZpVS4GZJLXesreSA== X-Google-Smtp-Source: ABdhPJy4pA8lbsXk5/ZSJzUETV9GBsBNY5rs8LGXu3CBYJ9ClxYMoojJ7y1k7J3a7S53iX57RLdWMA== X-Received: by 2002:a62:ee12:0:b0:412:444e:f5ff with SMTP id e18-20020a62ee12000000b00412444ef5ffmr4299510pfi.82.1631210219787; Thu, 09 Sep 2021 10:56:59 -0700 (PDT) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id v25sm2772977pfm.202.2021.09.09.10.56.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Sep 2021 10:56:58 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Thu, 9 Sep 2021 10:56:35 -0700 Message-Id: <20210909175648.174258-6-stephen@networkplumber.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210909175648.174258-1-stephen@networkplumber.org> References: <20210909175648.174258-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 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 17:56: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: 98456 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 C2E1DA0547; Thu, 9 Sep 2021 19:57:26 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 049DA41159; Thu, 9 Sep 2021 19:57:05 +0200 (CEST) Received: from mail-pj1-f46.google.com (mail-pj1-f46.google.com [209.85.216.46]) by mails.dpdk.org (Postfix) with ESMTP id 3777B41148 for ; Thu, 9 Sep 2021 19:57:02 +0200 (CEST) Received: by mail-pj1-f46.google.com with SMTP id f3-20020a17090a638300b00199097ddf1aso2128297pjj.0 for ; Thu, 09 Sep 2021 10:57: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=fPv+GhPznslgh4gJZBVqWufH/JdpZN87BkttE27wtcR+uvwDo1XlUQJ2GW9iAhl7En 5vJ+lo7GvHLgMuLyxXZ8Zw2HLDfeXavnJKlExBjclZk6cdC4cABQYKOZDBo/ExxCyNNu TQvQTzWondSriugDEEvEOw+tcKQeSoxoKbPDnK0F9SSMz7SVRbfuTIDL/3gJP4LO7Qi5 RwkF25Pm6orIJc9qGR2ybrMh8F5dbiOoEsqPbWLYuRMisYLhbHnLJjzy0HNxqXijgVSe 07e7B/Lo8o3FZZGOnXYh1hfXK8k+WM6hwrhBotRvJlhLoXYhI+pCchSuSoo5O5yiUYJp NZ6A== 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=LbRzh59DEkVw+u8fhwWBZ1S9v9kUTnFvKnWcKPKvl5/A/uv0sDuKxHHm3Tcsccm/iN wacsjGWQdVFVBhy1lTyY+tWNPWKgCVGbA5LRivEuMBB/VwdGny8Xe7/5+O+4Zi9ye3PB hfz9iVaduZQfp2ctmeBd+bMAzq9SzuajNQUcpiQb/kXL3XTl1E0/IoFsvW2JcQeMk3pi FOX6qzJY2okyIg/LOu3dXG/q20IeZYIIAsZxD4WZd1J/jEvZotHzwXCnhQ69YkCvoHpj ABpEUGPlQt3iaG4wEPLudSZ4UdQqjLz1TMuq4YcjCQBlL24JnNlXd27vxThiZ9R7KP+X DI/w== X-Gm-Message-State: AOAM533rX2WrB7kLJbhtdeBvd4We0xVgoIlD3WCFEkaT39pVb7/zotIp ldibIVCSUSVP6eAomtGVBhlKvbLX9bEefA== X-Google-Smtp-Source: ABdhPJynl+xMlmPkWCsVF5ImITZWZkFvZ2QMkTuAcH34NfS92U7nyqRABUOLs0OXNCVnKhTeUVB61w== X-Received: by 2002:a17:90a:bb82:: with SMTP id v2mr4879130pjr.125.1631210221016; Thu, 09 Sep 2021 10:57:01 -0700 (PDT) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id v25sm2772977pfm.202.2021.09.09.10.56.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Sep 2021 10:57:00 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Thu, 9 Sep 2021 10:56:36 -0700 Message-Id: <20210909175648.174258-7-stephen@networkplumber.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210909175648.174258-1-stephen@networkplumber.org> References: <20210909175648.174258-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 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 17:56: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: 98457 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 580ADA0547; Thu, 9 Sep 2021 19:57:32 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1588F4115F; Thu, 9 Sep 2021 19:57:06 +0200 (CEST) Received: from mail-pj1-f47.google.com (mail-pj1-f47.google.com [209.85.216.47]) by mails.dpdk.org (Postfix) with ESMTP id 5D26241157 for ; Thu, 9 Sep 2021 19:57:03 +0200 (CEST) Received: by mail-pj1-f47.google.com with SMTP id rj12-20020a17090b3e8c00b001991428ded8so1538721pjb.1 for ; Thu, 09 Sep 2021 10:57: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=zYsUCFaZhU89tInGo8y1LKNy2BpZos3dpvdk67LnGxmwK6mAdCfrdXC7v4lwpTCCuy 1Nfko3zgOtBcDQkOus3mx9oyYYgnUw1QCqycL1yiifWf/fZYNHjd92krTGZvW5rqeAvo FHxx7rMG5db17G3lOCMGomn1l/adIYNj46fL9uA0AEgjIZqyu/iw9vRnGIQKFF42lyNR +4arJzX6UvrKpaiCV+kk4VXMERpqC6YvS79smdW9oHiMQv6l15/MVfx7p/bhSAL92hYb 7OB0TjnaYWcMqKMuGRbNobis95Wkgh1R2LwWILaSb1tYxWkODWvogFb1bqsNxKAonGBM zXcw== 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=3B2frXVy+/T+UglQ05cpEKF2wNKZmAsqlqGcxRjPsfVPIDCsmG0GQ7uLGlAeqLG9vv 9JpV1SDivnjz+f+xpI1q1+CvrNHAf+0XnMPr/jG24mVsl0h4m58Zv2El92cGT5+lhvoP BUUrLzk6d9cZWGBNHTPFpwAyvfP8nUuYA4PLFP9meddYxezpufGrcorxE2/t66vrEFz7 F9Ohf3gznPethkTPlaKJhRr/nYP2k6BaA/W3VfqSPMgKZs8MLemyKOMND9fchb6fkRM+ c34ftTyAfeOL3qxk7JgWdUtkXbsrEAPpVM0/GUQbySuCgmVUfx920x0zM9NF3HXat576 1fBg== X-Gm-Message-State: AOAM5336e3JojE8szK0d7aoNrdUXl4h9cVkDwZkzhgInMR6CPxDCZgjA AV0NXRT+r60zvu5yNuQA9BuRJ8jI2GzAOA== X-Google-Smtp-Source: ABdhPJyM5DRidutoqXnAPYHhdf6qz08/cU3bugbM9hOFeDQsybH0XPGmtebbVxigs1VbbO5jOgXHFA== X-Received: by 2002:a17:90a:4498:: with SMTP id t24mr4738033pjg.235.1631210222195; Thu, 09 Sep 2021 10:57:02 -0700 (PDT) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id v25sm2772977pfm.202.2021.09.09.10.57.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Sep 2021 10:57:01 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Thu, 9 Sep 2021 10:56:37 -0700 Message-Id: <20210909175648.174258-8-stephen@networkplumber.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210909175648.174258-1-stephen@networkplumber.org> References: <20210909175648.174258-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 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 17:56: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: 98458 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 9E735A0547; Thu, 9 Sep 2021 19:57:37 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 355BE41164; Thu, 9 Sep 2021 19:57:07 +0200 (CEST) Received: from mail-pj1-f47.google.com (mail-pj1-f47.google.com [209.85.216.47]) by mails.dpdk.org (Postfix) with ESMTP id 925354111F for ; Thu, 9 Sep 2021 19:57:04 +0200 (CEST) Received: by mail-pj1-f47.google.com with SMTP id f3-20020a17090a638300b00199097ddf1aso2128365pjj.0 for ; Thu, 09 Sep 2021 10:57:04 -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=keaOMYMLs+hrLNa79ElgSK+FEVMkYPcdlBR+je31F5g2YupYMavtXiwUQJ2vCXjCQT paQbVFnCpTKIyZkPYYOvFzu375rXrIoVYtDqnUDEasURti7XhkUf1pMOfSmxNOSce1Sh SqhSg942ohiQuZuK8VyhDEt4rxrllbRa91yZlIoFVlt3lLgIaG83qm6yXonKS1yzWobN e+wNW5M4vMlX3PnTPgzWaJz5w3G0Rpv1ND2SoBDavZYgsF1hfZePiNuUFXDKC3TEjpWr fDGMXNsztwiJuqKCly8TDEZEyGiWhg7rduZaCcwoIz4v5QM0EWDqA4ZBt9P1Zz0FFErk n50g== 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=woB+jSge5Miq+zRAgq66ONvQroPqWkfOJB8VJ0fw+EMV5JjZL9R9PmRchAooQ4ZWpu sq70MVoIgctMtf9fUwl8COuEBGGxaC4L5wdQYep45dRZz3ZfmAJJrzcKaSxdA/B2D8je mqh8g1UQ1A2x6pq9VJVGNLhuR97ifRI/lwBuzzmd/tuttGRUFL4nB3VfBuz3wDOJuuD0 7gPCu9PPNZNvXXVhLZS+YR5IRNZvMp+vq8kX6z8CoCdTWL8FeHBDxhdy7ShSpFgXktSi lIf32R3OlFHA5yjsrhV5YQiJMz/1DMo5Ms2yacplQsRy3tjFJEv+qy2kASpxS95/lEcx kPrg== X-Gm-Message-State: AOAM530xNO/h/JIYTgKSFayIPAinlovxmAevlsGjDDGajyHcubgrwiJC V8dqXlKJh3kO49CmcDCSfwZo3A+Im4ZURg== X-Google-Smtp-Source: ABdhPJztyEPotpVmQfAEhusSn8iBxp4OyFqkemMymvJLhFCWihenXtZBTRq30GiFyKD1vVl9TeVAhQ== X-Received: by 2002:a17:90a:1282:: with SMTP id g2mr4822462pja.230.1631210223391; Thu, 09 Sep 2021 10:57:03 -0700 (PDT) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id v25sm2772977pfm.202.2021.09.09.10.57.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Sep 2021 10:57:02 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Thu, 9 Sep 2021 10:56:38 -0700 Message-Id: <20210909175648.174258-9-stephen@networkplumber.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210909175648.174258-1-stephen@networkplumber.org> References: <20210909175648.174258-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 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 17:56: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: 98459 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 79C33A0547; Thu, 9 Sep 2021 19:57:42 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5226E41168; Thu, 9 Sep 2021 19:57:08 +0200 (CEST) Received: from mail-pl1-f179.google.com (mail-pl1-f179.google.com [209.85.214.179]) by mails.dpdk.org (Postfix) with ESMTP id B029A4115D for ; Thu, 9 Sep 2021 19:57:05 +0200 (CEST) Received: by mail-pl1-f179.google.com with SMTP id bg1so1565835plb.13 for ; Thu, 09 Sep 2021 10:57: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=rTNpTWVaGLjKylPdoBipYgXEK63oIlLKPqB8wKRmYcQ=; b=nrsXGR6wHKeN32OOF4LNPOmaaHDsNrYadVmHNRk/qhdv4qAkGs1Bz8a8v8T5gJzbw6 a/mMfmot0e6jD/sb6MN//TgWpKuVKtA8CDyuuLfsRagJvvJ2XUT68GYJgxewXLrLqYXj z/iNFVviT9P6Z9m7+J81z54n0QgnsoFuIrFDtBF+WR6y3Bp95efYZYIjsqxPuYl5+Iy+ tHL5BdzrYPwyp4dyHZgdKlLB6ys9yeDsuEU9tK+2urDT5lUUZ+skp/TzfAdBsapus0Rm IfpP8gMNtj+WJhkr85MjFaDFXuQYFHDL5GnMyr04b9Vc8GcxSAb1FVOaKE/C7YiQgZ5H HX+w== 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=1mrSWXKvZGVNzYVjSj/a0sA6o58WkX8sixPsyNVw38EmBUFEOiHpoJDuf1c528y+uK QtiCj8aD4LVt0Kan21sXD4HC5o8DTBZ+23nVoiEak25LpDeTB8FVbL6ZaSIhSLpIxlTX fRhz/8QjUpP7tMxQTeZFL309CmpD70FKg1ZWx/spbNluM31h7mpWv80024rhxywJXhtS KClTaKtCJDA7Vsp/yS1FFx+lD68N9pVlg+uoNB1OADRWwkd8DOubMe7ft6UnbB4emwqK d1rzc1qKcLGekpHbG31BrEK8hU/h3NfIZbSCZ+QfSgmShzs8LdGhzd/E0ZaAVuktRKof tUJQ== X-Gm-Message-State: AOAM5305gVpjvCXMVUdGl51tr7wgvKsOAam4zzKrPiyk4tSS+8V56aQe 6+Xjc+qFq5oKk3e1y7XyoF2ASY6m7S98fw== X-Google-Smtp-Source: ABdhPJy7fQyymbIe6Ei+yQOZjHz5dG1BJKN+oD57Et7rGCWdihOjpTrV4hJCErw/jy1idFOTpeVnWw== X-Received: by 2002:a17:90a:bd06:: with SMTP id y6mr4911149pjr.6.1631210224524; Thu, 09 Sep 2021 10:57:04 -0700 (PDT) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id v25sm2772977pfm.202.2021.09.09.10.57.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Sep 2021 10:57:03 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Thu, 9 Sep 2021 10:56:39 -0700 Message-Id: <20210909175648.174258-10-stephen@networkplumber.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210909175648.174258-1-stephen@networkplumber.org> References: <20210909175648.174258-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 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 17:56: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: 98460 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 42D7EA0547; Thu, 9 Sep 2021 19:57:47 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7979A4116B; Thu, 9 Sep 2021 19:57:11 +0200 (CEST) Received: from mail-pj1-f54.google.com (mail-pj1-f54.google.com [209.85.216.54]) by mails.dpdk.org (Postfix) with ESMTP id 25B244116D for ; Thu, 9 Sep 2021 19:57:10 +0200 (CEST) Received: by mail-pj1-f54.google.com with SMTP id t20so1929178pju.5 for ; Thu, 09 Sep 2021 10:57: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=iYbq4jE+npnRB2w58kuFtHUXkUA+eXsc8+/BOEkSMFE=; b=Xf9OfL0Ar7J5nW/oZkxpsA+or7Ayq6t+gtWoOQZjxjcwozzdRxSXDibgKPp4Vxy0zI zSabnrr0ARQjW6l2hR2MRwiWxwAlFkrhtjf5IV3y7PxT2NNkCM5NuNkAn+gQIh2AUUow YtEZcaP1k14vA2jbf9QSPRgnlS+hcaBc03IkUgbSdthOHibkiokuu0xdGeCp9pS6/gc6 Jz7T3Z3L0Y6XCZmVtmB+L9E6mfoeOyAmFcydr54SQdzpUk/yLzFEM0C2nqH3ix6WVLDU thzyv/MtPwJIMpOU2ENGs2BTCOt6s5T3f8zqV5PIw4nfMwI7shypbWHmGlBIjbmK/B4u YuMQ== 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=iYbq4jE+npnRB2w58kuFtHUXkUA+eXsc8+/BOEkSMFE=; b=dido0KEJIYF422ToAHmVTzNUrdiYCUnkjUXKkvXaR8DKp0id58YW/arf8p/gdAZHZU r6VPb+CwhlCxSuh8QnHl3MI0Owa7JMDjpF73ElnyipWxarxwZtpVcLUOA/DdExaBFlkA tXZySYn/QgwY1V6fG1gm/zUoi6sgGeHyZ1uCv+Ab3W+bqR+WnASbsb+ghmN0H7QOgcOd mCOkst6JUsr0vdTbrnirG7AhO0EYJFxqznJpxEuzH2cGQpB3yXsGtJTTPOOGttl4U6B3 k4FKlcmvwQXr0mwMLud8HWxvap9d+SaNQLh4hoy5epp85huj0PIbzG2dOeaRi5jJ6E2O gVpQ== X-Gm-Message-State: AOAM533IflTzqclTfcWciyArHru14tQAeP7gZu9B0qjwwRqm5XT8CMPt MDEHP4cd+lMvDsAjlzi81XAgMN4woV3C3A== X-Google-Smtp-Source: ABdhPJw62V73Dh5uizRm58UIeUm6LMlzShHHXKJCFGbwV6ZqkNAezszXUvvJMUkN4dQGxpj7iKkIvg== X-Received: by 2002:a17:90a:4f46:: with SMTP id w6mr4835189pjl.9.1631210228930; Thu, 09 Sep 2021 10:57:08 -0700 (PDT) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id v25sm2772977pfm.202.2021.09.09.10.57.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Sep 2021 10:57:05 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Thu, 9 Sep 2021 10:56:40 -0700 Message-Id: <20210909175648.174258-11-stephen@networkplumber.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210909175648.174258-1-stephen@networkplumber.org> References: <20210909175648.174258-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 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" 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 17:56: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: 98461 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 BB107A0547; Thu, 9 Sep 2021 19:57:51 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9704141172; Thu, 9 Sep 2021 19:57:12 +0200 (CEST) Received: from mail-pl1-f179.google.com (mail-pl1-f179.google.com [209.85.214.179]) by mails.dpdk.org (Postfix) with ESMTP id 87B654116E for ; Thu, 9 Sep 2021 19:57:11 +0200 (CEST) Received: by mail-pl1-f179.google.com with SMTP id e7so1577401plh.8 for ; Thu, 09 Sep 2021 10:57: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=N7RQW+rFoxRqMNW0mfvs/j/O5ucyke/Ae/J/2sWVeak=; b=y8TM43xKV5UPfLKScg0VBP/iIWw7ai3d0NvHx/FupAbG1Sw2Rf+o9S/Uiokfsmw7pS Jp5DkXadyFAbxT2kaHDEZc4BjY7pIZghE37Ik4m6JpTW7UUmUUPwEtGgRLwJzP0WmBtu YvWIz4accpHajt+e1ni0dxnI6nmQalGY486EdlcB+3xGqAMycYg29nDqqUIIOK6N9sSN dKRo0VM6zQWSRsQfpgei83qYa1WPIDp3V7SNa7mcT3bE2DSl2AYJszV0KWIFU1t1//50 3rQU7U+bFlkAfHUS1pJ7V9Mv6wj68qWTDvhC3p1S6J+mIj3v5yHbZct8L3Q2TxiI1c9W RSMg== 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=wDm0HbPygnRnmDXhCirHOQ/XprgYZfPpJfFgy1JJelq6VGJmnWYPUtS4FsbOU/pELA eWY1VZf8ZSXCxWNfW74Y1nFyG0ypSzl+FjXf5LQ1K6UQHDnI48vOq926xCw+lsFQepq5 aK1FMli4EzrKd437Bq6PlA94XjPkKizmLsO8EFxUd/5l2xAthF+ttw1JNKj0mo3IF0Cp BkVXcN5lPi6ggnRIPtiKx3G6h5fJ41/r3LCXMbEcEA/79/lC6oswNMNeaSbKn1QrxrHT iz4Db9ktTjQ9GSOJesRwu3r9dcdvOwH4kLPkGYxg5umMW0UcYVVN7ef7NFhzGvShNUhX qWUw== X-Gm-Message-State: AOAM5332MbiIVBQNu7rF0r4OgYUl7aaf70j3cLUUYEMoxaXE9uh0tCMu v0HbeWCcCNlfeEPSB+/KUOr166UcmYLVKQ== X-Google-Smtp-Source: ABdhPJwkPESNk2PnoSeKJt8f+smyJYRKJb21ZRPKJSskznb5SoLXJGaPTDpLCEXcM7RZdX/5RsReWw== X-Received: by 2002:a17:90a:df17:: with SMTP id gp23mr4905675pjb.142.1631210230407; Thu, 09 Sep 2021 10:57:10 -0700 (PDT) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id v25sm2772977pfm.202.2021.09.09.10.57.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Sep 2021 10:57:09 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Thu, 9 Sep 2021 10:56:41 -0700 Message-Id: <20210909175648.174258-12-stephen@networkplumber.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210909175648.174258-1-stephen@networkplumber.org> References: <20210909175648.174258-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 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 17:56: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: 98462 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 0AF2EA0547; Thu, 9 Sep 2021 19:57:58 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0BC5741178; Thu, 9 Sep 2021 19:57:16 +0200 (CEST) Received: from mail-pl1-f180.google.com (mail-pl1-f180.google.com [209.85.214.180]) by mails.dpdk.org (Postfix) with ESMTP id F343C41175 for ; Thu, 9 Sep 2021 19:57:12 +0200 (CEST) Received: by mail-pl1-f180.google.com with SMTP id d18so1571742pll.11 for ; Thu, 09 Sep 2021 10:57:12 -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=ADJ0U1Ta7UXBJ0K9qhINAAGFaqE/EDDJeQG0LgfWUS8=; b=TyAzHlsVPSsa0rVFunlM5mOmqbZcZnU987FDCNmIbAcJSpy7BXs6un+6I+1kBOsMIl E0oCuWrZbAr55t02sxmeGmW38tHc3ddYtYsQItgp0ptTBH3Rtb5ueXi6LSghRTHsXy2C aZRvNHItIfRtJVMTP7o6c+zP6tlmbT0WcxnH/vOyvmtJXpcjDPqUzLFLurPKblITHhMW Pble7j5vGRArCadOyiRBfiJjjIQabuq+AxIvHSqNDDL7wqC7JEeUlVx1UUdogRWx2pSs p4z2gQ5zmUNkW2ozb2YxUP5ifnplROLPZq0ASTLHUpIVTjAdqZ9IxbPeL3ipi+t8YE0B 3yRg== 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=ADJ0U1Ta7UXBJ0K9qhINAAGFaqE/EDDJeQG0LgfWUS8=; b=rr8GbS10EqKvRL2RSO1zRlNgJOD3bU9RDeo/azVZgPxo0/kodxyfW5bgpYlSKBZyZy VwIpV4db5/kKlQxVY/z5kkYJzuky7fgCtcxV7Pwu8pznwldtCRbuOb+1LdEnlfWlCgfr /Z1iEI3MwWRSbMDo69zADHE9aXPdTrk0WYsbyyj+JNcHkHmq55KHNBxtzYp3t0RW9iEb fnnUpY6tnbT6gQMJPzORcK9xBje7CvEDceEfrwuj6S5ja1E2zGKe/U0dLeCv2q0Z2JrF Ok5Qw6I4KzqRZ00iHhOY9MgWNVZQDtJM45Q5K2NlxeAZ4HNGdncDetNPhVWC1gKY6tlw CjQg== X-Gm-Message-State: AOAM5303N1XVXGwwcOVPgOxHCPJX4KKjZtNIXDOlruePB0Xxg+1/NiMg VAJKUiIvSOOICbsDRzzc+MBmjNdIUsD3Xg== X-Google-Smtp-Source: ABdhPJw5cy0s/8HxgP+LuUWzTdvicHK1MkU82KIh7Re2aCEBXsxetE1t4hACFVzihz93Wyoj8nzEjQ== X-Received: by 2002:a17:90a:a0a:: with SMTP id o10mr4800110pjo.231.1631210231820; Thu, 09 Sep 2021 10:57:11 -0700 (PDT) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id v25sm2772977pfm.202.2021.09.09.10.57.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Sep 2021 10:57:10 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Thu, 9 Sep 2021 10:56:42 -0700 Message-Id: <20210909175648.174258-13-stephen@networkplumber.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210909175648.174258-1-stephen@networkplumber.org> References: <20210909175648.174258-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 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" 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 17:56: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: 98463 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 BCD56A0547; Thu, 9 Sep 2021 19:58:03 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 25B5541180; Thu, 9 Sep 2021 19:57:17 +0200 (CEST) Received: from mail-pj1-f46.google.com (mail-pj1-f46.google.com [209.85.216.46]) by mails.dpdk.org (Postfix) with ESMTP id BBEB041176 for ; Thu, 9 Sep 2021 19:57:14 +0200 (CEST) Received: by mail-pj1-f46.google.com with SMTP id d5so1939295pjx.2 for ; Thu, 09 Sep 2021 10:57:14 -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=ZOyr8jm5907UnUOdRygvxR6PhshhtgBr++TQDtDeEpA=; b=NYm0j8Uzg5A4rIczt6sUPT/qaYu8kbi4aYzqojHTG3fehoS8DYdynXXpqJ8JevtOTm X/KJ9t5HJE4GyC50UH5kgT+WQUGmOQLE/YoFNhawIite1pGL1n7GTl45spTWiUOHKGpn LztErcEddnGOA++uwKT2JE1NNXUocuVfUGBqDxD7DT0doF8lfpXoByeEP4DdebzZ8TiC SL7UBlxCcSkMaOn8OaYT0CfPUedchNweaKWVQilCbqCyw/fEKaXtwGjO8Ewy8kwfBvLX JAnNqtTOImRGdhNsVQ6W5ESQJmrFS8hSXEjPsp/VcZwEaKFF2GcxmQ4EBWnpcHpMcrtK GSTg== 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=ZOyr8jm5907UnUOdRygvxR6PhshhtgBr++TQDtDeEpA=; b=AmrYQb1drhW1yOvEPIsrgJcePGhJ5So6aXWB0pxpcGjr93xNRXQYxzm5sdH6oHdluV 688lO5M/23YfiqlB68ohZbafqGKVbDuijaY1xi2bU3pxtefBNy5VzTs2rmMnyPy79J7r 0JCBE+fsEe13enqasD/4ISTTnWAp6rx430BMsI2jHI1061xmm4A/1mTkgUvTxuMns1lP VeULkefD+uH2oaTzQlsqz4DYVBBJUXDlZSRfl/zUud+FukuC8hxbzDS6dKVKF/HsrNZI ok4Y79SxOahGkMQojXk2v0KaenPJjBQxgiJ/rtbLN4v3jbfEdDVEvTLkiJLx94FKvTF6 Tj6Q== X-Gm-Message-State: AOAM531siXrEQ0ZqT8rfkJfrg4uvVY1Kx4SpVvea7mDggmP7rfgtRFZk X1QfjYIkRVbO9/kCrs1mTlLqIg5uH2lDrg== X-Google-Smtp-Source: ABdhPJy2ghDzASADntAVOlmndjGNsYwQvrLA3oyhezImLBcjbWxarWSIC3DFHUQmHnE2CVw9p9APNg== X-Received: by 2002:a17:90a:9dc7:: with SMTP id x7mr4894106pjv.31.1631210233644; Thu, 09 Sep 2021 10:57:13 -0700 (PDT) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id v25sm2772977pfm.202.2021.09.09.10.57.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Sep 2021 10:57:12 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Thu, 9 Sep 2021 10:56:43 -0700 Message-Id: <20210909175648.174258-14-stephen@networkplumber.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210909175648.174258-1-stephen@networkplumber.org> References: <20210909175648.174258-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 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" 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 17:56: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: 98464 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 25B81A0547; Thu, 9 Sep 2021 19:58:09 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 336DF41186; Thu, 9 Sep 2021 19:57:18 +0200 (CEST) Received: from mail-pj1-f50.google.com (mail-pj1-f50.google.com [209.85.216.50]) by mails.dpdk.org (Postfix) with ESMTP id 0798C41176 for ; Thu, 9 Sep 2021 19:57:16 +0200 (CEST) Received: by mail-pj1-f50.google.com with SMTP id rj12-20020a17090b3e8c00b001991428ded8so1538960pjb.1 for ; Thu, 09 Sep 2021 10:57: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=JmZWtBFHcB5j7nBiMTxBFddxePZiWg08RIHG7K9QTSI=; b=WvtzpAtgn/zw0nzWDNjbdyDK2l6HekSmP1joaePRLo4v7jn1hwHT3Efy5l/sJaQSKf +HTOXCcM8ytNy7dX0BZeQ4jVuyHl356gWHlAjVfklWTL9F8yo4jaClsHfiDPX1GMbFQ5 HhnGNwaewu9HNa0Rb4BxDLhtVvd6vv2/Hza7iY1T2kUpj8Zxafbsl/ncfQPfJTdBS9fJ jS5cOj8PTNHWWTeBke3KJDwScxTwNmtyuThc+Tm73WXSx6sC4X09lSJkUZY/vvvZnJgx uwqifx7r3K/kwaSeomC9LKvtXlUHlJ5XCxerzHo/mG27YzHB9M689djPgSfFmHErj+QB GPbQ== 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=JmZWtBFHcB5j7nBiMTxBFddxePZiWg08RIHG7K9QTSI=; b=SMce/e0KWuotkrL1ctSc3Zr/itAcEwCPMVaQZ2rA08QSBbcibb5aS8M6mFe+9BExgF o7BHdlv/+DPwHm4MFLoufALaXHXCU2eWdgeSsXkBEX2+BRyZeD/FZGGjrTckOSj0HRuN fYC9CXap60a3THLhu1p1bKKXjre9pnia+sj+bUemgyFCHPvCl6mLT811FK04CDj+SIex r7JhlAgSLwbhSSM5oiys9T3jCgqvimz5418x0xACZbf3KHN9JYuVjxmhnhCK8sU6/DMd gH6OvLfvVUZsSXEk1km5dEQdK7I2eusfcsKjSlCiPbfi/TAdY7I2C1RspOoKzTIFiPMe vjFA== X-Gm-Message-State: AOAM533K6heqoDptlvZSEiqqFmFRBNAkFlT80fvH98U/SSkXtwlshZAy VKdeAGCpcZ6iauBXMv8r0pYRa1PsCz3o3g== X-Google-Smtp-Source: ABdhPJwiyBKwOGfRq9OxnMwLv43DMuzMUtLWqhbJ/YbFMv6+3ZdGVbIdoBrzt4OJxIZFPWOVD+Q6Rw== X-Received: by 2002:a17:90a:7d03:: with SMTP id g3mr4815388pjl.242.1631210234877; Thu, 09 Sep 2021 10:57:14 -0700 (PDT) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id v25sm2772977pfm.202.2021.09.09.10.57.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Sep 2021 10:57:14 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Thu, 9 Sep 2021 10:56:44 -0700 Message-Id: <20210909175648.174258-15-stephen@networkplumber.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210909175648.174258-1-stephen@networkplumber.org> References: <20210909175648.174258-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 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" 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 17:56: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: 98465 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 CCAE0A0547; Thu, 9 Sep 2021 19:58:14 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 492584118C; Thu, 9 Sep 2021 19:57:19 +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 31BCA41182 for ; Thu, 9 Sep 2021 19:57:17 +0200 (CEST) Received: by mail-pg1-f181.google.com with SMTP id f129so2591569pgc.1 for ; Thu, 09 Sep 2021 10:57:17 -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=nm45sMhfUrYgZuV4D9Ch8SbmBJ1hxBdTlyPGnrPTaZE=; b=ynXsoXeoGOnsyVnmcGyXOrxxEdKiQGZGW06cwM3Ev8zFHJvtajtAPUPb73BAa8LjQt 8stMvQzSct6rN3Dtq30YPlddrkbrak9EWUtMCxdLnRoDCSWTUEeT2fGmPbJ72Uqioo8I fud7HPXKdrBxXv/xRcIjAvFjKVVGJ/XbDQey12cKVpBDgsK6g9ZB2z/lh+ZVxXKptbjP BiH0rZ8KkevjEMouKva+UQtSVCz6pk/p9SjafSRx5aCXDfH29nisCpXy5vOI9VIInA0C sZWNE4DIEHH5oWbUXaekrF+OJhU7NZhFSAjWSYsvkwoxDwvnqz48DttvInkBy4qjNGz2 ehdw== 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=nm45sMhfUrYgZuV4D9Ch8SbmBJ1hxBdTlyPGnrPTaZE=; b=c1XZcU5x/sRtaamOvQIdp625Zn8TD2lJdLjBdLlsHTQHQezb6IS8IfcEXQHSzvun4I bLulcFh8Fm6F1SLxJbp0vWm3GOM4HNCziORtMS9gFZIDj/bfzSzJjI8+KGvVvSO8cTaI YIP5vi7N1ukL5aXDVXdrSPeOdbsNvh68SgzI+SL4DevoR2ddc0PBdSYOM2brsnP46EQ/ XorTxrcMfzCDE3yMyXLD8B60TJe0bJoEMQOeTVbmQrs1hvznmk7Aw/zS4saEgbxKp8T8 Ciz4SDmiL2xtRMjrfQZqNmKup6MDJzfPxH5sQvsYazLLOCYfbcSGdargMgc/fo7TpExk gC6w== X-Gm-Message-State: AOAM530dJJEppHj2wQ9Ood9YUl/Jz6vRm7iCKYDEmevX3nBXbVBpklps pN0JWQR8CHCs/dIJEHG/fYPqyBq24yExew== X-Google-Smtp-Source: ABdhPJwwmds7PgioFZt/I8ZyjI5oaMcoK7fkYZljfo8IvBoXjQAa6oa/6iwzMXmiXDSl/6ua/iNhNA== X-Received: by 2002:a63:e408:: with SMTP id a8mr3794417pgi.184.1631210236047; Thu, 09 Sep 2021 10:57:16 -0700 (PDT) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id v25sm2772977pfm.202.2021.09.09.10.57.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Sep 2021 10:57:15 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Thu, 9 Sep 2021 10:56:45 -0700 Message-Id: <20210909175648.174258-16-stephen@networkplumber.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210909175648.174258-1-stephen@networkplumber.org> References: <20210909175648.174258-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 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" 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 17:56: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: 98466 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 45CEBA0547; Thu, 9 Sep 2021 19:58:20 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5FBCB41194; Thu, 9 Sep 2021 19:57:20 +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 50B3D41189 for ; Thu, 9 Sep 2021 19:57:18 +0200 (CEST) Received: by mail-pg1-f177.google.com with SMTP id t1so2592919pgv.3 for ; Thu, 09 Sep 2021 10:57:18 -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=NoHrW7gHiQ2iJ4xw1a7a3zpj5X1n9GjnS9eszyvKZdD5GtCqWG++qYr7cgqr7sHhcC 1LvYzeV3BKiqQNvqFXF4Aaj2pTl0y01ELdrIgfSeimNWyaxbkO59uB6wfsdyzhvWa8wL /TZP63Quo/XwHuCCoOc8HfBtp+dyhaihgjevRahsfm9T7BiuuFy3YEaeSBS5WD7zI45a xGngWE3SqmuATupS8kjlgXinvu5ezGYXJ7OutL/k/WIAoMkkH5uVXuzLggIZJyeyfgxN GSBQJTDuY+k/la2EUFPXdLb7oI7kITZH4mgUeshCsOZBhk9RO6AK+feF0tm/qVhpNqvA /FqQ== 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=REpb4WxyZohhDXQI8QlTTniDxV6jA/6D7mP1V68jvfXZdgh0L+1fPuwa6Zsg6UfonR R9XKeHKDUaNCHScd+sq++w2hVUuBqYqzUzkpoxREp2/PHLU7hIss8jqE+tINOJ1bEpbV SQhTUF/K3G2mrDj0tewFnyp8JdO9ASpULbkNSo5BknlEwdi4GWNbOk3rloOfntN5MR43 1W08WxYlSwWqMURVwJBw5RmQN5HDJRR/JYeGe0gYzygOpME25p5Wx7rGGF8amV/La07e WtBeNybtkz3sn4EJLdVO3gju+6f84s1RwzgjdhwzZ2JgNNxZOaLAFY8zVZ/ry78veCFB xGFA== X-Gm-Message-State: AOAM532irXSNveBlf6Iod8wG1AFWoEUvR41RJRKcX10zO7rtsK0lLqTL Sr1YuWBTK3RudZT96IyOJUHSI4xXDsfggQ== X-Google-Smtp-Source: ABdhPJwSq4lh/HerGOwgvI/uBVpdDCFTtPKPZOIJrrVJMBjfaPbvkNjI6S4tI2ZsBXlgnnb+AhPxUA== X-Received: by 2002:a65:5a49:: with SMTP id z9mr3733512pgs.121.1631210237150; Thu, 09 Sep 2021 10:57:17 -0700 (PDT) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id v25sm2772977pfm.202.2021.09.09.10.57.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Sep 2021 10:57:16 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Thu, 9 Sep 2021 10:56:46 -0700 Message-Id: <20210909175648.174258-17-stephen@networkplumber.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210909175648.174258-1-stephen@networkplumber.org> References: <20210909175648.174258-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 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 17:56: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: 98467 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 7089CA0547; Thu, 9 Sep 2021 19:58:25 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7395C41199; Thu, 9 Sep 2021 19:57:21 +0200 (CEST) Received: from mail-pf1-f174.google.com (mail-pf1-f174.google.com [209.85.210.174]) by mails.dpdk.org (Postfix) with ESMTP id 38F2541190 for ; Thu, 9 Sep 2021 19:57:20 +0200 (CEST) Received: by mail-pf1-f174.google.com with SMTP id s29so2446462pfw.5 for ; Thu, 09 Sep 2021 10:57: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=PZUQfxRTfLNaVMgVk+dllwQNsm6wGRUtWRKVO9WdT4Q=; b=m7n1q8U4UIOokMEYWC29NOb6Kq2I5c90NsnwKgJ+2P9WuwHvjdQYrbrws3Uren4/OU DfXUGunIrqOe0Kquwqq/qUcWhm0Bqr17OGHmIldLtULil/uzBrwSGpS2EfumckrNQyQx 3WobdoIKNwcuC6pIvVAxIBtghrUQk6rMuZu8WVr2vV/jKw4FNpOrG/+hUTQhobrsCiWm 52dt6RCyzwFlOMBAeZPLf0vts+5st34stlyEq0VoQZa9uhqH3Clwte2F2+C6RAsYkn3E WyogL6hMarAcnV6A2iTmtV2uhf9YHK/Hez44ukC8LNwUlCpRIB2CQrXNC0ZdDHYLQMHn AkZg== 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=PZUQfxRTfLNaVMgVk+dllwQNsm6wGRUtWRKVO9WdT4Q=; b=IVGOp75ehhDakiUR/XG6RdJ41mzYvsAqMXm1wh9ODmbI02POcPs2egXUB/HESYzvgi NXnRbEhfjCSjYr4iu/bJv1oBPdm3hjVLWzPxQjjaCOWMDhuHGnFX+nrAr5jMP/rGJbSF P2uh7MJTwz4xSW/ToXbHBuIu9ItDy8SmqeMMKdE6z16mJtl3HWnjvgPGYlpg9QsqA7Rk +pkBH163xlcBEaRXc0K5LKAk/5pH1nkc+bjWtpDig+1UDRwfOa9Yh51hy0yHv8nvXQeS rrtmrbBi6XwVQjKwtmtRFlls7EdFaV4+ItbwkFV5HmWdlXo4WOz6H27CoJDw46sStNBl LM8Q== X-Gm-Message-State: AOAM530ztoN5iKP6JAe3DYWzktZBf5hCZEKqhLhE14s5QzAmcrDD4kMV oAZYjhnh4jvAFWal24QexQuJwzCdH3JkaA== X-Google-Smtp-Source: ABdhPJxxHWtZxvxHAo/5du+cH9IlaCHF/2KtMJ6DopE59TwZWmNK7tKkEooJLrr46AmM4iMlVN07tQ== X-Received: by 2002:a63:ea03:: with SMTP id c3mr3668117pgi.283.1631210238790; Thu, 09 Sep 2021 10:57:18 -0700 (PDT) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id v25sm2772977pfm.202.2021.09.09.10.57.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Sep 2021 10:57:18 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Thu, 9 Sep 2021 10:56:47 -0700 Message-Id: <20210909175648.174258-18-stephen@networkplumber.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210909175648.174258-1-stephen@networkplumber.org> References: <20210909175648.174258-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 17/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_compressdev_test_buffer.h | 4 ++-- 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 +- 17 files changed, 31 insertions(+), 31 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_compressdev_test_buffer.h b/app/test/test_compressdev_test_buffer.h index b09a7e99688f..cb26c7d40284 100644 --- a/app/test/test_compressdev_test_buffer.h +++ b/app/test/test_compressdev_test_buffer.h @@ -105,7 +105,7 @@ static const char test_buf_shakespeare[] = "\n" "OLIVER |\n" " |\n" - "JAQUES (JAQUES DE BOYS:) | sons of Sir Rowland de Boys.\n" + "JACQUES (JACQUES DE BOYS:) | sons of Sir Rowland de Boys.\n" " |\n" "ORLANDO |\n" "\n" @@ -168,7 +168,7 @@ static const char test_buf_shakespeare[] = " bequeathed me by will but poor a thousand crowns,\n" " and, as thou sayest, charged my brother, on his\n" " blessing, to breed me well: and there begins my\n" - " sadness. My brother Jaques he keeps at school, and\n" + " sadness. My brother Jacques he keeps at school, and\n" " report speaks goldenly of his profit: for my part,\n" " he keeps me rustically at home, or, to speak more\n" " properly, stays me here at home unkept; for call you\n" 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) */ From patchwork Thu Sep 9 17:56: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: 98468 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 CA0CFA0547; Thu, 9 Sep 2021 19:58:32 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D53EB4117C; Thu, 9 Sep 2021 19:57:24 +0200 (CEST) Received: from mail-pf1-f181.google.com (mail-pf1-f181.google.com [209.85.210.181]) by mails.dpdk.org (Postfix) with ESMTP id 89F344119C for ; Thu, 9 Sep 2021 19:57:21 +0200 (CEST) Received: by mail-pf1-f181.google.com with SMTP id e16so2440553pfc.6 for ; Thu, 09 Sep 2021 10:57:21 -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=QHcjJlOvFDMCAaPqMfvuDwK++gdP2ZOp7FPD9lYBF1XgciGmSsHGg1L2Q6Ris8yB8T 6meBnxrLnl5yLLJeIHP6M6YlR4gr5S15GAi8UmQzskI7yiC78GOw2P2aRyx8zxwGYAdD xBR7oPAMqCVUTfAad7LfV9MZVL+7a0aFEzPFGfvWetO7B0x5OEsQrHVpIujFJuuXEfJN mhjg40XO4YlUYjQDlHbiX7oI3gzjUCf+jhgVGMRz3DbSYMAOZ3LxdIgPAWiSdqqSEVGw eIQnQgYtaUT5pGDVOWCHOXihIedBudgD8de0IfcFWRT5YNFgPxAOmVv1AtkA4ZO4+QM3 1s3A== 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=DRtkSD027YHtQidTZ1egUIO2ZhL6BNYcJR3IQbBX3I8/exS/RDKqMASH0fEYGxTEaU ko/3khlzLHx7cQy5Dy0SZFctO+balVRM/j5HvwraMfxJ2HqdNf90BZX+PPjwYh+OWTuD oNxgQJrztHouqvsStVLUVMjWNz8Quvqp9jBqWj71NY/3lH4XNNuAlFTUL7O+JpZeusQB vukQi0cmJO392+qYeRJ6Ezc1k5vIXVXAeRe6m3q9uxHfsr7NvIsCkMQ+A6w9mt/siaKH q1dv9I5bRuw096I34O60PA+q9zHe3UlLyubA0aAcntTB5J/3b1sA/LUU6Br/rivG3hdz Mhzg== X-Gm-Message-State: AOAM531qqsIk4EU1Bs0ry71Vk76gpTzNgX0e4kCTiYei2QMq+tKeGjuq YEjOsOsq5ixN8rpVNj29KxuOT3wkHjBrSA== X-Google-Smtp-Source: ABdhPJyMNoZ5JFKqzKNdk8CXzEXU4E9VdEQhD/c+A4ve6kpJN4EcS0FtANH2qjJozA+Q5hJqmWQACw== X-Received: by 2002:a63:7453:: with SMTP id e19mr3705187pgn.243.1631210240452; Thu, 09 Sep 2021 10:57:20 -0700 (PDT) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id v25sm2772977pfm.202.2021.09.09.10.57.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Sep 2021 10:57:19 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Thu, 9 Sep 2021 10:56:48 -0700 Message-Id: <20210909175648.174258-19-stephen@networkplumber.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210909175648.174258-1-stephen@networkplumber.org> References: <20210909175648.174258-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 18/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 *