From patchwork Thu Oct 14 21:56:14 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 101693 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1C187A0C43; Thu, 14 Oct 2021 23:56:42 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 326354115B; Thu, 14 Oct 2021 23:56:40 +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 27E174115A for ; Thu, 14 Oct 2021 23:56:38 +0200 (CEST) Received: by mail-pf1-f176.google.com with SMTP id c29so6669798pfp.2 for ; Thu, 14 Oct 2021 14:56:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ewZEWCcD7IJG6oSB0m6CFBywltlygsOX8dWuiKqUCG4=; b=d1nUkTOrvRpw+FvtwWeJayu8GYhHsJDbwMnJkb3o6jUrGJKsscmH30CdNvAc+p27OB 5kfIWGSZ8jI2vK1c/b1SAcXptpvg/aDwYFq/KLwqjbCqDHn7pCNE5EbaXsmUp4faIfG2 JpxE6+T9pdKpz+KK4+8a/XcttCMoL0pSbvNbaerZjkZ9m92B7oOBnvIQSeam6n2CyspQ NWJb+A8x19J1VuHRLyY8s44Llve0KJeWIi9+Ffq1jl2SVSLB2I+24wlEJdtasHWU3ItK Ln2O4rQ8FyRU2swkuBfYa/ak28PJS4GTJ8Qv2Bo/nQyhAaPx/UH+HrUAHgK2uAGVtLUa Ilsw== 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=ewZEWCcD7IJG6oSB0m6CFBywltlygsOX8dWuiKqUCG4=; b=fqqD6yY/tvASTPD8MG0l/HC2kcwyISfsipcQbbHgEsFmiGUfhVUnndB+LWcUNinGbu xUqmVlx+unUUhCtfrI2l2mkS2l6aoQ9RKsCCeiZ+bb9ivUT/yKGJKGtX0h0fYW5UcfPG UF9AhbEE/0s5S2q3KlyhiGIgUWzD7Qi0R+tFxfVWlmu9ZGULbbg2j6wDU3zu5g+OdZeO fp8dHjWsvPLdJ96dc8ye6Tih7WRS2yan3dLHvyQD9n/F94rYC9B8pdLAGJven9n+SXxM +Mf/CbvqKSpWEI6t7DLnFnOU4jGOezaV9P+tqWsQ2VmTkmdyeHIk8I2/GMzo0+LAPyhJ eSGQ== X-Gm-Message-State: AOAM5335YuXDW7yfe/fzVAX3f6c10u8nSdBy+2QbvxHTBMZcR9O72/9V X8qQ8R9HJGJphsIWRetShacFhfFOsN8vvw== X-Google-Smtp-Source: ABdhPJxhv7pW6jxlBNjiekb/wil8fMFFkx4YhXmuobVd2LMn4PFxbfQv4igE7qUHvBPSA6USZbkUag== X-Received: by 2002:a62:3387:0:b0:44d:7ec:906a with SMTP id z129-20020a623387000000b0044d07ec906amr8029469pfz.69.1634248597027; Thu, 14 Oct 2021 14:56:37 -0700 (PDT) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id h13sm3076741pgf.14.2021.10.14.14.56.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Oct 2021 14:56:36 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Nithin Dabilpuram , Pavan Nikhilesh Date: Thu, 14 Oct 2021 14:56:14 -0700 Message-Id: <20211014215631.181747-2-stephen@networkplumber.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211014215631.181747-1-stephen@networkplumber.org> References: <20210909175648.174258-1-stephen@networkplumber.org> <20211014215631.181747-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH v3 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 21dcba51fc47..7f24cf962e55 100644 --- a/lib/node/ethdev_rx_priv.h +++ b/lib/node/ethdev_rx_priv.h @@ -67,7 +67,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 e3a6fdb8afc6..93744df56afb 100644 --- a/lib/node/ethdev_tx_priv.h +++ b/lib/node/ethdev_tx_priv.h @@ -46,7 +46,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 a1fb8668c543..5105ec1d296f 100644 --- a/lib/node/ip4_rewrite_priv.h +++ b/lib/node/ip4_rewrite_priv.h @@ -49,7 +49,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 Oct 14 21:56:15 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 101694 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id A3843A0C43; Thu, 14 Oct 2021 23:56:47 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 308B041167; Thu, 14 Oct 2021 23:56:41 +0200 (CEST) Received: from mail-pf1-f172.google.com (mail-pf1-f172.google.com [209.85.210.172]) by mails.dpdk.org (Postfix) with ESMTP id 9946D4115A for ; Thu, 14 Oct 2021 23:56:39 +0200 (CEST) Received: by mail-pf1-f172.google.com with SMTP id o133so6640053pfg.7 for ; Thu, 14 Oct 2021 14:56:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=68PqXronH5Ha32OU8EzqzS+FSe9lZsYsbh5J8RYm7ok=; b=lW8RhbwPihbLk5JBRzG3bAQUpGXO2iEDHaTGL43AyopH1u81V+ObBAdZuvt6IY1Tdx kD7vglBMuzS1JaLa9GoH5DU6aK29/TQUSQpLDyDGzOwZfH0t3YeA0neN+1IIh0+ktGeJ S5693DcTP3zzwcA4JmBo3XOX8OPG7kQhq3ic5jycrlp2/BK/WdLaTMf5yLpikez/RI4N lbt8OMjMTrkvk+9653XYw0ajDWHD4MNckXpXo5sOx+UhVJiJjtaam+eTuyD0qJLRQcbn ZNAjqgOHVieyBCf5yMC3uQA19GzhcCGBNoVfo8x90N34UNUJcDcuMcAw69IF7fdEEWf1 I46A== 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=68PqXronH5Ha32OU8EzqzS+FSe9lZsYsbh5J8RYm7ok=; b=gVpTJhHgI/uiSgqAXse0mZ2NwJDN3UCy/moc+N9rUqKqYHjui5O6ko5bK0Ev6eLFYI OM+Ivn5I2a3AgwPpZ5c0qbdwUkwYqlvkpSEYfgNMBB3tXu9xsI/YBglDrHcL7rD1YBWd Es0VSHspSmtU4ivubmJ0zPRCbGQlB9+q1DbMwvqxO06m5fHPkg5WOFUFBjskf7bKsKsy W9MzH5yNbDj3x+ZJvst1KvikLzev5UQnSOwz0TGvNvqrMmBY3ghmnEIZjbVgb4Txq8Ix fEglDPR537T4rl7TbI/sgNoFXYk5ScHk8QihJw/oISAEk5k5RBM8eX+3BRgu44AxpR96 Ij7A== X-Gm-Message-State: AOAM533BaUQayJ6GzbMgKggB9mUTbVuXtVDBzXizkeTW5NFpDPynD0CN vRuaYW4HwzCl9ojfQ8YrAgmsfw9RtoaEvw== X-Google-Smtp-Source: ABdhPJx3pI3Sah3jznwoH8uaqP85CEza/c5EtEOINksn/quIVt8ocgYec0PRiFOgfNUH0rH3SgcvEQ== X-Received: by 2002:a05:6a00:1707:b0:44d:47e1:9ffe with SMTP id h7-20020a056a00170700b0044d47e19ffemr7880968pfc.53.1634248598459; Thu, 14 Oct 2021 14:56:38 -0700 (PDT) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id h13sm3076741pgf.14.2021.10.14.14.56.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Oct 2021 14:56:37 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Konstantin Ananyev , Bernard Iremonger , Vladimir Medvedkin Date: Thu, 14 Oct 2021 14:56:15 -0700 Message-Id: <20211014215631.181747-3-stephen@networkplumber.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211014215631.181747-1-stephen@networkplumber.org> References: <20210909175648.174258-1-stephen@networkplumber.org> <20211014215631.181747-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH v3 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 Acked-by: Konstantin Ananyev --- lib/ipsec/esp_inb.c | 4 ++-- lib/ipsec/esp_outb.c | 2 +- lib/ipsec/ipsec_sad.c | 2 +- lib/ipsec/sa.c | 2 +- lib/ipsec/sa.h | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/ipsec/esp_inb.c b/lib/ipsec/esp_inb.c index 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 Oct 14 21:56:16 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 101695 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 874A1A0C43; Thu, 14 Oct 2021 23:56:52 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 41C2D4116F; Thu, 14 Oct 2021 23:56:43 +0200 (CEST) Received: from mail-pg1-f174.google.com (mail-pg1-f174.google.com [209.85.215.174]) by mails.dpdk.org (Postfix) with ESMTP id 19AE641165 for ; Thu, 14 Oct 2021 23:56:41 +0200 (CEST) Received: by mail-pg1-f174.google.com with SMTP id r2so6729899pgl.10 for ; Thu, 14 Oct 2021 14:56:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Y25iWHqn41cma0pni3agsyZA7pW28pv1+XV5OeogKUo=; b=I+gZ7G7EXg5hCmCp1FNNuG8Vcv4Nj+9GdPjIjHoCgFFGu4YB8OW9jfyle3h4RNpWSt U8lAI2YEcrhggEjparT/eAxfnuFtfTfhrv0OxIIsPmbWJ+q7p76jEVbKpjA+wEvdJNxE I85HVLEttGNKCeZ0bvU1KU0y5derqWWRp6ylVLJ0qeu7XQhuWOMPgV3kD/w6PBjB3Let hmC2ChQFbYxUiKJuYrC+aSmp7U/Hkw6erw5/b3oXXQDipUryidnO2TYBDG28aOk34X7q hZ7dGn262zkOBHr2uQIj/Zu8bkhlCAZqo+Iw7F5n2QPvTSnoQAzrkjkTt/qkvQZeC895 TRjw== 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=A9TRjhFuaxaHVUzeQ/RaKosKt47CcRaAkMIATDXmpIwAKNRKCd86zY3KPuFMRDe8bC 7cdfizi87jsepYhj6QEbC/QBrDuEBLQIilHUgwokwZXoR51bA7l0yhGHMD+GUNEOTq7S 46Za83tTlH9RjeHg+F5a1FAKekJwStOF2Ylm0REriiDlp4P4SEVWTkWcLRZ6NqBICY8a Q1NG+vlTZ8eG2+5ttlvAp4SNxStGad1SPxlVcYecVBjWjvcfMonqjWIxHYWYbqDBSi6Z DzTYs6OG4Mb3Ma2eHbPxmltk4PRCvYhElbuOjm5lHtHJv6fDLyvtY8Lnl5vukL6dtc4L e/og== X-Gm-Message-State: AOAM533AOLBh5iqU9DQpyQl9+i2YfY6crCvFehAmfF+N/Flq538UhCzX OmGVxRySZdVcwB/qHBQDTVL5C+tJyLQ= X-Google-Smtp-Source: ABdhPJywr7yR5ePtuaBt/j5WELuVlkShT27A8WnB1QSQJizIrqn/7LqLFDn5Gxzp8QDuzON45FdxOA== X-Received: by 2002:aa7:96ab:0:b0:44c:f3e2:a7d1 with SMTP id g11-20020aa796ab000000b0044cf3e2a7d1mr7903241pfk.78.1634248599943; Thu, 14 Oct 2021 14:56:39 -0700 (PDT) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id h13sm3076741pgf.14.2021.10.14.14.56.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Oct 2021 14:56:39 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Erik Gabriel Carrillo , Jerin Jacob Date: Thu, 14 Oct 2021 14:56:16 -0700 Message-Id: <20211014215631.181747-4-stephen@networkplumber.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211014215631.181747-1-stephen@networkplumber.org> References: <20210909175648.174258-1-stephen@networkplumber.org> <20211014215631.181747-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH v3 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 Oct 14 21:56:17 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 101696 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7250EA0C43; Thu, 14 Oct 2021 23:56:59 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8CB194117D; Thu, 14 Oct 2021 23:56:45 +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 678354116F for ; Thu, 14 Oct 2021 23:56:42 +0200 (CEST) Received: by mail-pg1-f172.google.com with SMTP id q5so6739092pgr.7 for ; Thu, 14 Oct 2021 14:56:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=UHLqnX6N7ciTHfnZACzvppu25l99qzBwCAJhDtKWpjw=; b=HoNlLbMi62bkYIePUHOSIBuRr/zNRp4+G6JN+76q0i8oshZlVFf0U+o1dR+Mx9qX64 GSbX2LqlNqdmXr4biKKj/sZ2rN4iE7StqncY6k1Lp3O2PX32UDXcDzYYhCG7sERWCnMG G8bO7yTQ2Tgafg0hg82VQn1oi8v/PMWtum/RLPOqyiVZuH6r6eCXp6I6tnW8s/CmTGLW EPVZ9MQQlwhTeSuXTv+BfLyQM5WfbYAFD4S+Vq51zQ18k9SgjjO5lt/Dl/59dD44sfVw Wi5cb7L2Sp3Suiif7oKVW0k6DsTlYAYhbWi97JYof3PZG8R4iIjcNF62uJQd/lQhbgww 3D7A== 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=J72AuqT/g3Hc2QNgzOMHSk+JcPX7KYV/zKlqtfJHudcaaVnYA0L3KZ/Lz50sDC9yzw CFT9XJTbYklhX0Ko3jTqBdUsDnpjZPgKgOCYLU4xf3+egPtHXuDpqXRypULZ+oVpaZvi qspBefqyd/cl/mnvoxWBMNukacuPuOob6fs7TsipmvJXOQ0DzRaStaQXfwhdIlwxXLBC 2jSJKykuesRaZMZvgDs5lgFcp4YpPZow3bKFD+Ne4x/rS6hxOp91OoI8z7Anh0tfLWwE QHGbg9arEnBARqTtX9zkvxj1NWGb2BROzDnggiRCvh8krLzoGMP+fueo6khDbCsUGalU nTMA== X-Gm-Message-State: AOAM532xrhrFXZ8KZER8ID0YjIX/O4GTQ4rHFbLfN6sp5mihGqVU3+tm r2G94ftDrPv9xCbiuwZRpl5fMrmGtQXeQg== X-Google-Smtp-Source: ABdhPJzAIk9D/7p7UlnDoYdV/ZC1W49NzA/YapOAy12Zf0kii2OJv9zdUUSxDdodz93daPQmyfn75Q== X-Received: by 2002:a05:6a00:1a56:b0:44d:23ae:37dd with SMTP id h22-20020a056a001a5600b0044d23ae37ddmr7658480pfv.8.1634248601232; Thu, 14 Oct 2021 14:56:41 -0700 (PDT) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id h13sm3076741pgf.14.2021.10.14.14.56.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Oct 2021 14:56:40 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , David Hunt Date: Thu, 14 Oct 2021 14:56:17 -0700 Message-Id: <20211014215631.181747-5-stephen@networkplumber.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211014215631.181747-1-stephen@networkplumber.org> References: <20210909175648.174258-1-stephen@networkplumber.org> <20211014215631.181747-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH v3 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 Oct 14 21:56:18 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 101697 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 88077A0C43; Thu, 14 Oct 2021 23:57:04 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8B03F41179; Thu, 14 Oct 2021 23:56:46 +0200 (CEST) Received: from mail-pg1-f176.google.com (mail-pg1-f176.google.com [209.85.215.176]) by mails.dpdk.org (Postfix) with ESMTP id C441C41176 for ; Thu, 14 Oct 2021 23:56:43 +0200 (CEST) Received: by mail-pg1-f176.google.com with SMTP id m21so6723200pgu.13 for ; Thu, 14 Oct 2021 14:56:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=BMWNw0gLugZcukBh8c3ss54CZJL+3hBZ9dhbogD12Ug=; b=0m64Ic1Dwer9Fbu2He/RPVhBKCnVu2eMNwGQgFyRdd+4Wd/6erSta691O4hws17a5t XoE9PaIwUPCv+7qSS78QPMIPazDURyzLvdoPyNHW5vH0iVRWMXe4Iv0i6VyE+PDXk0BI FJsO/cr5tLByJ7J1PLErcATQRCYmuLpQK2cZsWtnDNg1GoL7qDbNMKnJAbCTQFTZuXfA eSKO0HWU144e6wEZdcByNauqQYXWFdOQ32VQQf2g9xlmAbGwepRHgrAyeUGkH309gAyG 4MAGWSU0xsYz3wF/ET1MRlVdFca65tS9JY/EYcQ+L8wedHjOKFBzAmxyZPMUjqVZP1wK tgAQ== 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=VSv4/bX/VAof006OIJeKJTv5Loe7kfwobKETxHmDI/V3iiwofDunQqOeONdxA1Uaz8 jqiBYTVQTSae2xGrV/ahwU5KHqkZqejMKDq8mWv+Q1pbJV9LPoHpAgk+JTMHaIm1t3/A l8jCyJHIQKsnDVqhx/P3MyXg6nfH/d3DkuqSwn/TNgAesWvZ1zU85WAfZFjq51qVGfrj DzYQg6V6+ACNBLtIFz4m/n6+BwmJS8pNWaX6tx34kFlkQO42DiRajU/yfNr8ztIfTORM DMK/JHJqWtjW7VL5ByUd2tOTtVwV2pATI1214oNSHURwsBkzLlVhAa6tw7Fhn9FYp9SK WqRA== X-Gm-Message-State: AOAM530mxwrNmywcWMbw+Tr0Hy+gy9Qxt1EIWvp8tMiBPKrb0a3V1riw Y2xmNF29paMC2N6eouojKQG0P9Hi9fayOQ== X-Google-Smtp-Source: ABdhPJwUvSoKgqZMWoa1+4jdLqIzSMSQNQOtEQhaSgSYUfyktMOn+av8JRp7EeGXTQb9Y+0P4hdcTw== X-Received: by 2002:a63:1125:: with SMTP id g37mr6083849pgl.403.1634248602640; Thu, 14 Oct 2021 14:56:42 -0700 (PDT) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id h13sm3076741pgf.14.2021.10.14.14.56.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Oct 2021 14:56:42 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Honnappa Nagarahalli Date: Thu, 14 Oct 2021 14:56:18 -0700 Message-Id: <20211014215631.181747-6-stephen@networkplumber.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211014215631.181747-1-stephen@networkplumber.org> References: <20210909175648.174258-1-stephen@networkplumber.org> <20211014215631.181747-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH v3 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 Reviewed-by: Honnappa Nagarahalli --- 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 Oct 14 21:56:19 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 101698 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1565EA0C43; Thu, 14 Oct 2021 23:57:10 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8CAAC4118C; Thu, 14 Oct 2021 23:56:48 +0200 (CEST) Received: from mail-pg1-f175.google.com (mail-pg1-f175.google.com [209.85.215.175]) by mails.dpdk.org (Postfix) with ESMTP id 2BC8641177 for ; Thu, 14 Oct 2021 23:56:45 +0200 (CEST) Received: by mail-pg1-f175.google.com with SMTP id d23so6742017pgh.8 for ; Thu, 14 Oct 2021 14:56:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=6eDQQt7mbeYFWAZZegRwu+tJ79dUHX78AmxKJN9ZSUk=; b=LLy4LnjQaE+0cdkudSZjulcGpkwB3CLqPQsSFRc+yoenS7dYaQvRl+J/plTiOKnR+8 TSLGDeHAUUqt7Ls/LLRYYE1flOyE17a1PWXK1jmriTWAaNV6NGFvCt8ucevqjWCQDWUl cRoizsd8RPciNdlzaM6ZK2zm5OP9aQJ4zJ9pXqqxGkihfmd6J5Qpga0GObZrjeXn29mV 2dVCo4pxyYbD2Lvtxv28dTYdUCjjMc20DV4uHe1EU0bWAMLa7E5//hx7us9oLtv2MmhT tPwNwP7UifH0x9uKQIIa0szuKJ9mCoHFUR0xjZPfnfDni4ABLUsqHwiwwF8nzsv/2ijc VvzA== 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=6eDQQt7mbeYFWAZZegRwu+tJ79dUHX78AmxKJN9ZSUk=; b=SNhOId+4JMZR8O4cy8USr9VAALhQswnBwR+66UgGSqTtkd2zIyklAFKTx5UC2RNLyw jvefbTXAwiiFMdeeGmnSFJLPsUOQ969OH7yFnL5xkm4G1IGFjlZoG+aXaxZY2lcuGO1b +iC/mOf5T46hNNm2uBKuUP0Mf27uuh/IM1ELkiskh0FslMfOxJUiiJ0CNQmQraEp7jSk XnI8GSdT4T7U6nDMNHoFGr2V5gx6GmCNOXt+i9ByJ1k0iU7dlMPg5C8wY34QMWacfZhE 2mBLwJ8pbbT/tvHsHg5zuQUW/t/VtjMLFP0QjJ/BzxqHjZswXgF4Hj/W40/54ojURk+H 42Bw== X-Gm-Message-State: AOAM532Fua+oXSky4EbPrrpUDWCKm9lapqC8oDYTgwShRrZic1CEErtA tq6YDio7MNZHqCB+i6hBZ0mSXNNLHMY+uw== X-Google-Smtp-Source: ABdhPJyuqVLg1Hc75SucNKmKiSaSYSuDcI0SXCLhwq7/UAsIbGMu3/YJDSyUQyZEDijjcX2abigSoQ== X-Received: by 2002:a65:6215:: with SMTP id d21mr6304213pgv.62.1634248603986; Thu, 14 Oct 2021 14:56:43 -0700 (PDT) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id h13sm3076741pgf.14.2021.10.14.14.56.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Oct 2021 14:56:43 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Konstantin Ananyev Date: Thu, 14 Oct 2021 14:56:19 -0700 Message-Id: <20211014215631.181747-7-stephen@networkplumber.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211014215631.181747-1-stephen@networkplumber.org> References: <20210909175648.174258-1-stephen@networkplumber.org> <20211014215631.181747-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH v3 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 Acked-by: Konstantin Ananyev --- lib/bpf/bpf_jit_x86.c | 2 +- lib/bpf/bpf_load_elf.c | 2 +- lib/bpf/bpf_pkt.c | 2 +- lib/bpf/bpf_validate.c | 8 ++++---- 4 files changed, 7 insertions(+), 7 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_load_elf.c b/lib/bpf/bpf_load_elf.c index 2b11adeb5eb1..02a5d8ba0d07 100644 --- a/lib/bpf/bpf_load_elf.c +++ b/lib/bpf/bpf_load_elf.c @@ -80,7 +80,7 @@ resolve_xsym(const char *sn, size_t ofs, struct ebpf_insn *ins, size_t ins_sz, if (type == RTE_BPF_XTYPE_FUNC) { /* we don't support multiple functions per BPF module, - * so treat EBPF_PSEUDO_CALL to extrernal function + * so treat EBPF_PSEUDO_CALL to external function * as an ordinary EBPF_CALL. */ if (ins[idx].src_reg == EBPF_PSEUDO_CALL) { diff --git a/lib/bpf/bpf_pkt.c b/lib/bpf/bpf_pkt.c index 6e8248f0d6e4..701e8e2c62a9 100644 --- a/lib/bpf/bpf_pkt.c +++ b/lib/bpf/bpf_pkt.c @@ -169,7 +169,7 @@ bpf_eth_cbh_add(struct bpf_eth_cbh *cbh, uint16_t port, uint16_t queue) } /* - * BPF packet processing routinies. + * BPF packet processing routines. */ static inline uint32_t diff --git a/lib/bpf/bpf_validate.c b/lib/bpf/bpf_validate.c index 7b1291b382e9..eb8016ef196c 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 its fields don't violate particular instruction type restrictions. */ static const char * check_syntax(const struct ebpf_insn *ins) @@ -1954,7 +1954,7 @@ log_loop(const struct bpf_verifier *bvf) * First pass goes though all instructions in the set, checks that each * instruction is a valid one (correct syntax, valid field values, etc.) * and constructs control flow graph (CFG). - * Then deapth-first search is performed over the constructed graph. + * Then depth-first search is performed over the constructed graph. * Programs with unreachable instructions and/or loops will be rejected. */ static int @@ -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 other nodes have exactly one * outgoing edge. */ switch (ins->code) { @@ -2251,7 +2251,7 @@ evaluate(struct bpf_verifier *bvf) idx = get_node_idx(bvf, node); op = ins[idx].code; - /* for jcc node make a copy of evaluatoion state */ + /* for jcc node make a copy of evaluation state */ if (node->nb_edge > 1) rc |= save_eval_state(bvf, node); From patchwork Thu Oct 14 21:56:20 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 101699 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7024AA0C43; Thu, 14 Oct 2021 23:57:15 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 94D3D41194; Thu, 14 Oct 2021 23:56:49 +0200 (CEST) Received: from mail-pg1-f173.google.com (mail-pg1-f173.google.com [209.85.215.173]) by mails.dpdk.org (Postfix) with ESMTP id 923A841185 for ; Thu, 14 Oct 2021 23:56:46 +0200 (CEST) Received: by mail-pg1-f173.google.com with SMTP id 66so6737830pgc.9 for ; Thu, 14 Oct 2021 14:56:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=g3r8TxAy2wQz3H1vAHvVgc6zAes/kF+IIbTpWHbSsgg=; b=KLPzWBXB4M0+It4RTWEwRR1qomyzCiOwkQvIwCwIkJuStLdXymGJsdHdoOdxlxnC8f DicnJRqwcU+J9OFP+FHaz86vrmVfHwB4A1zS0l3muMIWvgRPFXDNAigqTdMGHCx5BowF yYM5p3YDY9r1mpEdz/5b9M0hO5Ek+chLFW73pLhjG9T/sAj1T6tuctl1+YOERuNfqRbE ZDI/uKr4lREE6pwTGP3YuDA+w6YqpThkIth2RkOM3RZ0KRw9WUTr47Q8Ylr7YCMJyGRL go1rEsrtQlFwP1YmLZXU/zbeEW44FEedoMgwVf0dpg4HTtZsN3Ky1G5k5Ivd/2bXOrYn 0skg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=g3r8TxAy2wQz3H1vAHvVgc6zAes/kF+IIbTpWHbSsgg=; b=BsUZZGXwlG8jI/6s4kFCd9cj+lKJaS6gcDKHhVIQdRPVQLIM/4twmbBwfwsDNw1Le7 pG2jzewo1N9qrfi3Y1bNHNI8SLKVn/HjjXF9D4gAJCsAUB00UX+8mz40yebnck1EqFsC To2WnDo4TKzvTyoI4IGrfVAgWOwhjyEHFOc6az7qgOUgci9ce2psWBwfJlXT/krFf9Fj AHxDJvPY283d0AAyigVwuYL1TlzB/IcS9k2+rMkTtUi91yXF05KQE92k1lbXJl+oH9Ys 7tFurMAGsoGJ8ZLCOKI1WTPwoNAsgYMvUZKT26N5clN5Fnt9aeoTiQP4lxb+7bdfTuZy x0nQ== X-Gm-Message-State: AOAM532/+q/XFdKSKaki3WsxRGFMTW+QT79ojt6VLecSt0BtCNabI0ZE 0GvIcuBEIplekxxoBO1x8m4f40WznZruTA== X-Google-Smtp-Source: ABdhPJw8mSg14R5UxuFS84nACvmBAl68NJSqj3r1f+1PuOquPNN8MoiZ65W6sPtqHKpUmPYGxSKLNA== X-Received: by 2002:a63:f90b:: with SMTP id h11mr6145715pgi.165.1634248605434; Thu, 14 Oct 2021 14:56:45 -0700 (PDT) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id h13sm3076741pgf.14.2021.10.14.14.56.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Oct 2021 14:56:44 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Konstantin Ananyev , Bruce Richardson Date: Thu, 14 Oct 2021 14:56:20 -0700 Message-Id: <20211014215631.181747-8-stephen@networkplumber.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211014215631.181747-1-stephen@networkplumber.org> References: <20210909175648.174258-1-stephen@networkplumber.org> <20211014215631.181747-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH v3 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 Acked-by: Konstantin Ananyev --- lib/acl/acl.h | 4 ++-- lib/acl/acl_bld.c | 2 +- lib/acl/acl_run_avx2.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/acl/acl.h b/lib/acl/acl.h index 4089ab2a0462..f5739a475cf0 100644 --- a/lib/acl/acl.h +++ b/lib/acl/acl.h @@ -45,7 +45,7 @@ struct rte_acl_bitset { * Each transition is 64 bit value with the following format: * | node_type_specific : 32 | node_type : 3 | node_addr : 29 | * For all node types except RTE_ACL_NODE_MATCH, node_addr is an index - * to the start of the node in the transtions array. + * to the start of the node in the transitions array. * Few different node types are used: * RTE_ACL_NODE_MATCH: * node_addr value is and index into an array that contains the return value @@ -66,7 +66,7 @@ struct rte_acl_bitset { * RTE_ACL_NODE_SINGLE: * always transitions to the same node regardless of the input value. * RTE_ACL_NODE_DFA: - * that node consits of up to 256 transitions. + * that node consists of up to 256 transitions. * In attempt to conserve space all transitions are divided into 4 consecutive * groups, by 64 transitions per group: * group64[i] contains transitions[i * 64, .. i * 64 + 63]. diff --git a/lib/acl/acl_bld.c b/lib/acl/acl_bld.c index da10864cd870..f316d3e875ef 100644 --- a/lib/acl/acl_bld.c +++ b/lib/acl/acl_bld.c @@ -1494,7 +1494,7 @@ acl_set_data_indexes(struct rte_acl_ctx *ctx) /* * Internal routine, performs 'build' phase of trie generation: * - setups build context. - * - analizes given set of rules. + * - analyzes given set of rules. * - builds internal tree(s). */ static int diff --git a/lib/acl/acl_run_avx2.h b/lib/acl/acl_run_avx2.h index d06d2e8782d6..0b8967f22e70 100644 --- a/lib/acl/acl_run_avx2.h +++ b/lib/acl/acl_run_avx2.h @@ -125,7 +125,7 @@ acl_process_matches_avx2x8(const struct rte_acl_ctx *ctx, /* For each transition: put low 32 into tr_lo and high 32 into tr_hi */ ACL_TR_HILO(mm256, __m256, t0, t1, lo, hi); - /* Keep transitions wth NOMATCH intact. */ + /* Keep transitions with NOMATCH intact. */ *tr_lo = _mm256_blendv_epi8(*tr_lo, lo, matches); *tr_hi = _mm256_blendv_epi8(*tr_hi, hi, matches); } From patchwork Thu Oct 14 21:56:21 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 101700 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id D578BA0C43; Thu, 14 Oct 2021 23:57:20 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A15A14119A; Thu, 14 Oct 2021 23:56:51 +0200 (CEST) Received: from mail-pg1-f182.google.com (mail-pg1-f182.google.com [209.85.215.182]) by mails.dpdk.org (Postfix) with ESMTP id F0D7C4118A for ; Thu, 14 Oct 2021 23:56:47 +0200 (CEST) Received: by mail-pg1-f182.google.com with SMTP id r2so6730133pgl.10 for ; Thu, 14 Oct 2021 14:56:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=YhKzcukIPnuFq2gmD/5xkP4Th29ZYZ+ww6uH6h8RZ2c=; b=Pvkc5xW5q4ZU6KhbK3B2n18jlQcp+zqFvc2b59BP1+u/H+IEIY47xQ8VFTJnp6Afhh 6yA8CD072uXCWJBT2dcR4EZ2VD00VHEjCb8KfH24/Qto3oO8zQVfoTZCiGFJpfGT7BV0 1vMKqH2f5HmiXtc4BHtvDCDV/cysAn1klTuLcnt3/JEiRWDsDlbFHT4SfT78ZbmeQM8x 2DOSo1A4X2qVu8u2J4MvSyPb3qqXtoyj4t0qCAZezmnykB+Sm4Gyw/KSTKuB/VKPjv90 Q7dXa2cejYm+in/5/cWt2dfcpp3Maj9X9oTzWuz0UlMCmlWa8CAsOfP3g4/3ZTaD2Qa6 vkaw== 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=w0xaaMeXlxgSTunN3zH0jy4j9ZUQt9Y+uXV3LW68p9d6hJn8C6OYXY32NWMV6+0GGA JHpSveL3I4ooF3aju/eAVn2HSJHhVtVSqSaSzz0aXxpm5Mwybe/+rtcY6eICaC/CJBYa LQRm20m97Aen+8HJA5hw8bQF76jCx9TWLF4ajO5CH067dbKn2lFR50PdwWAzVBGsRISF OIyeig59BwfjdFDihOngPtw/wXixzGJAuyi6wLn6HYdjrf9PTAwwT6OJOeQ/KzBls7Pb +IqdggVMD5aW/b/1nJ6RCajof1hnD1zZaQE8u9EguNPnq2k5v73AXxpBwIB5piCYCnpp KAUA== X-Gm-Message-State: AOAM533s3O642NrmHjhpnC2J1H/2bkEco5p75B/lyay1M8t6BB7Ep3SO QP7xrLfNaXqKAXbcCWA20WcE/R3wTymSmA== X-Google-Smtp-Source: ABdhPJzHvqblQv7XYcV2ou/M9G+pEJiUKRGu4aLsRcDi39AdyBW/v8g2BgP3yWU6YsGD5mDz49ofHw== X-Received: by 2002:a05:6a00:16cb:b0:44b:bd38:e068 with SMTP id l11-20020a056a0016cb00b0044bbd38e068mr7935432pfc.34.1634248606733; Thu, 14 Oct 2021 14:56:46 -0700 (PDT) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id h13sm3076741pgf.14.2021.10.14.14.56.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Oct 2021 14:56:46 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Ray Kinsella , Dmitry Kozlyuk , Narcisa Ana Maria Vasile , Dmitry Malloy , Pallavi Kadam Date: Thu, 14 Oct 2021 14:56:21 -0700 Message-Id: <20211014215631.181747-9-stephen@networkplumber.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211014215631.181747-1-stephen@networkplumber.org> References: <20210909175648.174258-1-stephen@networkplumber.org> <20211014215631.181747-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH v3 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 Acked-by: Ray Kinsella --- 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 Oct 14 21:56:22 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 101701 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7C075A0C43; Thu, 14 Oct 2021 23:57:26 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B2EEB411A3; Thu, 14 Oct 2021 23:56:52 +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 4CB8D41191 for ; Thu, 14 Oct 2021 23:56:49 +0200 (CEST) Received: by mail-pj1-f44.google.com with SMTP id g13-20020a17090a3c8d00b00196286963b9so7924042pjc.3 for ; Thu, 14 Oct 2021 14:56:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=E//6jWo9TErvPtH4wXEHKxKu8toRSUVWDZ8gkiiXWwA=; b=aE4k+nEqVp8uJ9wvaffdD8PrF/cm9kzvNF3CV4sVR42u8lqCNcKyvoONoFVbUyLVEH izc/AA/pSOVLCbONHbTsKzA/VTXNBEPNk03kX+NFikuMxbZAVm7BAX8FEXP5IAMFi5IX 6emn6WS4/7NZPeFVZ7qRBWghxZyVyGAj90Q7UbCE1G2pjbHiwplaDSJj69cjL/XDNcmx bwGnt8m51ZYVlBn+8X6pYufCj+rsNA7zTUSHmw76b9j6lU96Lzr7fjH0hRNvdWKdHXx3 NxhxO+ftGFX2tKhx04Et6Lt7QglRCwI5DAAcJqf8chJhfDkJTDCFFe59qrrpxEPGvnKf KHUg== 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=E//6jWo9TErvPtH4wXEHKxKu8toRSUVWDZ8gkiiXWwA=; b=Y2ix9i2SHhfeDhMTGAnu208NeAptX+OwMIeBxd0XKAs/8+szBLXX2SUYomEDr1/W73 olbA1bV4HZJ2cMg+rr0a3UVe4ISVTfB2e/89022SRA7fbkAgEN66ND3MbdC+7mLJHHA2 PCzz/42lam5uKZd2E+Yvz/uZDxa1IcMri8ntHTlTqpuM9zJXmqkHMSwtZUkTDfgO/SFg csNE8WDQqDcEmcQCVlwPBZ15b9hovWriu/XaoLpFkBzMJuwI/f0YyUbdQFl/qwzwmEeA wACmisF9wvLsO8Q29zRUgUmRjgrNjKqmsO0n5/yOBhWGlwF5bIVTVMRSV7zzXv5fYwkD JQxg== X-Gm-Message-State: AOAM530fiHM3UN5B6kRYLu5DSOzIVpvLP5JbiDL+oUDlgd21qlkmgqjR uzq2oFi3C0wnth1m4s0dj6IRtehU5kghng== X-Google-Smtp-Source: ABdhPJzsrlcouPLzFNo2RjLYmv9xWU0tJM/Y3sETG5ag1XljUFovElIGD3wSujfQxwXdx4Hvbv/lUQ== X-Received: by 2002:a17:902:8ec5:b0:13a:2789:cbb0 with SMTP id x5-20020a1709028ec500b0013a2789cbb0mr7425555plo.60.1634248608198; Thu, 14 Oct 2021 14:56:48 -0700 (PDT) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id h13sm3076741pgf.14.2021.10.14.14.56.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Oct 2021 14:56:47 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Olivier Matz Date: Thu, 14 Oct 2021 14:56:22 -0700 Message-Id: <20211014215631.181747-10-stephen@networkplumber.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211014215631.181747-1-stephen@networkplumber.org> References: <20210909175648.174258-1-stephen@networkplumber.org> <20211014215631.181747-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH v3 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 Acked-by: Olivier Matz --- 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 9f6deb9c7ef3..dca940c2c5ab 100644 --- a/lib/net/rte_gtp.h +++ b/lib/net/rte_gtp.h @@ -142,9 +142,9 @@ struct rte_gtp_psc_type1_hdr { /** 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 Oct 14 21:56:23 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 101702 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id C2076A0C43; Thu, 14 Oct 2021 23:57:31 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A0A0B411B0; Thu, 14 Oct 2021 23:56:53 +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 A2C4141199 for ; Thu, 14 Oct 2021 23:56:50 +0200 (CEST) Received: by mail-pj1-f54.google.com with SMTP id ls18so5777350pjb.3 for ; Thu, 14 Oct 2021 14:56:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=GO6zi7yYk6gUCecp8WEqPybZVfqjLyzjakB1sU0bU9E=; b=FC7eByOt8yViD0S3p9ZlEc9RqoIsq5FdvfLRKGuI7k6dIQJFC6845G4YpavDjouMKs lXnE5fXW97HinahDEakmnyc1IXY8lDwEBJIAvkiOM41oGDA3eayAk0CexE6MIIWHjX+D CzHxBjYrfX3E3tmyp64RiTM/JTUy+7L1RJHguGJsln5HkMp8g1gzrnKyalzWM2BBtt52 3I+NMHOC9m19ZTQ3Ff4meseW7ztyo3mQyf1Z/pKn4WCXVhNNFgGKh64VORJTpgspw7Fi PsAMa7zI0jUNu5DL6hoCtFk1jcb8zLYxa70CjxLrZhY6hthyb3KilseufI5ADOoNJa2v jXjw== 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=GO6zi7yYk6gUCecp8WEqPybZVfqjLyzjakB1sU0bU9E=; b=iERmJfmoakeZK4Ty5SMWui09a+lQNN2K1gzHfHRW5XXlz1ySbfiknPc8pktd7a8P0D 8qHEEfNoIWkiTG+jdkcjgSVyL5BPdBK3RMr9nKb5xopnIMao90PletPDntEOV8jkFsDq w09nz7KsTcvormtUa6HwvfjYxypSmolsK2A4IeNhdxnuLDhK6H2OMnsAz9YCbfo5C1R4 yMscqQYbKdqzN1BTcZZNZ/8LyIIo+u5tRtbEyKwX5D4pN9qmXZYGOuDpEBO5cLWTVZR/ Cw4DkYhFMuqKLau2usPaYUdb2KQxsO2pVlZwRhOoLcAojvZuKNNYmtP/QnZDxnDSRTVo sp0Q== X-Gm-Message-State: AOAM531swhVrezcuMogJGnwK8uiA/XQZ0gF1Q2uB+3+U21jIJ2mad4wV eNnwLkCgsswH7+XeA9lX4Mw+TqsSC83jyA== X-Google-Smtp-Source: ABdhPJx7/L/M/hEhxqzGCHsmWdq0VsuecEHvem/stPLInViLUgcU1ayJFwtRi4U6y7gMZyIQ4f3c+w== X-Received: by 2002:a17:902:ed94:b0:138:ca3a:425d with SMTP id e20-20020a170902ed9400b00138ca3a425dmr7482140plj.78.1634248609512; Thu, 14 Oct 2021 14:56:49 -0700 (PDT) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id h13sm3076741pgf.14.2021.10.14.14.56.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Oct 2021 14:56:48 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Nicolas Chautru Date: Thu, 14 Oct 2021 14:56:23 -0700 Message-Id: <20211014215631.181747-11-stephen@networkplumber.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211014215631.181747-1-stephen@networkplumber.org> References: <20210909175648.174258-1-stephen@networkplumber.org> <20211014215631.181747-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH v3 10/18] bbdev: fix typo in comment X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Yet another spelling error found by codespell. Signed-off-by: Stephen Hemminger --- lib/bbdev/rte_bbdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bbdev/rte_bbdev.c b/lib/bbdev/rte_bbdev.c index defddcfc2843..6a97dd85e635 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 Oct 14 21:56:24 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 101703 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 74F98A0C43; Thu, 14 Oct 2021 23:57:38 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E4A14411BE; Thu, 14 Oct 2021 23:56:54 +0200 (CEST) Received: from mail-pj1-f42.google.com (mail-pj1-f42.google.com [209.85.216.42]) by mails.dpdk.org (Postfix) with ESMTP id ED1824119E for ; Thu, 14 Oct 2021 23:56:51 +0200 (CEST) Received: by mail-pj1-f42.google.com with SMTP id na16-20020a17090b4c1000b0019f5bb661f9so5839749pjb.0 for ; Thu, 14 Oct 2021 14:56:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=nk/O9HxkMSpJkVetbXbb+HZZxAUtJ7C+DSxuC/45FFs=; b=sQd+KaiG9D3cqi4IedVEeqLMG/ejnVod2o6WJ4K0ZoPtwuwJ/iUkpguxOUGxH0HdhR bFj0gVNVr7spUxZw2O9VS5eyPLPGeLwuMdZzJViMs21mkkv+2MR4XzLUy9a2UkWfwzhS jFTgy1gwFsxv5X6s6PX82wDFCd54c6iKHpIZNCPEc/YMelQ6/EQMoYFt7L9+fPEWCqLH nzsLR75q420n/StHDjDyvh1V+ZiRsqC3+TNRVMw/DIe2XuomBuoWpBSNj1QbwuCodo0V Sg/J0DQVLp1Hk7PqMs3Q6OynyzrY59wPKd04YNJfwkYVeK1yumZVMw/qBJWv1LwqUDTw YMbA== 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=nk/O9HxkMSpJkVetbXbb+HZZxAUtJ7C+DSxuC/45FFs=; b=tzLlgGo+/8VR/JgLVslBUw+yvy+P8k37kt8+6zaiTNaBMTGSEBRP9BtBBkH9Qu+MBW 9STCdIxRqT/jH4edeHOSlkO9Vy3+X11q1qqdhnJFhBFMjnTdTzOiwhpVH3FBB+mUgkCJ uIhCkO2uo7S2818SQTfQqpYv2w3w38JwKoZe9ygIU/x9v0hpJS2rzUeX0oBXEjCoousl I461FN7vXjKNCU/nZemFtZthYnxwlizRidSzmnSTMY2TnADHmxWtA6fw/TCv0tKl0muQ 1kehMAGH9DGqrO3saoaqnduaQr7CpM06OOetezzz9wkeBjQJnO/3HKki8xFtVzRIECqU CV5A== X-Gm-Message-State: AOAM5335L5tbK8897l7n6UiXakITdJtZ3yZRLfrg1N+jNTjl/w80ZI/v ACuhqkrJ0p47LtYRwaIu6hK5spLTzcWEYw== X-Google-Smtp-Source: ABdhPJwuqjaFHO/YwsZ8atkwxOXjPvVroHda75h6Q5Q2i0w5EhnEj4l/9M51IcUqvQ+h+FYKzzVTNQ== X-Received: by 2002:a17:902:7c8d:b0:13a:768b:d6c0 with SMTP id y13-20020a1709027c8d00b0013a768bd6c0mr7479891pll.83.1634248610873; Thu, 14 Oct 2021 14:56:50 -0700 (PDT) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id h13sm3076741pgf.14.2021.10.14.14.56.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Oct 2021 14:56:50 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Cristian Dumitrescu Date: Thu, 14 Oct 2021 14:56:24 -0700 Message-Id: <20211014215631.181747-12-stephen@networkplumber.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211014215631.181747-1-stephen@networkplumber.org> References: <20210909175648.174258-1-stephen@networkplumber.org> <20211014215631.181747-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH v3 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 Acked-by: Cristian Dumitrescu --- 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 490ff60c0d02..4b7825956558 100644 --- a/lib/pipeline/rte_swx_pipeline.h +++ b/lib/pipeline/rte_swx_pipeline.h @@ -633,7 +633,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 Oct 14 21:56:25 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 101704 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id CBCCEA0C43; Thu, 14 Oct 2021 23:57:43 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F059E411CA; Thu, 14 Oct 2021 23:56:55 +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 40B2B411AE for ; Thu, 14 Oct 2021 23:56:53 +0200 (CEST) Received: by mail-pl1-f180.google.com with SMTP id n11so5096527plf.4 for ; Thu, 14 Oct 2021 14:56:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=geURE0yS6NJiuFAuMUPZBmJe8lThMRLffydCo6NI+Yw=; b=6CbhIwKwWrOBZnDZOhrRdARXoZGpMPuKGVqirANNLTPFToQUq5IUlq4K/nCZZyrd8L NloMEFXjfV060+V0UCq2lh/m/is5j/rrtJvLhHh7PxaZSm+CHlPXOpa01om5iwMOouKO dwdueEBX+FfxPvc6oro8DucPkxRaJwAYeTvN5grvmxujiHdEMgKnGOtxs2ftMI0n9/Ra rkoQgUGph0sJW2kqP51iQG4qCSDO6AXMkw5wHW0/RJd9tShOMLvxJrf8egciTUZTfviN wjwxayIMTnqu/dFZnIcNw4u2k9KZSaURfJYh+HdTN5X8fFfMedr0w8+qFxYP42xVqw9G Zy+g== 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=geURE0yS6NJiuFAuMUPZBmJe8lThMRLffydCo6NI+Yw=; b=53y+9bEUqBZRbwIXXyAbP1fDlB1Sj6w9YF7ZkYoq5RePMO4msXBYxfbCqzFo8AbsWm zuGnxf+4DMJNhbn6Kb23ovBR5yJdO+SIgrFd8xbHnV/CDorHjxclXfpkyFOdpIQcrokJ toi88H1pjTK1eNc7cnAHbIMCAOw/ZkypQKwtvi5xzL3jaJMcOlZH/VIDU1D+qDCGEVnC MSWK3qogMZSzEp6VvUcdUCKINIVlCXpQ05UlXI8GusroH4BxZORXZ7Yme60q7bN9p0qg VKi7a0k4LnBIs4RWzxoquT9714FPxTqgcIdu4oVjgJfwxVcQFP5zCCjyCF4XveWEzhuN LDXQ== X-Gm-Message-State: AOAM533zwHyI4a5rvxcUpmkxcy0IZIZyt/CK8YT4HCaRjV3TWsw/o11V Mlwt5InwT7yrQ/Np+vs3XTmx7BSig1nYTg== X-Google-Smtp-Source: ABdhPJxTR0R4x2bQPVExWnm6y+PDOBkg6OiX0RTDnvqQIavYjX9wI7y1JZX+7eRIHhVza2TogJuHvA== X-Received: by 2002:a17:90a:c688:: with SMTP id n8mr22064310pjt.131.1634248612197; Thu, 14 Oct 2021 14: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 h13sm3076741pgf.14.2021.10.14.14.56.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Oct 2021 14:56:51 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Yipeng Wang , Sameh Gobriel , Bruce Richardson , Vladimir Medvedkin Date: Thu, 14 Oct 2021 14:56:25 -0700 Message-Id: <20211014215631.181747-13-stephen@networkplumber.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211014215631.181747-1-stephen@networkplumber.org> References: <20210909175648.174258-1-stephen@networkplumber.org> <20211014215631.181747-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH v3 12/18] hash: fix typo in comment X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Yet another spelling error found by codespell. Signed-off-by: Stephen Hemminger --- lib/hash/rte_thash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/hash/rte_thash.c b/lib/hash/rte_thash.c index 696a1121e241..9c3ccb25be6d 100644 --- a/lib/hash/rte_thash.c +++ b/lib/hash/rte_thash.c @@ -28,7 +28,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 Oct 14 21:56:26 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 101705 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 18CF4A0C43; Thu, 14 Oct 2021 23:57:49 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E1F88411CC; Thu, 14 Oct 2021 23:56:56 +0200 (CEST) Received: from mail-pl1-f182.google.com (mail-pl1-f182.google.com [209.85.214.182]) by mails.dpdk.org (Postfix) with ESMTP id 78F44411B4 for ; Thu, 14 Oct 2021 23:56:54 +0200 (CEST) Received: by mail-pl1-f182.google.com with SMTP id l6so5074635plh.9 for ; Thu, 14 Oct 2021 14:56:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=eFOTpf1ItuTSbd0uW3EE82eF+R9njqfA+lfeOdEESKA=; b=p0PjuYj8rggRcUJxYBC6JEJ2Qp0hgxFJssEWl5IaZHa3SmNa4thLMi/IL0POdx6wUe Xvh1zKfVT3ulmZoR7g3iB0EtfsTRadKLoc+nw1EV1SlJ3eGv25topNehNsmF9ChSiGZw yP5gPmcZoCG5PJqQNryfrDgj1Edct2b95IMJ3ptnm/+ajr1Uiag84EDsn4NqFoQBTy/p 5uDCJIfDI+IYlpXETDSiTsn86LjKngLB+RiK6upb3JFiaQaHGFxKw9I6SSTllTILkUx9 zq4TtOW18eM9y354o5Fsd2SlfZNNeuk073nQhVnNEX6I9p+NgQk+sHRXlwJ0vdwpWcd+ Nptg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=eFOTpf1ItuTSbd0uW3EE82eF+R9njqfA+lfeOdEESKA=; b=bOVdb1Fz5a4dJO5sBIGg/P01Mwl0HrBdjvsmFn2p9HLDkpcLwAGROaeKgsuSDAmhQL EIRi4s7puqT4oSh7s60vK3uQsy2/ZLscWMlXcPAkjrFThYz3hzmZw+XsImRqGGiBdfuq +oav/iCAyvkrXs5pCrWP1h+mleLjmj09lomGo9Vm0ebQv5K/qh4f7DB6gO58NfB0nFMw 25YBP/oKYJc3aHsPRTEsVp4oMPQ5vHDYS7jRN5DhHlk7WYg8qfFgNb6ZdiWD0i4ydgWD z/HRo46N2EJqoGs6V8RruSeyD7a4B2Ju5igPwlFJiVjdtqvAyYVBP+Y6XVpTUd+H6mPB 5JZA== X-Gm-Message-State: AOAM533f5Pzn5RyWKx9stleCr0zYBBdlk0BNi+JqXAj/afx0k6PUJDZX xGS+4KA3yhpgN+gkcMuw8WAM0p7ax9SfZA== X-Google-Smtp-Source: ABdhPJzqJdnQy3QJAKSv4EKUUe1PmDNI9h1+T5VPKk6QEkKEA/XNr5xY33xUq3GbimwtZGVLVOhYjg== X-Received: by 2002:a17:90a:73ce:: with SMTP id n14mr23826027pjk.215.1634248613390; Thu, 14 Oct 2021 14:56:53 -0700 (PDT) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id h13sm3076741pgf.14.2021.10.14.14.56.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Oct 2021 14:56:52 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Vladimir Medvedkin Date: Thu, 14 Oct 2021 14:56:26 -0700 Message-Id: <20211014215631.181747-14-stephen@networkplumber.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211014215631.181747-1-stephen@networkplumber.org> References: <20210909175648.174258-1-stephen@networkplumber.org> <20211014215631.181747-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH v3 13/18] rib: fix typo in comment X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Yet another spelling error found by codespell. Signed-off-by: Stephen Hemminger --- lib/rib/rte_rib6.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rib/rte_rib6.c b/lib/rib/rte_rib6.c index 96424e9c9f4f..4a6f29b0040d 100644 --- a/lib/rib/rte_rib6.c +++ b/lib/rib/rte_rib6.c @@ -199,7 +199,7 @@ rte_rib6_lookup_exact(struct rte_rib6 *rib, } /* - * Traverses on subtree and retreeves more specific routes + * Traverses on subtree and retrieves more specific routes * for a given in args ip/depth prefix * last = NULL means the first invocation */ From patchwork Thu Oct 14 21:56:27 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 101706 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 39160A0C43; Thu, 14 Oct 2021 23:57:54 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 03894411B8; Thu, 14 Oct 2021 23:57:01 +0200 (CEST) Received: from mail-pj1-f41.google.com (mail-pj1-f41.google.com [209.85.216.41]) by mails.dpdk.org (Postfix) with ESMTP id D1907411C1 for ; Thu, 14 Oct 2021 23:56:55 +0200 (CEST) Received: by mail-pj1-f41.google.com with SMTP id ls18so5777510pjb.3 for ; Thu, 14 Oct 2021 14:56:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=PmodIwvYH+OOKWa1wAp8iVPfYtmFhqhVBhIsxeIQCKY=; b=GKJXU/MfgZmEpxPixqonBuiO/I0BvZMMebBlfOydyfIi5XzlvIQicIWIFtHgGTtP4l goTW6UEkbfchu4TCWqIo+SeE/vYpHEhv1K/e58ULH5CO9KRGVk/YRrmqL9rORhMWQb0p dK4BbN5HmT22p0eQs/Pi89Z07BykGVLocAIIdJm3KN5NR1r1mwlPrylzUFisYOsbK+6U mzKXE4coUjnMq1B1KTj1mKeeQAE0LWlYaDOp+1VJcSc4rHZP1rApo6sdBudAB8Lp3fBI t0VWa6n7AXE+0hYy+cUAH8I/S6LvnpHg0F0HofLbVZY5D4ptatzlmkjpqCuyGx3+MqhR dT/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=PmodIwvYH+OOKWa1wAp8iVPfYtmFhqhVBhIsxeIQCKY=; b=cvpHgSZT3gLYKn3bimMGiEVT9GH1bktKqd0ngBrwNRAgSYUm9GSBjC2z83nBQvZ3xt uTVycXtcCNZS1WWsNnjCvCCLDI/iMhZ/Q3CWcQQmyS3jWL5YFFLN5WlKKeYLKYUgaD46 zIEDxnUKpIssYyfMYBYbB28fYtRSmhOrxFklLHdqRnyng06MV8SYeUOF1nm1dnnVhnXF fB7Jsjx1iyga8DK/+Iig30iKuOI8fFS3KPTK2SKxUMtKbKfpm0hOwxPdripU6waW6h6y IEHO9sG1AVOwPjhN2y+005IdnvwQdEgtR2H5FtOE+ffKA13rFZnBIwSj5N7czTTQRxxg sdEQ== X-Gm-Message-State: AOAM530SU+vbQKbauMSgzSwqaB7jbC6jG9tJl7Sjq6YB7NaYN5SZbkjb /w8LsY6qMVvYiImTNeijaDEcL223ohF5sg== X-Google-Smtp-Source: ABdhPJync6d20/GQN8/a4ZpB161OpnpqgbgG4mRO8bNJR1Edyk3FhF7ZezeE17trnlXFhTUP2pZT5Q== X-Received: by 2002:a17:90a:8b8d:: with SMTP id z13mr23251561pjn.214.1634248614755; Thu, 14 Oct 2021 14: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 h13sm3076741pgf.14.2021.10.14.14.56.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Oct 2021 14:56:54 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Cristian Dumitrescu , Jasvinder Singh Date: Thu, 14 Oct 2021 14:56:27 -0700 Message-Id: <20211014215631.181747-15-stephen@networkplumber.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211014215631.181747-1-stephen@networkplumber.org> References: <20210909175648.174258-1-stephen@networkplumber.org> <20211014215631.181747-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH v3 14/18] sched: fix typo in comment X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Yet another spelling error found by codespell. Signed-off-by: Stephen Hemminger Acked-by: Cristian Dumitrescu --- 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 Oct 14 21:56:28 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 101707 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 26B3FA0C43; Thu, 14 Oct 2021 23:57:59 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 468A2411D7; Thu, 14 Oct 2021 23:57:04 +0200 (CEST) Received: from mail-pj1-f49.google.com (mail-pj1-f49.google.com [209.85.216.49]) by mails.dpdk.org (Postfix) with ESMTP id 86951411CF for ; Thu, 14 Oct 2021 23:56:57 +0200 (CEST) Received: by mail-pj1-f49.google.com with SMTP id pi19-20020a17090b1e5300b0019fdd3557d3so5767903pjb.5 for ; Thu, 14 Oct 2021 14:56:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=A8W7kMdJ0pG/gObq1c2gfsfOMxKHn9S0DOA7U95S0FE=; b=fobSlyZiOEePQaA6qnJAzvFlPyb8TotSCpj1sg25QpvKXc5QHslkrevJ6xFSv1EgTX hA6OH1cT3QwVz+3tMOUlQgBzBIGf9hVl4qGi/9W/L4hyfINSc+3wggcipNMVLX2d6d5k p2cY/np5wH9ntcg1iDqAdYCa15I75XRc91VVY4W1yL1FrjPiqC/fLp63hcHKkr4y4El+ YcBg2KdoCmT5o7yPyI+We6ozPj1N8AWM4UczZFeJKlGwHDi9jZtkKXug9u63zO2J2743 eKGy3zNGhP3HNmw6Jy0qt5WvMPhFb7jpBr91Iy5RzThacmsm4BwpB5CL442EVcOpSp6y /bCw== 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=A8W7kMdJ0pG/gObq1c2gfsfOMxKHn9S0DOA7U95S0FE=; b=CAs5ybOW1iu06adzmYrCL2DlQoTFoRI6PHuBfZkCWGX9jROwjMC1DdnqT04JqTqHYU 0adS4DLtwLHqVUkxz5Qo1k/exchN2y/YB0QV6rUGvDhF6MuykZqoEInmf0TBhJsqhw+f BiQ7wS2DO3ps/6M3MfXBujKTnE5ExDUuQzZPZhFUg+C/WqLE08J8twJMizctVKDn5asx Kd/nkelPwJKxGO4rISqRiljS0ElmIUMXYWcyg+iwao8BsPq3Mm7e5XfjmZXjKbNTuA+v fpgkxKdV4x2lDKXo8FOkcQ0PqHa+PxFCln1/a02zbF/UrZdB3in5LTjYxBNirdi4HxaD ro0g== X-Gm-Message-State: AOAM532O670ymc+kF+2qTvi0P5JMBC4+qr7aQwYYyl/SrltEvb2CFQbq uF5emeEriwofN4jLQ/oUY1a5r1JbE3Nqew== X-Google-Smtp-Source: ABdhPJz5+fnVpnvLqURpJ8UIpX3B+3O+rsg/+35eBHf4O8zbTcELne0Y9B/pqoMIpwh0cxym5bM37Q== X-Received: by 2002:a17:902:da8f:b0:13e:fcb9:2371 with SMTP id j15-20020a170902da8f00b0013efcb92371mr7407066plx.72.1634248616383; Thu, 14 Oct 2021 14: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 h13sm3076741pgf.14.2021.10.14.14.56.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Oct 2021 14:56:55 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Maxime Coquelin , Chenbo Xia Date: Thu, 14 Oct 2021 14:56:28 -0700 Message-Id: <20211014215631.181747-16-stephen@networkplumber.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211014215631.181747-1-stephen@networkplumber.org> References: <20210909175648.174258-1-stephen@networkplumber.org> <20211014215631.181747-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH v3 15/18] vhost: fix typo in comment X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Yet another spelling error found by codespell. Signed-off-by: Stephen Hemminger Reviewed-by: Chenbo Xia --- 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 fd372d52594b..2c4801d9561c 100644 --- a/lib/vhost/rte_vhost.h +++ b/lib/vhost/rte_vhost.h @@ -771,7 +771,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 have been consumed in available * ring * * @param vid @@ -790,7 +790,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 have been consumed * * @param vid * vhost device ID From patchwork Thu Oct 14 21:56:29 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 101708 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 378EDA0C43; Thu, 14 Oct 2021 23:58:04 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3F7AA411E1; Thu, 14 Oct 2021 23:57:05 +0200 (CEST) Received: from mail-pj1-f45.google.com (mail-pj1-f45.google.com [209.85.216.45]) by mails.dpdk.org (Postfix) with ESMTP id ECCB8411B4 for ; Thu, 14 Oct 2021 23:56:58 +0200 (CEST) Received: by mail-pj1-f45.google.com with SMTP id np13so5771337pjb.4 for ; Thu, 14 Oct 2021 14:56:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=BjqF7U/eYni4T0RtcFnsKyoXavMdaHvL5ykQApLeq0U=; b=5zPeiTzGIvghj/nkKVVDaYWGbMMcVsfR02eM5xjmYpkR9JW/p5qKc/eVyo9fnh2FVc rRhkcqwtXU6XU4Ov13LVy3pWm+XZhI4kK94WMrqtOW0acLBWJ7owSHR5+AGZ7urzAgNl fURrQvuMAYMfox9AmZbrJYgxDuGRU8mUbcAhesG8LHnW4iMJfwhefKcp7MSlb4WA/h40 WYUdNeAxXNwJFQLRmKiiHKJosHFGpLsTd+wLhzhUIt9SR7N1u7ygKnQgyMypPaDOtFXX Xr+3ZXtGaaWA7B4DIgpqHXobuEmxw/dt7cbOjXnRIi5TMQbtG57pCxJQIGNTj4QqLlTJ RZ8g== 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=BjqF7U/eYni4T0RtcFnsKyoXavMdaHvL5ykQApLeq0U=; b=4iiw/bPYW2wjbxlhPyB0KiCg36kVyrceNrP7+FNR2fbaaIZ/62yubhQI/U0Oj/tJ2o Tyy3sf1S/kGZ++yJcke5KCZG8HdrLFIoJVwyc7CCYcEgvf2heXWEpofze8tE8w0hOI73 1jM5EaEsimHM/5iImBtW4PUMcQOgbMu7mJQyYZjhQPY9ZElFpqNOfu18pVmfjYWgw2Y0 BET9ZfI2pQgNUdOTEDwa0Tb6Dkzf/JAFv2vt0tJ06C04hxQsiSBW90b2gPUyECh6DM5z WK0BL3+bKEV/xAUkSE6uzK0yALG/QYPMhk4ZqoSsPgutqSsGit6Z4KlnW3sPgrAMSNxD 7bTA== X-Gm-Message-State: AOAM533hyV/84+FSl97JeblUZmsyt4Xv7L0Lw2wjoBRwzLBezNnpPQS1 HNA6bJ/apqn3O97qMSSyA5op4ITcAEy4Cg== X-Google-Smtp-Source: ABdhPJwTcmNO5Y4I0sDHVbnOADzVhVQt7EqP0xbsDZt/nAohKQ8NGefgl9yyOGFg3+4yFKTkldYbGQ== X-Received: by 2002:a17:902:bb81:b0:12d:a7ec:3d85 with SMTP id m1-20020a170902bb8100b0012da7ec3d85mr7464848pls.17.1634248617774; Thu, 14 Oct 2021 14: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 h13sm3076741pgf.14.2021.10.14.14.56.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Oct 2021 14:56:57 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Konstantin Ananyev Date: Thu, 14 Oct 2021 14:56:29 -0700 Message-Id: <20211014215631.181747-17-stephen@networkplumber.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211014215631.181747-1-stephen@networkplumber.org> References: <20210909175648.174258-1-stephen@networkplumber.org> <20211014215631.181747-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH v3 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 Acked-by: Konstantin Ananyev --- 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 Oct 14 21:56:30 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 101709 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 66C04A0C43; Thu, 14 Oct 2021 23:58:09 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 30882411E5; Thu, 14 Oct 2021 23:57:06 +0200 (CEST) Received: from mail-pf1-f180.google.com (mail-pf1-f180.google.com [209.85.210.180]) by mails.dpdk.org (Postfix) with ESMTP id 51EC0411B4 for ; Thu, 14 Oct 2021 23:57:00 +0200 (CEST) Received: by mail-pf1-f180.google.com with SMTP id q19so6660952pfl.4 for ; Thu, 14 Oct 2021 14:57:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=6tZxuBdPOfxMyE9BzNj/mvmB4HrMwqLHDncLFY7ECAE=; b=UNMX91mpk/jHvGn6+/kq6NyXZAQm+f58FRD2gRByAO968hE2DwxV/FzIUpeKBKMs00 pA7qktNL1yNnSQoivQA3Q0ViqxiIHjRurPFK2z4cKu/Eg7sPg80Q22bk/qKn5wmWWFDI 7QrErqr2jTdIlTsKAtL20G+BDIr2A/Qk0TxH8jjOge4/JcCNdWapFHPQNXPKdk55qJ8d 5ZCHcEC0OYXU6XgXOxSc+/EtMbAwyzPajA9ws38VlpNuK8JUSFSgBX8hlATWFROIwU9G HnMS3NDmEe+5ETISaGr2dWy/bFW7M7EWqluuJwQqRsGu4M0bDIHt7tp6qfOxTR1oUOCc zMug== 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=6tZxuBdPOfxMyE9BzNj/mvmB4HrMwqLHDncLFY7ECAE=; b=vgBjKHaVdBUqIws7+nxNe22i4npEf1fvwpEVYrbxXScdV31YABE3xDX+lmNPrjbrH+ hthJzYUMLZowiYDFbn+xxkYCUL4Wwra5cVGvMCKL7W9VyQuCnwEBrufRkirY4LLWMEQK FQgVM40ahUpc8ZDKFzktqbHeV7PvXa3RHSnjWJQ/AbDJNR/m9YKgRVGezYUcvND/CgRe jl/+jG6Yk5ympGXgUS+xybSnoPaC81/kmAKzE1kTduc4wJOKTmZPW9ys/fGF23xb4qT8 SEnabBiILTE2o5SIRZp1pYkKx9k02YG1E3uiEzXqAFXaUCEv74RiB2Kt3L/iBYgeRwYL WuWQ== X-Gm-Message-State: AOAM530I1tQ8tQ1ClPGdKXWMDkNeqElgLgQ8OvzdoVrXAOIwNQrBXVbN +1hDYg881gR9uV3nvW2FhwnaLVOZo0y7/w== X-Google-Smtp-Source: ABdhPJwxNeOf98SLTaYvgXdMZxPMZSUlenEUICEJrEfspb9ezF3flJEMsvkGPphl/pcbM85nyGDpuA== X-Received: by 2002:a62:e51a:0:b0:44d:67bd:53ab with SMTP id n26-20020a62e51a000000b0044d67bd53abmr7913209pff.86.1634248619151; Thu, 14 Oct 2021 14: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 h13sm3076741pgf.14.2021.10.14.14.56.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Oct 2021 14:56:58 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Xiaoyun Li Date: Thu, 14 Oct 2021 14:56:30 -0700 Message-Id: <20211014215631.181747-18-stephen@networkplumber.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211014215631.181747-1-stephen@networkplumber.org> References: <20210909175648.174258-1-stephen@networkplumber.org> <20211014215631.181747-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH v3 17/18] test-pmd: fix spelling errors in comments X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" More typos Signed-off-by: Stephen Hemminger Acked-by: Xiaoyun Li --- 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 826256b0b346..50af096c6a6e 100644 --- a/app/test-pmd/cmdline.c +++ b/app/test-pmd/cmdline.c @@ -3654,7 +3654,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 9c66329e96ee..27907c3204a9 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 @@ -4950,7 +4950,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 8f1d68a83afd..d6620f5f6a47 100644 --- a/app/test-pmd/icmpecho.c +++ b/app/test-pmd/icmpecho.c @@ -54,7 +54,7 @@ arp_op_name(uint16_t arp_op) default: break; } - return "Unkwown ARP op"; + return "Unknown ARP op"; } static const char * From patchwork Thu Oct 14 21: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: 101710 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7E6F8A0C43; Thu, 14 Oct 2021 23:58:14 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 328BA411EA; Thu, 14 Oct 2021 23:57:07 +0200 (CEST) Received: from mail-pg1-f176.google.com (mail-pg1-f176.google.com [209.85.215.176]) by mails.dpdk.org (Postfix) with ESMTP id 27947411D7 for ; Thu, 14 Oct 2021 23:57:02 +0200 (CEST) Received: by mail-pg1-f176.google.com with SMTP id 75so6769392pga.3 for ; Thu, 14 Oct 2021 14:57:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=XURuwcoIF2aay/VnTsutnQ28/2bs9j8Y9NYEtpXaoJU=; b=2qPkcfi4X6UHORc5bWKZoGEHb1JmNsunHIgkI5LKZtBndqwUe0n4sFq7CRq7TIDgKE QNjjz8oV4Lpk/qu8kyrWHOgsK+mgLKUZ2Fh+XRBtUOsbh+cZzFO0sUK2MZalSxDjrS35 cQjoOLkUdqvNUqrqc79AogpC5y6vBPiWnhvshmzhBp1ZapeSBoLHP0GqT+jIgMgxbzjr 33eTkg1fHD1N3G/iXgvlEbT5GSTDcyyc6yqlAS3Xu2p+1LciLnt+46DxsoJOdzQXsESh nIBa0B7OswXRupHluAvlWjVJIjhDTfAnpYtll7dEMsYy8q51+1n/5F3jLIx5mZPisK8z IE5g== 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=XURuwcoIF2aay/VnTsutnQ28/2bs9j8Y9NYEtpXaoJU=; b=Q3ccjWWqu+FcMDADXgUVsW1viqTG/d6xWwtuOjfGPXah58LLR+F1emebbqCnjKdXUY TRz2clIB2blvAOxio1PHIgHSVWMgR89/ncxVpRPDN7lMTPk/mlyQa/eAF2dcLw8LHka2 c4OSLxzuM3D5AURDgac3bCWkVEpU5IflJDHifVY2az56//FayjRu36YpiRaY6FSQaJT4 1bPJ4GzudfCl0TU5mtyFjOg2HxU+Y4RlUyjDb6wzCsYr+LsmylCGqmEBoCHVxFt3xLM2 yPQbfyOvqX/T/9s+c6qfCwUMGRe2FEqkjHj3GWXNR9GimKCSx4fJAoKXD3i0jvU/PcgS x6NQ== X-Gm-Message-State: AOAM533TxovVXT91GYF5s6BUfDYWPVR668CqGEUz7OVCFrzUhA7e/5No X71oWzX42NvDF2x3ov1snvZ/kfcHbkheBg== X-Google-Smtp-Source: ABdhPJyXdI5K7zVcUp2IasIR45iE0IjJIzO/Iv25dzj3c7FZe+R1BvLinzWaVl7yEe90CS909yNyzQ== X-Received: by 2002:a62:148f:0:b0:44c:dfb5:4b82 with SMTP id 137-20020a62148f000000b0044cdfb54b82mr7863683pfu.55.1634248620798; Thu, 14 Oct 2021 14:57:00 -0700 (PDT) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id h13sm3076741pgf.14.2021.10.14.14.56.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Oct 2021 14:57:00 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Konstantin Ananyev , Fiona Trahe , Ashish Gupta , Vladimir Medvedkin , Bruce Richardson , Olivier Matz , Andrew Rybchenko , Anatoly Burakov , Honnappa Nagarahalli , Yipeng Wang , Sameh Gobriel , Bernard Iremonger , Chas Williams , "Min Hu (Connor)" , Cristian Dumitrescu , Robert Sanford , Erik Gabriel Carrillo Date: Thu, 14 Oct 2021 14:56:31 -0700 Message-Id: <20211014215631.181747-19-stephen@networkplumber.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211014215631.181747-1-stephen@networkplumber.org> References: <20210909175648.174258-1-stephen@networkplumber.org> <20211014215631.181747-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH v3 18/18] test: fix spelling errors in comments X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Lots of little typos in test programs. Signed-off-by: Stephen Hemminger Reviewed-by: Olivier Matz --- 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_fib.c | 2 +- app/test/test_fib6.c | 2 +- app/test/test_func_reentrancy.c | 6 +++--- app/test/test_ipsec.c | 2 +- app/test/test_link_bonding.c | 2 +- app/test/test_lpm.c | 6 +++--- app/test/test_lpm6.c | 14 +++++++------- app/test/test_malloc.c | 4 ++-- app/test/test_mbuf.c | 2 +- app/test/test_mempool.c | 2 +- app/test/test_mempool_perf.c | 2 +- app/test/test_meter.c | 6 +++--- app/test/test_pmd_perf.c | 2 +- app/test/test_rib.c | 2 +- app/test/test_rib6.c | 2 +- app/test/test_timer.c | 2 +- 20 files changed, 33 insertions(+), 33 deletions(-) diff --git a/app/test/test_atomic.c b/app/test/test_atomic.c index ce0c259bd785..e4b997827ea8 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 8118a1849ba0..2089432bb766 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 a1b9f062501f..c63b5b6737a4 100644 --- a/app/test/test_compressdev.c +++ b/app/test/test_compressdev.c @@ -2033,7 +2033,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_fib.c b/app/test/test_fib.c index e46b9934fe70..d856b617a77f 100644 --- a/app/test/test_fib.c +++ b/app/test/test_fib.c @@ -159,7 +159,7 @@ test_add_del_invalid(void) RTE_TEST_ASSERT(ret < 0, "Call succeeded with invalid parameters\n"); - /*Create valid fib to use in rest of test. */ + /* Create valid fib to use in rest of test. */ fib = rte_fib_create(__func__, SOCKET_ID_ANY, &config); RTE_TEST_ASSERT(fib != NULL, "Failed to create FIB\n"); diff --git a/app/test/test_fib6.c b/app/test/test_fib6.c index 74abfc7a5d3f..691d89e1ef54 100644 --- a/app/test/test_fib6.c +++ b/app/test/test_fib6.c @@ -162,7 +162,7 @@ test_add_del_invalid(void) RTE_TEST_ASSERT(ret < 0, "Call succeeded with invalid parameters\n"); - /*Create valid fib to use in rest of test. */ + /* Create valid fib to use in rest of test. */ fib = rte_fib6_create(__func__, SOCKET_ID_ANY, &config); RTE_TEST_ASSERT(fib != NULL, "Failed to create FIB\n"); diff --git a/app/test/test_func_reentrancy.c b/app/test/test_func_reentrancy.c index 838ab6f0f90b..36e83bc5872b 100644 --- a/app/test/test_func_reentrancy.c +++ b/app/test/test_func_reentrancy.c @@ -253,7 +253,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; @@ -321,7 +321,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; @@ -387,7 +387,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 c6d6b88d6d9e..923bf9864412 100644 --- a/app/test/test_ipsec.c +++ b/app/test/test_ipsec.c @@ -653,7 +653,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..331ec87d97b9 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..61e225ad6e88 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_rib.c b/app/test/test_rib.c index 3dc48fe1f2eb..20fad70377fc 100644 --- a/app/test/test_rib.c +++ b/app/test/test_rib.c @@ -129,7 +129,7 @@ test_insert_invalid(void) RTE_TEST_ASSERT(node == NULL, "Call succeeded with invalid parameters\n"); - /*Create valid rib to use in rest of test. */ + /* Create valid rib to use in rest of test. */ rib = rte_rib_create(__func__, SOCKET_ID_ANY, &config); RTE_TEST_ASSERT(rib != NULL, "Failed to create RIB\n"); diff --git a/app/test/test_rib6.c b/app/test/test_rib6.c index c77df11298e4..e946609b0477 100644 --- a/app/test/test_rib6.c +++ b/app/test/test_rib6.c @@ -130,7 +130,7 @@ test_insert_invalid(void) RTE_TEST_ASSERT(node == NULL, "Call succeeded with invalid parameters\n"); - /*Create valid rib to use in rest of test. */ + /* Create valid rib to use in rest of test. */ rib = rte_rib6_create(__func__, SOCKET_ID_ANY, &config); RTE_TEST_ASSERT(rib != NULL, "Failed to create RIB\n"); 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) */