From patchwork Mon Sep 13 16:10:08 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 98753 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 444A8A0C45; Mon, 13 Sep 2021 18:10:37 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D1948410E7; Mon, 13 Sep 2021 18:10:32 +0200 (CEST) Received: from mail-pl1-f179.google.com (mail-pl1-f179.google.com [209.85.214.179]) by mails.dpdk.org (Postfix) with ESMTP id EC00E4014F for ; Mon, 13 Sep 2021 18:10:29 +0200 (CEST) Received: by mail-pl1-f179.google.com with SMTP id o8so3074746pll.1 for ; Mon, 13 Sep 2021 09:10:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=oM1TTjSMSkZ1Mr8zZJv182ey2qNRtTrUK/hPF9rcDfc=; b=q+4oDjq//TN/F4Z0A5PuYU1+yupxRep3FFQEUFwyltrVgWMJkO0ZuSN9jMjRCJqYfk DZsKWhU6wZHGdf/inam0Og8lIBqYYOTExaHAXXJXELraAAyNG+NxqsRDm1DJuheoLcQ5 iuhB/UxJIYAeTucZ3+rpCrO+vxjqoX8kq61+kzMefUF6RfhDS+9zm1+QrBBtsuOcO5g5 PJNheh/lU6bYUjU55ym8xo5ppYHyRUB76fq+0nWDLCT3ekqzZQt+YE2QtNn12yNc/KMu G4FBzj9bT2YQ52/NcbnI43lz9A8ofrQdG3ExkfyLyUkC9e91/nUXf9S5SP3Pnn0PQxZE ihRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=oM1TTjSMSkZ1Mr8zZJv182ey2qNRtTrUK/hPF9rcDfc=; b=q/bc4Xce0yZJ5qL8+NOBJZNCP8NWmiLZGuMnDuOjI2XHq1LizquGV+CSTVGeEw1RDw 3Y9GKC9M3Fosi7GiXwxKHrizTsa5d9LLHJNxtOgOGerPycl6tiGOrIPjCZK3m79g2cmF 50qc1F9oqAt/MQhG8LF8aSi7qndk66LN0WVlHioHWGJnhNT8K+37pxQhzPDseOzT4yvM th1YCndfYZluvGGz8UOY+gZH2vfWyqWadMtX6zsZL5bUF2s3K9KhE92I1IplTzHlZY/x y/GNUdnXOb2Mt0ujh0KXLQ+G8hjVdobVq94USxPwg/AZidJww3P8HSNy+SaoxXSXc3sx C13A== X-Gm-Message-State: AOAM531J8E8CzaPEC3pGG3gw6Ft0gS34zioMlfkYafoHwppgTpLpUmaJ 0Sa+FY6DpBS5rR090mDIwRaRbByU8vruZQ== X-Google-Smtp-Source: ABdhPJzs6AmwOgohMcrDEL8rI7MJ7FvMrcAZ7GZiDd1hGLFcfQBR/uFTAt08kWsmd2wtnwsTzdptuw== X-Received: by 2002:a17:903:22ce:b0:13b:8ec9:adb with SMTP id y14-20020a17090322ce00b0013b8ec90adbmr6696893plg.44.1631549428771; Mon, 13 Sep 2021 09:10:28 -0700 (PDT) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id i5sm7070851pjk.47.2021.09.13.09.10.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Sep 2021 09:10:27 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Mon, 13 Sep 2021 09:10:08 -0700 Message-Id: <20210913161025.10490-2-stephen@networkplumber.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210913161025.10490-1-stephen@networkplumber.org> References: <20210909175648.174258-1-stephen@networkplumber.org> <20210913161025.10490-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH v2 01/18] node: fix typos X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Spelling errors in comments including doxygen Signed-off-by: Stephen Hemminger --- lib/node/ethdev_rx_priv.h | 2 +- lib/node/ethdev_tx_priv.h | 2 +- lib/node/ip4_rewrite_priv.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/node/ethdev_rx_priv.h b/lib/node/ethdev_rx_priv.h index efcd66dd4817..76cf77d60315 100644 --- a/lib/node/ethdev_rx_priv.h +++ b/lib/node/ethdev_rx_priv.h @@ -71,7 +71,7 @@ struct ethdev_rx_node_main *ethdev_rx_get_node_data_get(void); * * Get the Ethernet Rx node. * - * @retrun + * @return * Pointer to the Ethernet Rx node. */ struct rte_node_register *ethdev_rx_node_get(void); diff --git a/lib/node/ethdev_tx_priv.h b/lib/node/ethdev_tx_priv.h index 586bff44a737..9ced520bd209 100644 --- a/lib/node/ethdev_tx_priv.h +++ b/lib/node/ethdev_tx_priv.h @@ -50,7 +50,7 @@ struct ethdev_tx_node_main *ethdev_tx_node_data_get(void); * * Get the Ethernet Tx node. * - * @retrun + * @return * Pointer to the Ethernet Tx node. */ struct rte_node_register *ethdev_tx_node_get(void); diff --git a/lib/node/ip4_rewrite_priv.h b/lib/node/ip4_rewrite_priv.h index 80f0abdc94eb..036469746b29 100644 --- a/lib/node/ip4_rewrite_priv.h +++ b/lib/node/ip4_rewrite_priv.h @@ -53,7 +53,7 @@ struct ip4_rewrite_node_main { * * Get the ipv4 rewrite node. * - * @retrun + * @return * Pointer to the ipv4 rewrite node. */ struct rte_node_register *ip4_rewrite_node_get(void); From patchwork Mon Sep 13 16:10:09 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 98754 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 F0DE2A0C45; Mon, 13 Sep 2021 18:10:44 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D9384410EF; Mon, 13 Sep 2021 18:10:33 +0200 (CEST) Received: from mail-pg1-f169.google.com (mail-pg1-f169.google.com [209.85.215.169]) by mails.dpdk.org (Postfix) with ESMTP id B0AA3410E1 for ; Mon, 13 Sep 2021 18:10:31 +0200 (CEST) Received: by mail-pg1-f169.google.com with SMTP id n18so9879106pgm.12 for ; Mon, 13 Sep 2021 09:10:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Ii4KC9B4QZMFNOsB17KnzSk5zSJHxsQe+ujnknXoXTg=; b=dwdM8gfX9g0WDy0d9Nn4B4vgnEAFHJAybz3bjyZdOxYOoyd+7pFUi7ST1O8+/Bs4I0 CRqNdpr+A85v8394KNc90vb9YyAGv12CL0YEMDa1IbQmJ01fQ5yi3FFQY0mmqQYTfLGm xI5qHoUOcVfPZMknXpJ5/QfGI1uTYmu9sIxPa+XiOtYI2c7iZnk4yIuFz22i9cYepgQG ShNltVbnXhDP9Gr+Tyfj7dNXY+ag1QXN8zSi4H7uQI5M9/bbtbVzo4UjPZicqNhljGua dF0I13poGRkWVr6+yjz1m0l+vrGcpaIb214pq5gHXwMQbdwoCoZO34v4wUtVbPyfGLyp +LWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Ii4KC9B4QZMFNOsB17KnzSk5zSJHxsQe+ujnknXoXTg=; b=URIOmrHISMwqFmRo/Dfqe6aOXDGyq64w87mn1pIHyMNg5nbEeZDLRobzhPqNVR/RsF +CrNI7WCN6ZSdXahOvVWCjwGmo1SS3KxwYfUv1ZYJYFzAhgPhMOaW5jHJN7jDlUa/95i PPCRY/CCwtLGISCQi2+L+bB5bM2WOp4ZImIdgSdpy2lESzogooaC1VwJ7yhhpkE/o09X VMsD2jDmrLw8ho30zP0qdvQjIrkWdDF8RVOIeVx2B+IkktAytJA2cK1echktv1EPap/b I18y6cXc77BghhrHfjlZR1N/14fTz4VcVavjXclSqvoKbvilX4Amb4f3pog7IPujPdZG +nhw== X-Gm-Message-State: AOAM532mYyxlzl2tYWy/9rWYzJnCPb7ZIs5O30X6JDHcizLxxP47L0MO fKYJrDPKSJxO6vc/kZyanLN+Bi4yuVcgeQ== X-Google-Smtp-Source: ABdhPJyFV5OyuOLw2I1oqwAeEfCWakO+/s8LKjmqB9d9FN16Zan+336ayhxgJipF4FZo0w98R7gavg== X-Received: by 2002:a65:40c4:: with SMTP id u4mr11895693pgp.186.1631549430399; Mon, 13 Sep 2021 09:10:30 -0700 (PDT) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id i5sm7070851pjk.47.2021.09.13.09.10.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Sep 2021 09:10:29 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Mon, 13 Sep 2021 09:10:09 -0700 Message-Id: <20210913161025.10490-3-stephen@networkplumber.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210913161025.10490-1-stephen@networkplumber.org> References: <20210909175648.174258-1-stephen@networkplumber.org> <20210913161025.10490-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH v2 02/18] ipsec: fix spelling errors X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Lots of typos in comments found by codespell Signed-off-by: Stephen Hemminger 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 Mon Sep 13 16:10:10 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 98755 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 D1CD9A0C45; Mon, 13 Sep 2021 18:10:52 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0D5E9410F8; Mon, 13 Sep 2021 18:10:36 +0200 (CEST) Received: from mail-pj1-f53.google.com (mail-pj1-f53.google.com [209.85.216.53]) by mails.dpdk.org (Postfix) with ESMTP id D3CB5410E8 for ; Mon, 13 Sep 2021 18:10:32 +0200 (CEST) Received: by mail-pj1-f53.google.com with SMTP id dw14so5787183pjb.1 for ; Mon, 13 Sep 2021 09:10:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Y25iWHqn41cma0pni3agsyZA7pW28pv1+XV5OeogKUo=; b=QBfFNHsHPMH0+o9yBzhTx+D0TzrzHw5jGPVYUKtbmaPA6Ojzscu4DX29bNO8BahZHe /sgU8nGtzToJXV4ll1xW+QrlhFgIr+StvT7r53Meb0JNT0INR+CrMcBUeh7b0PRRN4BW Ht3U3wmaUeb5NRlGDeXiaUSjamX/P5qpHeEhNMBARQ+pcFl3H/kNTDdNGjrwewmtEs4z WgqKyy/vSNqVZs9+1QvUbIVcB/6+IAB/+ThKK5GyDPuGitT8ZSMErniX9DsXzlwDe0wz v3kR2pZ/M2Jz24Hl8zSZQCmuyg+WmbZ8tE+iJoWMfqH54PZR2Sti5kb/8Yw49MWCN+Oe /mUA== 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=ZMTTZ1nah8IZR2MTHGIcaV/jkplZO3ChDXlJtvRvtUxvzYp3hL0aGpz14SarcdtJHK mRViw1GREwtXpnKaL76D8lyC8aesvu82Eq/F+Elv9nZoqi8PcqarSdMWq2yNV+ywSBMD xvsil02hj58kbJYwIRwJA+ASyegQnw/ZkC25BTi85+0q4IUdbb6jRH5gNOuwLdcac+MV xv5RBYF4SXCA/8zcG8yyQxduWN1Q3IjM5wLC4L+PoDCW31Ck77uw7FcR0IRsqWKVzj0U Z2DflLcNAN9EM3CPTPNv5xg2mOoPRiWFJcQlWMWXy+uPra0pdTN580k8pC0j+WKbUrBh JrWQ== X-Gm-Message-State: AOAM5322SD1tI9ph42Vs++LhemYP6Uvmr+EQTZCxNCb7odE41v63p07/ ZyY30lrpcGJi2o+dOKAZBDwWIa7UWdcSzQ== X-Google-Smtp-Source: ABdhPJw5g83D9H1g5OsUl7RHdo8oD5Jmh+kmF0JFVFsj5hh2B9LDZDChxOfx6APK8ps8NAgSzYp3Zw== X-Received: by 2002:a17:902:e153:b0:13b:63ba:7292 with SMTP id d19-20020a170902e15300b0013b63ba7292mr11061950pla.17.1631549431624; Mon, 13 Sep 2021 09:10:31 -0700 (PDT) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id i5sm7070851pjk.47.2021.09.13.09.10.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Sep 2021 09:10:30 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Mon, 13 Sep 2021 09:10:10 -0700 Message-Id: <20210913161025.10490-4-stephen@networkplumber.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210913161025.10490-1-stephen@networkplumber.org> References: <20210909175648.174258-1-stephen@networkplumber.org> <20210913161025.10490-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH v2 03/18] eventdev: fix typo in comment X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Typo in comment found by codespell Signed-off-by: Stephen Hemminger --- lib/eventdev/rte_event_timer_adapter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/eventdev/rte_event_timer_adapter.c b/lib/eventdev/rte_event_timer_adapter.c index ee20b39f4b24..b5c2dc1427c6 100644 --- a/lib/eventdev/rte_event_timer_adapter.c +++ b/lib/eventdev/rte_event_timer_adapter.c @@ -493,7 +493,7 @@ event_buffer_flush(struct event_buffer *bufp, uint8_t dev_id, uint8_t port_id, RTE_ASSERT(head_idx < EVENT_BUFFER_SZ && tail_idx < EVENT_BUFFER_SZ); - /* Determine the largest contigous run we can attempt to enqueue to the + /* Determine the largest contiguous run we can attempt to enqueue to the * event device. */ if (head_idx > tail_idx) From patchwork Mon Sep 13 16:10:11 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 98756 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 D2D79A0C45; Mon, 13 Sep 2021 18:11:01 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2F15241101; Mon, 13 Sep 2021 18:10:37 +0200 (CEST) Received: from mail-pj1-f47.google.com (mail-pj1-f47.google.com [209.85.216.47]) by mails.dpdk.org (Postfix) with ESMTP id 8D4EF410F6 for ; Mon, 13 Sep 2021 18:10:34 +0200 (CEST) Received: by mail-pj1-f47.google.com with SMTP id v19so4015739pjh.2 for ; Mon, 13 Sep 2021 09:10:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=UHLqnX6N7ciTHfnZACzvppu25l99qzBwCAJhDtKWpjw=; b=VC7JEcutoI9yah3kBeKVgleJC1wPhudmnIbZs1CaBOvfq4iKfLSa+UwT0NZOGQeOas B3M4G9u53dkoI/qubtRV5a8RGVoM6/jZqBzUZTP+Tj+siUzgH9pTum73v7x5o+g6ZqYZ dWx01wj4cQqNLQfNfYPAnPpwZ4tsH/O7rpMZzIfopT/FUGJGKC17DPdj4gG+hdpXywzr LWTDXQGgli82rJTyf1QOm7DkVzBjuEEkCpFlupYMR4Z1dHoIvmzXCcjL77i3OcVxhRgr NOaY1ZRHUeTchmGgfXp0sjK8qPjNzRbcUbekJlP39cxSJunJRnJ8M5Cah1uxn9/F522+ nh8w== 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=ASIkV+6iWtDqy7kWDymTAVGgjYr6SoarNYQSUemNzQOWtdzIAylWrR7SluDVxTbw99 jsTxv2nGuebImbz+TlHarXq0KubuMyoraYi5EKHypiV9vMDhwK1pW0TUihaBWsZCuJzZ Qcs9zmcdwvrWOwx2xz8xYa92GLYJ3ALnTM5Q5kLeL2IWqa8Pq8+YrJ/Izbne4AMUoJHB 4SnYpgtvDyFPQ5mokd3xDFTfnh4pfyKDveylEpe7KwDv0cHpTpvsoKN7uBh6nGZOJt0x Ib0OICS8ulpYvK5gU8Hu2bw/06jZ6d8fzQq4oRj5g4AZGlYq76rdtcyQlOGvt0rrtp4z sx4Q== X-Gm-Message-State: AOAM531eGT5AV5zVZGxA1huRzns2N2r9HHx/LrNzCzAzzYLGQs8NO1cZ 6PXdYEoNGJMYz0+NAiQbIwZHILagwB2VBQ== X-Google-Smtp-Source: ABdhPJxOrzpGTn43jCONL+XXCuAHugrS8ul6SWVyw6ydg3tOUYl6WEVUiPI6RlLlMJnMHv4S68jyVg== X-Received: by 2002:a17:90a:9f8f:: with SMTP id o15mr272883pjp.102.1631549433183; Mon, 13 Sep 2021 09:10:33 -0700 (PDT) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id i5sm7070851pjk.47.2021.09.13.09.10.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Sep 2021 09:10:32 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Mon, 13 Sep 2021 09:10:11 -0700 Message-Id: <20210913161025.10490-5-stephen@networkplumber.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210913161025.10490-1-stephen@networkplumber.org> References: <20210909175648.174258-1-stephen@networkplumber.org> <20210913161025.10490-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH v2 04/18] power: fix typo in comment X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" More spelling errors caught by codespell Signed-off-by: Stephen Hemminger --- lib/power/power_acpi_cpufreq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/power/power_acpi_cpufreq.c b/lib/power/power_acpi_cpufreq.c index 1e8aeb84037c..402ed8c99b42 100644 --- a/lib/power/power_acpi_cpufreq.c +++ b/lib/power/power_acpi_cpufreq.c @@ -159,7 +159,7 @@ power_get_available_freqs(struct acpi_power_info *pi) goto out; } - /* Store the available frequncies into power context */ + /* Store the available frequencies into power context */ for (i = 0, pi->nb_freqs = 0; i < count; i++) { POWER_DEBUG_TRACE("Lcore %u frequency[%d]: %s\n", pi->lcore_id, i, freqs[i]); From patchwork Mon Sep 13 16:10:12 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 98757 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 0A755A0C45; Mon, 13 Sep 2021 18:11:11 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4996A4111B; Mon, 13 Sep 2021 18:10:38 +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 165FA410FA for ; Mon, 13 Sep 2021 18:10:36 +0200 (CEST) Received: by mail-pj1-f41.google.com with SMTP id w19-20020a17090aaf9300b00191e6d10a19so394622pjq.1 for ; Mon, 13 Sep 2021 09:10:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=BMWNw0gLugZcukBh8c3ss54CZJL+3hBZ9dhbogD12Ug=; b=rW+9CepWDpsCrt/o+fTSPucnT3fqGHQbfuF2FJzGWYR7+9p4zaWb92mm2S0y8rQtVc o23WQ4+DAFsGnHlOX+sPMA54uR8o5p/gKg5NusfZUBknsidHAyNFqSG9ikzI5+Myq0+/ pm7VAQCcO5zJXJDbxf/MLz8Nbjwy5PnEJXbq7sgocf5hXyuC/gINPUgVK4EpDHQr76aK 2BQykJwLpTWWVcQjdnFRkjhjS4v6ONXNR/y6AS+SAvjkbWe/wgBi82r/dlgJ3OAzREWI vM0KHVFIHtmiJImxi4eOD7J1VYcSsdJu2LQDWNcy3fWBAstUFAF6SMTMXsv1O2mqx7zk C1Lw== 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=xhqtej5yglurqj7C09+EWea6bM7SV/OiTUjtwzUbCk+bh3hedVEcjisQtXDW5sQSls LsR3hE4HWrt8lT+4xebw7tV0obKQ8DKPrYY9w9iNK9aaer8d+IhHXqs+CH8ca+lebXxg 5qyvuBNxIiGmUIsT3Ky122hV6xZvDbTvoHxeW/Uxs+xqpiHGw1y2uJgTakHeZ5ziycmC Xx6ox7QL9WGkIcBxzpe9+UpRqI/vnrRQs/Fh1hOmqptXpRjrLLtsdq2qkmXVtXPe4dhR PT4N7cX6W8XnlprlI7OnPDaRnucEd7HqJeszdLx99D1eQC88KVdJCUvTbHZ89l7j2+8+ CjZA== X-Gm-Message-State: AOAM531EZwWd/iwXWhTKHFduSgPb/pp4HsC+cZgys3AT+H8PiyHVFO9Y e7akmsty9KKNnTa8/MuoyFtk1B9etcGfzQ== X-Google-Smtp-Source: ABdhPJzKQSqiQ2guPzGvifLaJ22WE7jhwI7WMCk3FHQcJhIYrjGqRv4GN3NT+qIaABE9zGGwGgQgBA== X-Received: by 2002:a17:902:760b:b0:13b:122:5ff0 with SMTP id k11-20020a170902760b00b0013b01225ff0mr11037729pll.22.1631549434955; Mon, 13 Sep 2021 09:10:34 -0700 (PDT) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id i5sm7070851pjk.47.2021.09.13.09.10.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Sep 2021 09:10:33 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Mon, 13 Sep 2021 09:10:12 -0700 Message-Id: <20210913161025.10490-6-stephen@networkplumber.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210913161025.10490-1-stephen@networkplumber.org> References: <20210909175648.174258-1-stephen@networkplumber.org> <20210913161025.10490-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH v2 05/18] rcu: fix typo in comment X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Another codespell find. Signed-off-by: Stephen Hemminger --- lib/rcu/rte_rcu_qsbr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rcu/rte_rcu_qsbr.h b/lib/rcu/rte_rcu_qsbr.h index 18811c1cc106..62a420a785fc 100644 --- a/lib/rcu/rte_rcu_qsbr.h +++ b/lib/rcu/rte_rcu_qsbr.h @@ -362,7 +362,7 @@ rte_rcu_qsbr_thread_offline(struct rte_rcu_qsbr *v, unsigned int thread_id) /* The reader can go offline only after the load of the * data structure is completed. i.e. any load of the - * data strcture can not move after this store. + * data structure can not move after this store. */ __atomic_store_n(&v->qsbr_cnt[thread_id].cnt, From patchwork Mon Sep 13 16:10:13 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 98758 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 06E4BA0C45; Mon, 13 Sep 2021 18:11:20 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 64B1841123; Mon, 13 Sep 2021 18:10:39 +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 76BB041104 for ; Mon, 13 Sep 2021 18:10:37 +0200 (CEST) Received: by mail-pf1-f176.google.com with SMTP id g14so9325473pfm.1 for ; Mon, 13 Sep 2021 09:10:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=YWnzziaHjpfPA44YSeyMtHjAl3pGkFQ1zd3PspGrYfk=; b=UDIy6ok8a5DGAczGghmAvSFQlGMQzKPoNjELqqD7N58w3mMOffIb2vbw/jBUi3FtyM UVGGIhwS/XyqLOtgLghsawnT+sXdRVBVvQULG6WsbAa/bjV9vwO1CSg1MHhe1nTw84YT 8BlZ2Yea3p4Ofyh8u9zDAmHs/XAS5JndkTpL/9n2Du41GeJ64IsxUcblM9LUNdNlCE9n ljGdNeImF973rrJ9xXWpYxvBSnUHkjXIzu1XNNU5yglHGHICH6CUweVfmu5klKkMWD3t QGsQi3xXkgHV+y0fm6heehPTAk3arDLvxX3weUoUByyTuh+QL5MIxcWcQ1vhwYKmiTRM Fq8A== 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=YWnzziaHjpfPA44YSeyMtHjAl3pGkFQ1zd3PspGrYfk=; b=uDPKL82JmQRecdj15Z+1zIr6/O0d+Jcvt3qQb2GB+cC31/caARpTvLnjQfRL4yNbbl y5NuECeKwF9uuNL3cvFGtzW5v38gjSvWDH1rnY9+Dq1s9yhxj2eRqkHNaCXeHFzTkeB8 shsJ3MirZGgF139AE1SEYlMwveoMTnAiA3bwN+b9JiGUGQ+D+Z6kGAq3GWPDjawdJwQh W4JS4Zaxv+9/bqvjwilp51T/UpbZEgCXy3pNKyAZ62z2xMAJqOCeyILFbJ+UTO5cWg7p 8Fw4r2LSDRlWazV20RepkRhxV/InO7YPapDeh/o8nzVBzbYZPgeeen51JJnQ/I34Gxzh lrQw== X-Gm-Message-State: AOAM5317dNAM2hs8fHfAj5PYnrTFdm8aasC/tiH50nV+rK5uuUFlCwly jdgso/+SOQXC8Hp/m5usiX2prYtcuYxzLQ== X-Google-Smtp-Source: ABdhPJyBn+JlCzXTt6oAuhNhUdr7ETOhvmL9ygWKTclijGJx5Hhliv9cIUd88sJ9UjwcL9d83SnxYw== X-Received: by 2002:a63:1717:: with SMTP id x23mr11819572pgl.182.1631549436251; Mon, 13 Sep 2021 09:10:36 -0700 (PDT) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id i5sm7070851pjk.47.2021.09.13.09.10.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Sep 2021 09:10:35 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Mon, 13 Sep 2021 09:10:13 -0700 Message-Id: <20210913161025.10490-7-stephen@networkplumber.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210913161025.10490-1-stephen@networkplumber.org> References: <20210909175648.174258-1-stephen@networkplumber.org> <20210913161025.10490-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH v2 06/18] bpf: fix spelling in comments X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Found by running codespell on the bpf implementation. Signed-off-by: Stephen Hemminger 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 Mon Sep 13 16:10: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: 98759 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 A520CA0C45; Mon, 13 Sep 2021 18:11:32 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BEFB74113A; Mon, 13 Sep 2021 18:10:42 +0200 (CEST) Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.182]) by mails.dpdk.org (Postfix) with ESMTP id 5160641121 for ; Mon, 13 Sep 2021 18:10:39 +0200 (CEST) Received: by mail-pf1-f182.google.com with SMTP id f65so9304375pfb.10 for ; Mon, 13 Sep 2021 09:10:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=58V8lx0NSKYJNUU5KkTRR+fjf+Qbgp0e1FWUcyEbpBg=; b=PiSDbLWxNgK3SUnajvnrLHVDmjlXxtagH6rGdXHPSch4rYtXE7tONVG+MtZCoP4L+I 2xDCMX/dOarUDOIMNASHiWiCnFCrlnx7VpKn7eIQrIGfa0ygUKj+rAJDnUb8nSpQxmjs YcbHrpJ0qk3pcxL1svisqJR5aZx/nK4fzECi06EKuSDUBSrNBUSAKW5SsxDc9Bvs738H Wxav9jRbMq8w+QNd0i4PWOOmtlQmwDnLcO5lwDY3CMoqV8lMrpw1wBW1mLBs36vnJ26C K7SMYDB6b/oQmCPenclU3eOjjMC16y6cYSTew7IkPwD2YNfyZV63huovPwAamGJxKCbh ZtnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=58V8lx0NSKYJNUU5KkTRR+fjf+Qbgp0e1FWUcyEbpBg=; b=Ujtvdq+bOoTGNvUrB4Tys/ZMuJQeA2WCJ/us+X2bhH0utHHrVqNIDemN3xpW9qI8Q7 vbhQpEzRZezjINqMQKIvbcm7LPUXBGBhvXQyDRttW2mlToPh9t2S0e3DXpiqiiXo0hYs IzDQdlEKiuoZpCMTR+icBJWqJuTBqAwhvpTdirYS4Gs8c46mUU3V9MRMgL3EKy/5Q+FL 4rBqO3Hkwxf97IAhR/Mk0+Ysjw5zbnjGapenaoI0d+BosfwBTVmcdoSjXrTrVoFAd6eS NJsFrL0epFqAgzddBMLZbXj/J0f0EwaaCDu+9MRqd6PB8E7A10cmZSankNI0/YYpjmkt Cl7w== X-Gm-Message-State: AOAM530nA/jcKnecHlnVNqxJohfgJB7vENIi7r7o7s4Ai7nzUIYX0lEU nyQWlDgevggojY7m3rE99UmZDnTpKGGoWA== X-Google-Smtp-Source: ABdhPJxKqRoP3JR6Bb5kmZ5hdLUkp/IX/7vR4IqajUqw2dRz3I8VNx78YoBMem+RKllsSrnN1ledFw== X-Received: by 2002:a63:5947:: with SMTP id j7mr11810975pgm.193.1631549438070; Mon, 13 Sep 2021 09:10:38 -0700 (PDT) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id i5sm7070851pjk.47.2021.09.13.09.10.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Sep 2021 09:10:37 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Mon, 13 Sep 2021 09:10:14 -0700 Message-Id: <20210913161025.10490-8-stephen@networkplumber.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210913161025.10490-1-stephen@networkplumber.org> References: <20210909175648.174258-1-stephen@networkplumber.org> <20210913161025.10490-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH v2 07/18] acl: fix spelling errors X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Lots of little typos in comments Signed-off-by: Stephen Hemminger 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 Mon Sep 13 16:10: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: 98760 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 2087CA0C45; Mon, 13 Sep 2021 18:11:42 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E4F8F41140; Mon, 13 Sep 2021 18:10:43 +0200 (CEST) Received: from mail-pf1-f181.google.com (mail-pf1-f181.google.com [209.85.210.181]) by mails.dpdk.org (Postfix) with ESMTP id B41914113A for ; Mon, 13 Sep 2021 18:10:40 +0200 (CEST) Received: by mail-pf1-f181.google.com with SMTP id w19so4920698pfn.12 for ; Mon, 13 Sep 2021 09:10:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=YhKzcukIPnuFq2gmD/5xkP4Th29ZYZ+ww6uH6h8RZ2c=; b=v898i8m/1JD+s+w0WTB5aEqelPTI8CGhPQY7AxHK1jiftTuqeo1IPx/eRJbZqmAnJj amViQeW0uzqfZiKRi83y169CU4VI17Bp7vR8qeqUDjaVbvuFOLVa81Ect8ZgZnkVj2h5 u8ek383QdWRbzX0/EEOX2bopFtQ1muzzQlpVx9E/dJ76/TlD3WMrHLTftHxF0zhgFMmV UkDME0VZOuoHNeu1+KM/okqdNK9kHYhWFTAXYgc2u0oIhdqtuXmqwdS6idCwnafl3EJC Oi0vAkpjG0Nerj+XFnonXZqSGCL9Iijmbm1ysN6/oxnr8BaIjUI6ALrrc0EeLb1pjIiB G4Iw== 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=SwFnAlJiBVciZOMIX6Qx02DOHSeLvmqkvU/m7tC1GNI7SyYoS5C7J7lG02OqNq1byk 3chDYnWFtnWjaUVefINIApVdtJTBnhUpIN/7FxkHiK1W24qeCFT0haOS7o5jXD+IMqYo Dl18ehXU9lhGWaV0Ea70wm6xRVTe4NOSbUYL/AUJEvxdXDoBg5ivAh0ZXk3gxndPcho9 t/Bzb2VkKHH/S+UG7bNDs6oL+friNmpkAPfgEhQWcmkv5XCEBvmTP6qB4evdutsmOptO laPIrsW25xWbvCsE/Z1/WB2fXz7/MQsPzHEIZw4z1fmB3GOFiDphRZybzvH+utOhprCv J8GA== X-Gm-Message-State: AOAM533XCXOw54Mw/A0GOZfVeSMIn8ilGpo8sXMkn33szdViYyODcGd9 l0fAwir891IFXpJ8VSRrn52lREB1a/DzRg== X-Google-Smtp-Source: ABdhPJxurS+HhxWD+u1k8nH+OD2o/u+hhbxsMW3naExbESXpHPlV4p68laD8c99Aobd7OKeQEmw//w== X-Received: by 2002:a63:f306:: with SMTP id l6mr11630395pgh.72.1631549439557; Mon, 13 Sep 2021 09:10:39 -0700 (PDT) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id i5sm7070851pjk.47.2021.09.13.09.10.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Sep 2021 09:10:38 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Mon, 13 Sep 2021 09:10:15 -0700 Message-Id: <20210913161025.10490-9-stephen@networkplumber.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210913161025.10490-1-stephen@networkplumber.org> References: <20210909175648.174258-1-stephen@networkplumber.org> <20210913161025.10490-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH v2 08/18] eal: fix typos in comments X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Minor spelling errors. Signed-off-by: Stephen Hemminger --- lib/eal/include/rte_function_versioning.h | 2 +- lib/eal/windows/include/fnmatch.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/eal/include/rte_function_versioning.h b/lib/eal/include/rte_function_versioning.h index 746a1e19923e..eb6dd2bc1727 100644 --- a/lib/eal/include/rte_function_versioning.h +++ b/lib/eal/include/rte_function_versioning.h @@ -15,7 +15,7 @@ /* * Provides backwards compatibility when updating exported functions. - * When a symol is exported from a library to provide an API, it also provides a + * When a symbol is exported from a library to provide an API, it also provides a * calling convention (ABI) that is embodied in its name, return type, * arguments, etc. On occasion that function may need to change to accommodate * new functionality, behavior, etc. When that occurs, it is desirable to diff --git a/lib/eal/windows/include/fnmatch.h b/lib/eal/windows/include/fnmatch.h index 142753c3568d..c272f65ccdc3 100644 --- a/lib/eal/windows/include/fnmatch.h +++ b/lib/eal/windows/include/fnmatch.h @@ -30,7 +30,7 @@ extern "C" { * with the given regular expression pattern. * * @param pattern - * regular expression notation decribing the pattern to match + * regular expression notation describing the pattern to match * * @param string * source string to searcg for the pattern From patchwork Mon Sep 13 16:10: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: 98761 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 421DAA0C45; Mon, 13 Sep 2021 18:11:50 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F237441144; Mon, 13 Sep 2021 18:10:44 +0200 (CEST) Received: from mail-pl1-f174.google.com (mail-pl1-f174.google.com [209.85.214.174]) by mails.dpdk.org (Postfix) with ESMTP id C5D4F41130 for ; Mon, 13 Sep 2021 18:10:41 +0200 (CEST) Received: by mail-pl1-f174.google.com with SMTP id n18so6149009plp.7 for ; Mon, 13 Sep 2021 09:10:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=rTNpTWVaGLjKylPdoBipYgXEK63oIlLKPqB8wKRmYcQ=; b=IjADCj9E8jS2gGxVDVirhjFugHlvHZi0qZlLO0W6Gd0CFm9lyQmlp0oLHQ7k5+rr+k 3+ya4RkdzyPYHqdM8y5WpwTynvXk5XuGWU4MeiRNAiUg/O3C3IOIZw1fjEGeRNoABcuj Szqv7FnDhSz1QTO3u1GTJzApY1XZvYKLRdmJ/PM+hV2hP38liLy5AtK9ZD4qmomfOEgj MT7c3FIiodOkSZKPXLfhZ5XCLHvrlUcRIM0nLrxt6M+T6YJ+LXHQ0PAuMVerapiB1JaI 371IXQ86Nb2jJyUMIu7DjTJXG275E73yZUbXGqkUCd5969q6CsavF8N99ab2/FcZIttj NMIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=rTNpTWVaGLjKylPdoBipYgXEK63oIlLKPqB8wKRmYcQ=; b=na7C9fSFXTrGlGuZ/r4By3Iy+UrNEerg13Xp32x7BDfUAdxXASakxK73rqtpydXSrb zTbgul30XbU42N5HPgB+Ad/2ZzYCrsegFu4YgMONHWgKAissYA2oQeXfPihjS7pZeD4h Q/4XMivda7eoXGyCz3JvIpkMdQuqJMNGLR9p42M64dULF4gdDEl9zWsPORULkwhCVDYj lpk5ui0lITsRztPELDkC0ne84BsDFGyzY211z3J3FcrmppDGTPcxJbYdGk950Vj2/s7Y eWvVIKGrrjwACJHalTlG5WS/OAadZdEoqT3LeTtQjvad75qU2gIUyq/+DOTQQlyykcxK yCgg== X-Gm-Message-State: AOAM531XVHtyiO38Jz5oYPyldyTGy++cGqG5aailUG1gfv8lX/80INiB OYzuT3Zbc3yU1xmIZEfIi1wXO4SAdu+csQ== X-Google-Smtp-Source: ABdhPJzd7K0PwrXP/hnFQozXCd41tbgxrjarOWsj27xbzAEiwrdpXUit5WSxJUJRgz4LE7LxLfYe6Q== X-Received: by 2002:a17:902:f704:b029:11a:cdee:490 with SMTP id h4-20020a170902f704b029011acdee0490mr11021401plo.37.1631549440610; Mon, 13 Sep 2021 09:10:40 -0700 (PDT) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id i5sm7070851pjk.47.2021.09.13.09.10.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Sep 2021 09:10:40 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Mon, 13 Sep 2021 09:10:16 -0700 Message-Id: <20210913161025.10490-10-stephen@networkplumber.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210913161025.10490-1-stephen@networkplumber.org> References: <20210909175648.174258-1-stephen@networkplumber.org> <20210913161025.10490-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH v2 09/18] net: fix spelling error in gtp comment X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" More codespell finds. Signed-off-by: Stephen Hemminger --- lib/net/rte_gtp.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/net/rte_gtp.h b/lib/net/rte_gtp.h index 6a6f9b238db9..f22dbce47c65 100644 --- a/lib/net/rte_gtp.h +++ b/lib/net/rte_gtp.h @@ -64,9 +64,9 @@ struct rte_gtp_hdr_ext_word { /** GTP header length */ #define RTE_ETHER_GTP_HLEN \ (sizeof(struct rte_udp_hdr) + sizeof(struct rte_gtp_hdr)) -/* GTP next protocal type */ -#define RTE_GTP_TYPE_IPV4 0x40 /**< GTP next protocal type IPv4 */ -#define RTE_GTP_TYPE_IPV6 0x60 /**< GTP next protocal type IPv6 */ +/* GTP next protocol type */ +#define RTE_GTP_TYPE_IPV4 0x40 /**< GTP next protocol type IPv4 */ +#define RTE_GTP_TYPE_IPV6 0x60 /**< GTP next protocol type IPv6 */ /* GTP destination port number */ #define RTE_GTPC_UDP_PORT 2123 /**< GTP-C UDP destination port */ #define RTE_GTPU_UDP_PORT 2152 /**< GTP-U UDP destination port */ From patchwork Mon Sep 13 16:10: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: 98762 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 B1191A0C45; Mon, 13 Sep 2021 18:11:57 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 012CD41149; Mon, 13 Sep 2021 18:10:46 +0200 (CEST) Received: from mail-pl1-f174.google.com (mail-pl1-f174.google.com [209.85.214.174]) by mails.dpdk.org (Postfix) with ESMTP id 416E84113D for ; Mon, 13 Sep 2021 18:10:43 +0200 (CEST) Received: by mail-pl1-f174.google.com with SMTP id 5so6152985plo.5 for ; Mon, 13 Sep 2021 09:10:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=BCIECras0Osz1U+bwJftEqu0JIOC4QddkZ974/AXh+k=; b=KYloVHJwLjqc8iSidKHWnRU4OF70N2qZTSdhpg2+SzVevYJ+XQJ58xwhy8WVh6cdE6 RdrFHNqeoFrLo/P+n8ShesVDlbCDU4JJ4dFC8fwe+PNiRHJEg7pZN5J+f6S13p0UKy7A MW+6o80jG2Tbx1OaqR82kl2B70sXgvtrgAgYuarUr0q9/6+QQo57lnAafKAAvyOyyivr fM3H5mU3crXgRaixD+VveQf52EeJzGcORr5Ei2KzLQNsMVPVVQZlk/mKzjAROGw2HyOc cFeguxlNW5f96xTPG+vsBhNPb0sPndmZlhjsr1+rloMAL/u74TWANuZXiVKkZVlYV+R2 NLUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=BCIECras0Osz1U+bwJftEqu0JIOC4QddkZ974/AXh+k=; b=mr9Gzndzuuix9086MQSCCwTT5MF46mvI+SNS7j0dTE1+fKQIdgc+SC1Vk1PBw9oPzZ Lmsr7HwOL478xKBZ5fnzgxzJZPnSi3eSj+6Ch9ZrT8hX4W5+aQrMCOAAAaW5Z0QKnLBR AKgDQ6HFo6WnMPT/AEf9xStEkE2MDcyA+j4H0iNqCrszoX8pY4CEQlWRnNaqZU7ZjRee fZAejcMHQsP20NWIuon6EAy1y5Wix9VzWt3bJHxqB28vzXz6XVmyxOs0HbixWeJEV2Rk 8MSb4mAdBZoO38/nDelx27Fpzyn1MA/c4YuoyrP6sI4cft114pYT996qQ3R6mvuRiB92 GxUA== X-Gm-Message-State: AOAM531xjUA0CwSCDj46c1b0cyM72YV0uusf5cwBU/Rk6w24V2v+mCuS nAy+rF96kQpca+Tp18WztfmTIFKEJCu/tw== X-Google-Smtp-Source: ABdhPJwP2k6VyzZE+KVxJNnF2LUqf1NIOkTS0SyQXKVxuWyldSMQmd7ezj6mxbVyPqhBId8wAhTsbA== X-Received: by 2002:a17:90a:aa87:: with SMTP id l7mr348171pjq.230.1631549442059; Mon, 13 Sep 2021 09:10:42 -0700 (PDT) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id i5sm7070851pjk.47.2021.09.13.09.10.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Sep 2021 09:10:41 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Mon, 13 Sep 2021 09:10:17 -0700 Message-Id: <20210913161025.10490-11-stephen@networkplumber.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210913161025.10490-1-stephen@networkplumber.org> References: <20210909175648.174258-1-stephen@networkplumber.org> <20210913161025.10490-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH v2 10/18] bbdev: fix typo in comment X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Yet another spelling error found by codespell. Signed-off-by: Stephen Hemminger --- lib/bbdev/rte_bbdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bbdev/rte_bbdev.c b/lib/bbdev/rte_bbdev.c index fc37236195be..49a0de49d8df 100644 --- a/lib/bbdev/rte_bbdev.c +++ b/lib/bbdev/rte_bbdev.c @@ -138,7 +138,7 @@ rte_bbdev_data_alloc(void) } /* - * Find data alocated for the device or if not found return first unused bbdev + * Find data allocated for the device or if not found return first unused bbdev * data. If all structures are in use and none is used by the device return * NULL. */ From patchwork Mon Sep 13 16:10: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: 98763 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 1F196A0C45; Mon, 13 Sep 2021 18:12:06 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 059C841154; Mon, 13 Sep 2021 18:10:47 +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 7126841134 for ; Mon, 13 Sep 2021 18:10:44 +0200 (CEST) Received: by mail-pj1-f42.google.com with SMTP id f3-20020a17090a638300b00199097ddf1aso6981553pjj.0 for ; Mon, 13 Sep 2021 09:10:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=N7RQW+rFoxRqMNW0mfvs/j/O5ucyke/Ae/J/2sWVeak=; b=AXU8pFvJhaV43rovCfFJqE9i8w0XBm0+r6LoI6f4AqtHRALIx+Nn6JVtTKJ8Vo6CHf orTrc/pWkrIi/dyx5uNCudDIm78mIq3X2cATSGSU6Nc3Pk99cUC7H95kms0WJTAB6QXM zR6aG3GrxhJYBRNrvABtEnf0hgdvo1k0GJUN5vuopQU9fMVKgkxnIlV1ewPNArZeLvn8 dMZZpy9fMiW1I+bprnmYMWowbksMnDUu9NnYw3hn4WP2Qvwqiu9xMD7d9eO7tCIu3ZmO bbOtU6ro2ZINkzQvCGZ3Koimgu5ffktkjGw2OSKmPy8cFesFhy7nD/CEoWopLEQdCUHw Ljhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=N7RQW+rFoxRqMNW0mfvs/j/O5ucyke/Ae/J/2sWVeak=; b=4QMudNG6lXs7YjFnRmAOeEGFk3HwbXj6wZrv+mbGkEB8IyY0PLmgd/9GzK8dPUwVOE yzwPhUwHSqTg1+sDRJJm0OA7K5ho9bYn54AkuUFA3aw2ELZGQPkTT92ATGhqPiIdJj3E OC8wohFuSdxLcvp0S7xqe8xAOT/W/PGzo5e7xJBAPMZQji73bACEEw4Fo2lvnCY9av6S XdOP21HgKRNJwwvTGiR+aRERedyZuGcRjHDD/yj/bdq+R9PexC6YWZKbJegn93VV9zOE cvQ/mE0QTqDtn8VNuIoxKTatGfaAQZiTmETvBvOM9XBMKsu/15VjDJmXhZKsjBXvp9L1 Ig0w== X-Gm-Message-State: AOAM5310uGrHOAWIj9RxZ/YhmMtT9qOpxIqWrk+NPmX1ruLKV6bI5kSw 8BcX0jZJiwZk4774N+UczFPZMdQmjKmrmw== X-Google-Smtp-Source: ABdhPJzmT293yiFkl8zBlT7WFWOUdEAQq/48o1sE4MkAzenwSUBaNprpkVxxvT90r1sXKyKcxHXm2A== X-Received: by 2002:a17:90a:1a50:: with SMTP id 16mr353578pjl.164.1631549443147; Mon, 13 Sep 2021 09:10:43 -0700 (PDT) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id i5sm7070851pjk.47.2021.09.13.09.10.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Sep 2021 09:10:42 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Mon, 13 Sep 2021 09:10:18 -0700 Message-Id: <20210913161025.10490-12-stephen@networkplumber.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210913161025.10490-1-stephen@networkplumber.org> References: <20210909175648.174258-1-stephen@networkplumber.org> <20210913161025.10490-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH v2 11/18] pipeline: fix spellin error in comment X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Minor typo Signed-off-by: Stephen Hemminger --- lib/pipeline/rte_swx_pipeline.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pipeline/rte_swx_pipeline.h b/lib/pipeline/rte_swx_pipeline.h index cd395ac39dbb..9bfc69b2bb4f 100644 --- a/lib/pipeline/rte_swx_pipeline.h +++ b/lib/pipeline/rte_swx_pipeline.h @@ -620,7 +620,7 @@ struct rte_swx_pipeline_selector_params { const char *group_id_field_name; /** The set of fields used to select (through a hashing scheme) the - * member within the current group. Inputs into the seletion operation. + * member within the current group. Inputs into the selection operation. * Restriction: All the selector fields must be part of the same struct, * i.e. part of the same header or part of the meta-data structure. */ From patchwork Mon Sep 13 16:10: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: 98764 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 ED08AA0C45; Mon, 13 Sep 2021 18:12:14 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 27BCF41159; Mon, 13 Sep 2021 18:10:49 +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 CFF3941149 for ; Mon, 13 Sep 2021 18:10:45 +0200 (CEST) Received: by mail-pl1-f180.google.com with SMTP id bb10so6160671plb.2 for ; Mon, 13 Sep 2021 09:10:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=h6RGbz+lW+gRBc5jM7TaIL5lDnuiXp6WTtvh6t/pgTM=; b=ZlQO8mkSuWTwTFkDFOKaZEMYGK7IxnjZ6WF3I9HJtXgPOBttca9wj6lwo//oRrxOlI fMTDZcie8FQX9zoYKdHbM4W7F1Kcf3Kp7eAI+MNzpPpvKQ5vR2zAkLnEs27U0L/GgowT Nqjs0HcqrDA+siObMxF/cefKF2Ur4by/mz9H8RFHE+QsWXF2FtqQ69esHFBxAblmJFDK WiigZQBB6AMl9+sT1CCPpm4zlCv4CeK8sfDTgIoQ46THVXfshj5AJZLsLNWVJ8OXznuq Eq/4L+zAEZEZXBcUivvlqq8UXYPyrWAJRR6RN431nJpXlMXhXgR0+jwzXHZIYgy6fH9r p1tw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=h6RGbz+lW+gRBc5jM7TaIL5lDnuiXp6WTtvh6t/pgTM=; b=7OYICRXwSHug2ASPFPlAsm62g+w6JaueqXjA2JMpxpKJ1ddoxmAo6KC6wK2cJ6znvO xU2IQTmFfz/yjsZOXjvlfn4xVfvc3rSEI6Uno2CnxPha+5OLgVbB0uJBF/ViRXPsFaH2 irOWuBeynQ3ea6uzNrjzhWKRwtRlSNC6D61wzOHIxfynBXeegHjzWyYzVKRrQ1bH/Fdg qZCzrIFcnsKYLj7z+mJeFNDSV+FmKW8mEkNXwLL0AOfd1Qr+R/S8r3zy/dZWq//YDRMG KMmtln4IdwZhl9pl3QqSFB18ZH86XipmzB0lddsN1Bf4InjJcYKH0ar4vGbzTgqxDPDw v4ow== X-Gm-Message-State: AOAM5303RpGbHNZJBeuNLDYPW+X3uQ/LL4G3sMAs0dtM7QF2CQ2scmoa TgcMiITBy4QCaOyhJfISyZgnApaECu2mzg== X-Google-Smtp-Source: ABdhPJzcpnSe/lEUSWdZ8w/Ubi56ySZdwl/eMdQghtcv9nfzLzd43GAeVrBNvue+n++x0eIQhmmK7g== X-Received: by 2002:a17:902:d892:b0:138:abfd:ec7d with SMTP id b18-20020a170902d89200b00138abfdec7dmr11097754plz.15.1631549444652; Mon, 13 Sep 2021 09:10:44 -0700 (PDT) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id i5sm7070851pjk.47.2021.09.13.09.10.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Sep 2021 09:10:43 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Mon, 13 Sep 2021 09:10:19 -0700 Message-Id: <20210913161025.10490-13-stephen@networkplumber.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210913161025.10490-1-stephen@networkplumber.org> References: <20210909175648.174258-1-stephen@networkplumber.org> <20210913161025.10490-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH v2 12/18] hash: fix typo in comment X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Yet another spelling error found by codespell. Signed-off-by: Stephen Hemminger --- lib/hash/rte_thash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/hash/rte_thash.c b/lib/hash/rte_thash.c index d5a95a6e009a..f5e9111f0264 100644 --- a/lib/hash/rte_thash.c +++ b/lib/hash/rte_thash.c @@ -26,7 +26,7 @@ EAL_REGISTER_TAILQ(rte_thash_tailq) /** * Table of some irreducible polinomials over GF(2). - * For lfsr they are reperesented in BE bit order, and + * For lfsr they are represented in BE bit order, and * x^0 is masked out. * For example, poly x^5 + x^2 + 1 will be represented * as (101001b & 11111b) = 01001b = 0x9 From patchwork Mon Sep 13 16:10: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: 98765 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 2DF0DA0C45; Mon, 13 Sep 2021 18:12:23 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 49A5D4115F; Mon, 13 Sep 2021 18:10:50 +0200 (CEST) Received: from mail-pl1-f177.google.com (mail-pl1-f177.google.com [209.85.214.177]) by mails.dpdk.org (Postfix) with ESMTP id CCC1941151 for ; Mon, 13 Sep 2021 18:10:46 +0200 (CEST) Received: by mail-pl1-f177.google.com with SMTP id c4so4608792pls.6 for ; Mon, 13 Sep 2021 09:10:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=eFOTpf1ItuTSbd0uW3EE82eF+R9njqfA+lfeOdEESKA=; b=isk43VErituYh/rtV/k+kXHxw2Idl0CY5Up95ALXAIcd1uc0WKri6/T8hivu1R4G4c 7wkoxSx0VkI1fLg0bTJnzc7deHy4FwH756bitktfu8DDJ3piXzuyGUA0TXqVISvM68yB awtwfmfsM2/LZhDR0inbHl/kXzHpJ4932Xa+pltb07UQH1pf7IaeT5URVUI3ptsWdGny QDDVOi6uk9erjfxKIet7+z0K3pWqF7/zZsFFbVKAMCCdGmRvU/NHWGB6CwqyxXE3w+hY r1n9E8qRFhkPJBZDcqefkFSodv0QJLQ7FcGZrFFt+nVVwLomApJTzMCFU63JAp2THnw5 Z95w== 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=wCGmzlJicmINqBxQiUNtirusFiH/4I3m/N+McAWy9WyfsBGJUGuvYpTlTnWeNzEdkL x7Iam06vD70xbivFjfbj/upwFpWj6ILIQEgg8gvWBO56KlrVHVRnIhvjcBrG9P3kTcEl yrEQGs1kAjcHQWFinsWqqvsgEn+9Yd9IV2IcGAIiKOrIXuyhVErcKfNjjJ8in0LvAF2e znTHZMYzbUMhjQBR76ErMsJGDg+gYHvVJFX6gMktsYVke8perMAVjayQ39pM/DvWyOH7 gRMlBzpujQF8Sb3IkOwRTyn4nMOTar3ZFaipILMf62JIIWgxo5IVgprW2plXe9zxgJTm RZvw== X-Gm-Message-State: AOAM531oAxGt1t+mbA+t5eeIqKjH96wIePlFTlst69ZudTJH8uys+IAY NbgOJET5goe3WN/L45CA5aVg10KtPFktHA== X-Google-Smtp-Source: ABdhPJyCGLEZ3UhPrmOlBiP+m/HVG4Tp3sZNWTNMpNZ+ZDgzHzZ4GDDuVRiLpND8zuWlrMiCYXBIDA== X-Received: by 2002:a17:903:234c:b0:13c:7a6e:4b43 with SMTP id c12-20020a170903234c00b0013c7a6e4b43mr913801plh.29.1631549445659; Mon, 13 Sep 2021 09:10:45 -0700 (PDT) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id i5sm7070851pjk.47.2021.09.13.09.10.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Sep 2021 09:10:45 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Mon, 13 Sep 2021 09:10:20 -0700 Message-Id: <20210913161025.10490-14-stephen@networkplumber.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210913161025.10490-1-stephen@networkplumber.org> References: <20210909175648.174258-1-stephen@networkplumber.org> <20210913161025.10490-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH v2 13/18] rib: fix typo in comment X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Yet another spelling error found by codespell. Signed-off-by: Stephen Hemminger --- lib/rib/rte_rib6.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rib/rte_rib6.c b/lib/rib/rte_rib6.c index 96424e9c9f4f..4a6f29b0040d 100644 --- a/lib/rib/rte_rib6.c +++ b/lib/rib/rte_rib6.c @@ -199,7 +199,7 @@ rte_rib6_lookup_exact(struct rte_rib6 *rib, } /* - * Traverses on subtree and retreeves more specific routes + * Traverses on subtree and retrieves more specific routes * for a given in args ip/depth prefix * last = NULL means the first invocation */ From patchwork Mon Sep 13 16:10: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: 98766 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 8C739A0C45; Mon, 13 Sep 2021 18:12:30 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7115C41165; Mon, 13 Sep 2021 18:10:51 +0200 (CEST) Received: from mail-pg1-f181.google.com (mail-pg1-f181.google.com [209.85.215.181]) by mails.dpdk.org (Postfix) with ESMTP id 116F241158 for ; Mon, 13 Sep 2021 18:10:48 +0200 (CEST) Received: by mail-pg1-f181.google.com with SMTP id g184so9900641pgc.6 for ; Mon, 13 Sep 2021 09:10:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=PmodIwvYH+OOKWa1wAp8iVPfYtmFhqhVBhIsxeIQCKY=; b=Aan5GQC6xliYQfnGeqUPVmyiJ5ubDzS9CQf3lHrd0TzFuhdL26sQ4InP6tEsRXgNU4 dZ4nztMl2mRI7bK9/nGHKq+WRuyUnRCKtHvLZfvPHqmweR44Jd1/lR74UMKUtG5BIbvf A2Bg61AQzYRu8+FM6p6NyJZbeNGWvaIe6OBUv4EhD/naNephhx1EBTeknNFKHL8AJGqk j5nSEysgTMTryd6L9WJ80KTYbKhQpL4QIdkPROB4I5OmihRaelzTmUzLEEfBjuyuCGQd IFj54YuRU4fFTVkjGNz2DTZCY9ejn052yF3p+9hbBEbUeGUxTaCiG5uw0O7gaEdti7aA IOHw== 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=s4BiDpDkbsLh5cW/dXMDyEaY+zrnzBq963ZUVo18mu9GgUcBOkkiRLD5g1YLyFS/dr AoxtqXJmnDCLjgrfT03/0XaP/xZYDWRfvYHrHcHrBnObskrERvek1lZQ0fnTgWAE/RNg LKTZFF6EnXe2g9QfOBfyxzBGsfiUeEws1/+xgDxuseA3A0HnT4RtphwE++YqUx8dhWsh 5Yw9zNNq+3NDs87XZ/Fsyn6FsY7BgAmRo1+KGFptDpAZHQTn9gFYqJlapSSovk0vVT3k gUIsfVWqO9cae4AUDIz9tqNEXPx3jPre5SORtLAQmZp7KpQWIKhEW5N/rQ0rqa12gjVv E23w== X-Gm-Message-State: AOAM530NM1omsZ3JGmmEHvRbjRQKN2XfDmjch6tWMNS3Ro5wIbbbvEAU 4P9Z2zSAcAi0Ho6kyifPpftOwM5B3lsmbA== X-Google-Smtp-Source: ABdhPJzCdIR4LUx9BvXGCODlo3k1hu5f9dzWFZqPRXBK+cekIBEDE0d3tr8CzXVW7eqciPs7u2jhAg== X-Received: by 2002:aa7:9094:0:b0:42a:ea30:5509 with SMTP id i20-20020aa79094000000b0042aea305509mr218791pfa.30.1631549446828; Mon, 13 Sep 2021 09:10:46 -0700 (PDT) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id i5sm7070851pjk.47.2021.09.13.09.10.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Sep 2021 09:10:46 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Mon, 13 Sep 2021 09:10:21 -0700 Message-Id: <20210913161025.10490-15-stephen@networkplumber.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210913161025.10490-1-stephen@networkplumber.org> References: <20210909175648.174258-1-stephen@networkplumber.org> <20210913161025.10490-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH v2 14/18] sched: fix typo in comment X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Yet another spelling error found by codespell. Signed-off-by: Stephen Hemminger --- lib/sched/rte_sched.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sched/rte_sched.c b/lib/sched/rte_sched.c index a858f61f9548..329f4b2e7b48 100644 --- a/lib/sched/rte_sched.c +++ b/lib/sched/rte_sched.c @@ -579,7 +579,7 @@ rte_sched_subport_config_qsize(struct rte_sched_subport *subport) subport->qsize_add[0] = 0; - /* Strict prority traffic class */ + /* Strict priority traffic class */ for (i = 1; i < RTE_SCHED_TRAFFIC_CLASSES_PER_PIPE; i++) subport->qsize_add[i] = subport->qsize_add[i-1] + subport->qsize[i-1]; From patchwork Mon Sep 13 16:10: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: 98767 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 B25B1A0C45; Mon, 13 Sep 2021 18:12:38 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 920D041139; Mon, 13 Sep 2021 18:10:52 +0200 (CEST) Received: from mail-pf1-f179.google.com (mail-pf1-f179.google.com [209.85.210.179]) by mails.dpdk.org (Postfix) with ESMTP id 8334C4115C for ; Mon, 13 Sep 2021 18:10:49 +0200 (CEST) Received: by mail-pf1-f179.google.com with SMTP id m26so9332514pff.3 for ; Mon, 13 Sep 2021 09:10:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=sqhquunZ06m8nQFnLGDHxz44R3tvFD0RB1qn/HZT5Hs=; b=sXLC6aXD2W3sPcYO8Of3fq2OFZKDqvOksNmb+7yCRyqV+SonOgmG7HDBLidmn1UCxq BhJXnwVtngnp+YoK97o6aN9YJPAnbod5cx80WjMBZeXs9WGSPVqd6sO2Ga44Fa65ZFM+ NWytoY4k3yLE4azmnFC9DRc6w3E9YV64qyndG3go9I/DC9EuCENxBfPwoq81A3/rbEpI 7k9LbVUVQ5qYe6+xSA13hZVUJpBr0TCTnGKa47meQTpscPxpjjmcbGWgcFYYbV+hMbFn Y35vYgNDQLKC4Whe/sOdPYNMKfDvOQe7cTWBs7Y1hrCfKHaltEQxVFb+yegXOzz6qxdO YQqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=sqhquunZ06m8nQFnLGDHxz44R3tvFD0RB1qn/HZT5Hs=; b=IETZs3XU1mYzVjBycpuUvnzHlUKB6LYZs7Q5JvSyuCEj2g1eap+E+GYrkHCD4ZSX+S kPTBEHenqsF6EjSIcSDQ+L+iYIO3oD6s3hcU/ADpKi1ihxiaorPeMSUJb/1h8SAAzooZ 4IaZEcU49nyyAsNcGgZb1zKJgLC87a9JWiHxzDNLSYIoSi4/4jBoSDnTzQfN7xXs7XrT Ymn696uh59FxFKWs06+aQHF7x+u3GFqYr9iLmCtkYOLlWGkOWMPVg2PDRVmZkQbpHpL+ OGPjQSVUVYNY17hRJAwYroCdAY2j/HKAtmgRWkEmIBtGMz+D8bSofIY2Yfcb3VS1aLin gZrw== X-Gm-Message-State: AOAM530qVRi6gL49CUF9zmHhUKTO+1+xQO+Dj+ucNkXqmZxgYJvZ7N9t afmwskeEe63905eLMOlv6p9a/3gNm4bdUg== X-Google-Smtp-Source: ABdhPJwJf9/fi72iFugYrjgrbGCWONJYbGZxmEFBWYPCKRe0m4F8DDJrPPa++iJLO7AV61O59M0xBw== X-Received: by 2002:a62:ea06:0:b0:3e1:62a6:95b8 with SMTP id t6-20020a62ea06000000b003e162a695b8mr306918pfh.70.1631549448351; Mon, 13 Sep 2021 09:10:48 -0700 (PDT) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id i5sm7070851pjk.47.2021.09.13.09.10.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Sep 2021 09:10:47 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Mon, 13 Sep 2021 09:10:22 -0700 Message-Id: <20210913161025.10490-16-stephen@networkplumber.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210913161025.10490-1-stephen@networkplumber.org> References: <20210909175648.174258-1-stephen@networkplumber.org> <20210913161025.10490-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH v2 15/18] vhost: fix typo in comment X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Yet another spelling error found by codespell. Signed-off-by: Stephen Hemminger --- lib/vhost/rte_vhost.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/vhost/rte_vhost.h b/lib/vhost/rte_vhost.h index 8d875e932297..c36dfc705b04 100644 --- a/lib/vhost/rte_vhost.h +++ b/lib/vhost/rte_vhost.h @@ -776,7 +776,7 @@ rte_vhost_get_vhost_ring_inflight(int vid, uint16_t vring_idx, /** * Set split inflight descriptor. * - * This function save descriptors that has been comsumed in available + * This function save descriptors that has been consumed in available * ring * * @param vid @@ -796,7 +796,7 @@ rte_vhost_set_inflight_desc_split(int vid, uint16_t vring_idx, /** * Set packed inflight descriptor and get corresponding inflight entry * - * This function save descriptors that has been comsumed + * This function save descriptors that has been consumed * * @param vid * vhost device ID From patchwork Mon Sep 13 16:10: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: 98768 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 E23D0A0C45; Mon, 13 Sep 2021 18:12:46 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AB7CD4116F; Mon, 13 Sep 2021 18:10:53 +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 C921E41162 for ; Mon, 13 Sep 2021 18:10:50 +0200 (CEST) Received: by mail-pf1-f176.google.com with SMTP id f65so9305053pfb.10 for ; Mon, 13 Sep 2021 09:10:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=m0XeohiqRvVrKNeMF/7svmE71i8QeQrmnkfwNWJPj84=; b=ZsxmbYmMjxSu8/hkWVljrPXwoi0dO7tDwkan/VZ8yE4H0M9NBFY6ghKmXKq3AUHmPK Jx0f4yeZl8sU9/btuO7yN997r4JpWgEI75ghGYoB4G9XzKuqdJp7dImNbNPl6zJyT4sn D2+bxB/sPWhTaVRA78G0wi2UIl5E/h+LC62GsJOn6dtJHwzoHeAAw5UvX7GU6Mmr1oTS rHfWP+O+oo+veREWfAPSQ2WrIRbNEoZySfhBapv1sAQGZuvsRRbPoGQlO7V686XDQjsn 9cRIijyXjcLjQMBevphL1kFOy1rJLt8azN2doI4tueGMcPObzbXqlWEa5R8grSQg9Rr7 FpPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=m0XeohiqRvVrKNeMF/7svmE71i8QeQrmnkfwNWJPj84=; b=ZPMlBinDMNafkaqtnVGAIW+fQLWkbhWdVD+kkzlN3GVnZ2jy6Knl6M48iBhQBEElcX PQyriSEuGwlxXy4Y3BGTsdHhNj8ZhJSH00hJfZk8DrulhcUI6W8E3TMVGp9Q3fw2D1m2 RmVzIy0J7+k6H7WYa06PDPkDHc+FJLCfxZgOs+o1f2zZHYj0N8AYnYbSPLr/BSsZuJNg UL5QggvvdPUkBYhl7oZv82YMm7fnfiJ2c60EmOgGwPnuQeqPgplEzUIIHo4Z+GzUaBDm tT4lFPpZ4uGCxASxY16Os2PP/rN6JnHggpyffrm3q8e7LuBEfbVGupXDfTu2CwGmr/ok Vn8g== X-Gm-Message-State: AOAM530zXkf04YrooFUtbiDuPE8mYmM9zoY9KW2eza2eYEr3+yKmS2Z0 Zg1loDzfTv4g84FobuDOiMcyGnZSFj4tlw== X-Google-Smtp-Source: ABdhPJyyx8xYy8MWzWZOZNqd7NO6HJUvdgQ6NbBEaYnrzO7xV7Ov2Gm5Sg1sVT/gOMJgiuLaTIGE7A== X-Received: by 2002:aa7:8dca:0:b0:40e:807:5036 with SMTP id j10-20020aa78dca000000b0040e08075036mr231699pfr.2.1631549449660; Mon, 13 Sep 2021 09:10:49 -0700 (PDT) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id i5sm7070851pjk.47.2021.09.13.09.10.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Sep 2021 09:10:49 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Mon, 13 Sep 2021 09:10:23 -0700 Message-Id: <20210913161025.10490-17-stephen@networkplumber.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210913161025.10490-1-stephen@networkplumber.org> References: <20210909175648.174258-1-stephen@networkplumber.org> <20210913161025.10490-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH v2 16/18] ip_frag: fix typos X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Minor typos in comment. Signed-off-by: Stephen Hemminger 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 Mon Sep 13 16:10: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: 98769 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 1491BA0C45; Mon, 13 Sep 2021 18:12:57 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 24A194117C; Mon, 13 Sep 2021 18:10:56 +0200 (CEST) Received: from mail-pj1-f53.google.com (mail-pj1-f53.google.com [209.85.216.53]) by mails.dpdk.org (Postfix) with ESMTP id 44ACF41169 for ; Mon, 13 Sep 2021 18:10:52 +0200 (CEST) Received: by mail-pj1-f53.google.com with SMTP id v19so4016283pjh.2 for ; Mon, 13 Sep 2021 09:10:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=EK1McEofPTlwgxP0zKgCyVBChGh3vg3HbLH37wWLjHk=; b=aomWtnh7IxiQ9AJ50ClYKlCYWVt7koM3WO0zwQ732DxYtBvS/8U+siXkMTe9nAuC8C BPhUMD4opuoji6t5XgnB6zseu/SIfBi6HNG/w5ILfQXXaacVjEqqgLyRzKyVRJ1797VB lQyEuvUoiK75Op379IZ+68tJvcC9H3UB4fKtMTZObgNErbpqLSDetwh7gnfCsbqR81ao bOsE1rcGJdjtUEzCJ1RsjIxzP1DkU/wfl7U/90LafGHTMCE7vytTZ3RA7BDZObTTEip4 oWO2zPiBd+GVJgVGT1sO/wT//NEye+6f3dUr+RErMmxudhRH+OdUImt2VgUjpOPxW7Vt vAng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=EK1McEofPTlwgxP0zKgCyVBChGh3vg3HbLH37wWLjHk=; b=VZ/MZhYFHNJNujsMtlu7e9yCF+R1kQCtgjP+Nq0uRqzi3N9kl1Pfb0vZG5r308LkfM MyN7ANzkKY8IkKueG+UdSoDS06846+Ztf5YIBYj3e6GIojRW9wNA8S6B/IpmNgkYOzYX GjDVrdoRDH51ZuwufyrZVzmN5km430hz3uBkHNJFJYLE56607w7jQZ+lRCA+tx7jxDuk lMf+KfHeYBJwj3E51BkJZPhEPM/WS8Qqrl8Ossg6shwLGPUyaCi3JrDTe1Q9vqa/yyJO JQtfXH3gnO8r9uA+tUfI68JSeyMOUVNvDtTC2ZeShnAp9Q2vC0WZxRxiaM3U8YrltMP7 pbtQ== X-Gm-Message-State: AOAM533Wh25v46KH8D+gpEhJ4HossPTh7WWY8FJcrbUb5Qmumq4ykFEv FR2F8Mx5eD5BZziQuVuOjlJUiIjl1uXE6g== X-Google-Smtp-Source: ABdhPJzydn2ETbSvNLyjRVovRMXsx/xx5F31XBn/qj1bhR+UryJCSceHUzYmK8bpDyy1AOgxa5B6Bg== X-Received: by 2002:a17:903:248f:b029:128:d5ea:18a7 with SMTP id p15-20020a170903248fb0290128d5ea18a7mr11267422plw.83.1631549451079; Mon, 13 Sep 2021 09:10:51 -0700 (PDT) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id i5sm7070851pjk.47.2021.09.13.09.10.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Sep 2021 09:10:50 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Mon, 13 Sep 2021 09:10:24 -0700 Message-Id: <20210913161025.10490-18-stephen@networkplumber.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210913161025.10490-1-stephen@networkplumber.org> References: <20210909175648.174258-1-stephen@networkplumber.org> <20210913161025.10490-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH v2 17/18] test-pmd: fix spelling errors in comments X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" More typos Signed-off-by: Stephen Hemminger --- app/test-pmd/cmdline.c | 2 +- app/test-pmd/config.c | 4 ++-- app/test-pmd/icmpecho.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c index 82253bc75110..2628bd64dae6 100644 --- a/app/test-pmd/cmdline.c +++ b/app/test-pmd/cmdline.c @@ -3670,7 +3670,7 @@ parse_item_list(const char *str, const char *item_name, unsigned int max_items, return nb_item; /* - * Then, check that all values in the list are differents. + * Then, check that all values in the list are different. * No optimization here... */ for (i = 0; i < nb_item; i++) { diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c index 31d8ba1b913c..d274c6669d50 100644 --- a/app/test-pmd/config.c +++ b/app/test-pmd/config.c @@ -2777,7 +2777,7 @@ port_rss_reta_info(portid_t port_id, } /* - * Displays the RSS hash functions of a port, and, optionaly, the RSS hash + * Displays the RSS hash functions of a port, and, optionally, the RSS hash * key of the port. */ void @@ -4932,7 +4932,7 @@ mcast_addr_pool_remove(struct rte_port *port, uint32_t addr_idx) { port->mc_addr_nb--; if (addr_idx == port->mc_addr_nb) { - /* No need to recompact the set of multicast addressses. */ + /* No need to recompact the set of multicast addresses. */ if (port->mc_addr_nb == 0) { /* free the pool of multicast addresses. */ free(port->mc_addr_pool); diff --git a/app/test-pmd/icmpecho.c b/app/test-pmd/icmpecho.c index 8948f28eb5af..ebff5ac9794f 100644 --- a/app/test-pmd/icmpecho.c +++ b/app/test-pmd/icmpecho.c @@ -54,7 +54,7 @@ arp_op_name(uint16_t arp_op) default: break; } - return "Unkwown ARP op"; + return "Unknown ARP op"; } static const char * From patchwork Mon Sep 13 16:10: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: 98770 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 4A0CAA0C45; Mon, 13 Sep 2021 18:13:04 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4985641181; Mon, 13 Sep 2021 18:10:57 +0200 (CEST) Received: from mail-pl1-f177.google.com (mail-pl1-f177.google.com [209.85.214.177]) by mails.dpdk.org (Postfix) with ESMTP id E7FF041172 for ; Mon, 13 Sep 2021 18:10:53 +0200 (CEST) Received: by mail-pl1-f177.google.com with SMTP id bg1so6137657plb.13 for ; Mon, 13 Sep 2021 09:10:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=irWfVAhYyPrLxZUVBStQy0k8Hd7OAEuBQ/q/LRQM27g=; b=Pt89bR5fH4T7dwkFw7a9kZekAz3wvKECJGm2JLKuvoP1EZ5xfYn9RYduK4G36xIJwe jEBUVHShqzEjl62CkTw1hQpgisRh/yZt3wIQ3pGHbfcRyN1SaRg8HDvmZ9mdva7lbm38 O8NJTmkYS1pK2oehWhvUNuljlj3Dm/06+93SOWH2Dw5dk3gtSgQjR/frkePFb7OrpWsn 7UwqS+aQK96r8VbTRe2j85oTUv0btt91eSwpkIfRsidMqZyNYXtnMhjc66P0r87e7Ysg UJVCDdel5czXkNBCE+C0DxjQvnODz/uSi1dwOyR4QOuLVeTpk+6l3Y9yXiSnZ+q4ItI3 219w== 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=irWfVAhYyPrLxZUVBStQy0k8Hd7OAEuBQ/q/LRQM27g=; b=7OY7ta/nQl+0qKo8NDJRyPSncmtdgAmjd/zNLdhhTVzbL/gshtZBIdG1nVi8UJPOy9 5EgdkM8E9cMq5zHgTnggnQPVxEcEs+6ZVVEZw1JbHp1MmckZd9m+iJkHsqS6d8TcTYcY ymlV6Obp4aD2nGjh/56DZoedeBDLvf/pFuLOZApSpfDR2pc3hOM+qe226NHJ+wphwt54 MBGgwEJIZMd/fjLoaEkx/KY7aGKesPztOhz3TllRJS3d5fZkeRJqfQkuhC8OJIUH1qxp gwhpw/gLJeo5QWbOiN9Xtfxp9qKDmbO3zUiGlKbwUp77RYql7AWedHYjBdTztMRfCdsd gMlA== X-Gm-Message-State: AOAM533NxwxqdvbBOXL3LMwj9uZeZ8t+IUEmN5s0OyOFBhJ5l7o6ihOi 8IhI7YsUOVYmN6nHRA6Eg9VB/76Yz5ItNg== X-Google-Smtp-Source: ABdhPJyfaqWhUZhk41c4P4BkS83oK6r8LrgSJMCjjxIq/Lj9xP5voZPnS+vTlvDV6Ln+oBi4xf/OwQ== X-Received: by 2002:a17:902:7602:b0:13a:2968:a37 with SMTP id k2-20020a170902760200b0013a29680a37mr11241265pll.30.1631549452610; Mon, 13 Sep 2021 09:10:52 -0700 (PDT) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id i5sm7070851pjk.47.2021.09.13.09.10.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Sep 2021 09:10:51 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Mon, 13 Sep 2021 09:10:25 -0700 Message-Id: <20210913161025.10490-19-stephen@networkplumber.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210913161025.10490-1-stephen@networkplumber.org> References: <20210909175648.174258-1-stephen@networkplumber.org> <20210913161025.10490-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH v2 18/18] test: fix spelling errors in comments X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Lots of little typos. Signed-off-by: Stephen Hemminger --- app/test/test_atomic.c | 2 +- app/test/test_barrier.c | 2 +- app/test/test_bpf.c | 2 +- app/test/test_compressdev.c | 2 +- app/test/test_func_reentrancy.c | 6 +++--- app/test/test_ipsec.c | 2 +- app/test/test_link_bonding.c | 2 +- app/test/test_lpm.c | 6 +++--- app/test/test_lpm6.c | 14 +++++++------- app/test/test_malloc.c | 4 ++-- app/test/test_mbuf.c | 2 +- app/test/test_mempool.c | 2 +- app/test/test_mempool_perf.c | 2 +- app/test/test_meter.c | 6 +++--- app/test/test_pmd_perf.c | 2 +- app/test/test_timer.c | 2 +- 16 files changed, 29 insertions(+), 29 deletions(-) diff --git a/app/test/test_atomic.c b/app/test/test_atomic.c index f10f555af8b4..7dfa10a70102 100644 --- a/app/test/test_atomic.c +++ b/app/test/test_atomic.c @@ -88,7 +88,7 @@ * * - Invoke ``test_atomic_exchange`` on each lcore. Before doing * anything else, the cores wait for a synchronization event. - * Each core then does the follwoing for N iterations: + * Each core then does the following for N iterations: * * Generate a new token with a data integrity check * Exchange the new token for previously generated token diff --git a/app/test/test_barrier.c b/app/test/test_barrier.c index c27f8a0742f2..8fa93c00329a 100644 --- a/app/test/test_barrier.c +++ b/app/test/test_barrier.c @@ -66,7 +66,7 @@ struct plock_test { struct lcore_plock_test { struct plock_test *pt[2]; /* shared, lock-protected data */ uint64_t sum[2]; /* local copy of the shared data */ - uint64_t iter; /* number of iterations to perfom */ + uint64_t iter; /* number of iterations to perform */ uint32_t lc; /* given lcore id */ }; diff --git a/app/test/test_bpf.c b/app/test/test_bpf.c index 527c06b80708..cf6e022f7a92 100644 --- a/app/test/test_bpf.c +++ b/app/test/test_bpf.c @@ -2391,7 +2391,7 @@ static const struct ebpf_insn test_call5_prog[] = { }, }; -/* String comparision impelementation, return 0 if equal else difference */ +/* String comparison implementation, return 0 if equal else difference */ static uint32_t dummy_func5(const char *s1, const char *s2) { diff --git a/app/test/test_compressdev.c b/app/test/test_compressdev.c index 0571c17ecb8d..a7d04c02c6dd 100644 --- a/app/test/test_compressdev.c +++ b/app/test/test_compressdev.c @@ -2035,7 +2035,7 @@ test_deflate_comp_decomp(const struct interim_data_params *int_data, test_priv_data.all_decomp_data = &all_decomp_data; test_priv_data.decomp_produced_data_size = &decomp_produced_data_size; - test_priv_data.num_priv_xforms = 0; /* it's used for deompression only */ + test_priv_data.num_priv_xforms = 0; /* it's used for decompression only */ capa = rte_compressdev_capability_get(0, RTE_COMP_ALGO_DEFLATE); if (capa == NULL) { diff --git a/app/test/test_func_reentrancy.c b/app/test/test_func_reentrancy.c index 231c99a9ebc5..69ff421b1824 100644 --- a/app/test/test_func_reentrancy.c +++ b/app/test/test_func_reentrancy.c @@ -242,7 +242,7 @@ hash_create_free(__rte_unused void *arg) rte_atomic32_inc(&obj_count); } - /* create mutiple times simultaneously */ + /* create multiple times simultaneously */ for (i = 0; i < MAX_ITER_MULTI; i++) { snprintf(hash_name, sizeof(hash_name), "fr_test_%d_%d", lcore_self, i); hash_params.name = hash_name; @@ -306,7 +306,7 @@ fbk_create_free(__rte_unused void *arg) rte_atomic32_inc(&obj_count); } - /* create mutiple fbk tables simultaneously */ + /* create multiple fbk tables simultaneously */ for (i = 0; i < MAX_ITER_MULTI; i++) { snprintf(fbk_name, sizeof(fbk_name), "fr_test_%d_%d", lcore_self, i); fbk_params.name = fbk_name; @@ -368,7 +368,7 @@ lpm_create_free(__rte_unused void *arg) rte_atomic32_inc(&obj_count); } - /* create mutiple fbk tables simultaneously */ + /* create multiple fbk tables simultaneously */ for (i = 0; i < MAX_LPM_ITER_TIMES; i++) { snprintf(lpm_name, sizeof(lpm_name), "fr_test_%d_%d", lcore_self, i); lpm = rte_lpm_create(lpm_name, SOCKET_ID_ANY, &config); diff --git a/app/test/test_ipsec.c b/app/test/test_ipsec.c index 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..37b460af3a96 100644 --- a/app/test/test_lpm.c +++ b/app/test/test_lpm.c @@ -179,7 +179,7 @@ test3(void) status = rte_lpm_add(NULL, ip, depth, next_hop); TEST_LPM_ASSERT(status < 0); - /*Create vaild lpm to use in rest of test. */ + /*Create valid lpm to use in rest of test. */ lpm = rte_lpm_create(__func__, SOCKET_ID_ANY, &config); TEST_LPM_ASSERT(lpm != NULL); @@ -217,7 +217,7 @@ test4(void) status = rte_lpm_delete(NULL, ip, depth); TEST_LPM_ASSERT(status < 0); - /*Create vaild lpm to use in rest of test. */ + /*Create valid lpm to use in rest of test. */ lpm = rte_lpm_create(__func__, SOCKET_ID_ANY, &config); TEST_LPM_ASSERT(lpm != NULL); @@ -255,7 +255,7 @@ test5(void) status = rte_lpm_lookup(NULL, ip, &next_hop_return); TEST_LPM_ASSERT(status < 0); - /*Create vaild lpm to use in rest of test. */ + /*Create valid lpm to use in rest of test. */ lpm = rte_lpm_create(__func__, SOCKET_ID_ANY, &config); TEST_LPM_ASSERT(lpm != NULL); diff --git a/app/test/test_lpm6.c b/app/test/test_lpm6.c index 0d664546fa47..17221f992aee 100644 --- a/app/test/test_lpm6.c +++ b/app/test/test_lpm6.c @@ -261,7 +261,7 @@ test4(void) status = rte_lpm6_add(NULL, ip, depth, next_hop); TEST_LPM_ASSERT(status < 0); - /*Create vaild lpm to use in rest of test. */ + /*Create valid lpm to use in rest of test. */ lpm = rte_lpm6_create(__func__, SOCKET_ID_ANY, &config); TEST_LPM_ASSERT(lpm != NULL); @@ -299,7 +299,7 @@ test5(void) status = rte_lpm6_delete(NULL, ip, depth); TEST_LPM_ASSERT(status < 0); - /*Create vaild lpm to use in rest of test. */ + /*Create valid lpm to use in rest of test. */ lpm = rte_lpm6_create(__func__, SOCKET_ID_ANY, &config); TEST_LPM_ASSERT(lpm != NULL); @@ -337,7 +337,7 @@ test6(void) status = rte_lpm6_lookup(NULL, ip, &next_hop_return); TEST_LPM_ASSERT(status < 0); - /*Create vaild lpm to use in rest of test. */ + /*Create valid lpm to use in rest of test. */ lpm = rte_lpm6_create(__func__, SOCKET_ID_ANY, &config); TEST_LPM_ASSERT(lpm != NULL); @@ -375,7 +375,7 @@ test7(void) status = rte_lpm6_lookup_bulk_func(NULL, ip, next_hop_return, 10); TEST_LPM_ASSERT(status < 0); - /*Create vaild lpm to use in rest of test. */ + /*Create valid lpm to use in rest of test. */ lpm = rte_lpm6_create(__func__, SOCKET_ID_ANY, &config); TEST_LPM_ASSERT(lpm != NULL); @@ -413,7 +413,7 @@ test8(void) status = rte_lpm6_delete_bulk_func(NULL, ip, depth, 10); TEST_LPM_ASSERT(status < 0); - /*Create vaild lpm to use in rest of test. */ + /*Create valid lpm to use in rest of test. */ lpm = rte_lpm6_create(__func__, SOCKET_ID_ANY, &config); TEST_LPM_ASSERT(lpm != NULL); @@ -433,7 +433,7 @@ test8(void) /* * Call add, lookup and delete for a single rule with depth < 24. * Check all the combinations for the first three bytes that result in a hit. - * Delete the rule and check that the same test returs a miss. + * Delete the rule and check that the same test returns a miss. */ int32_t test9(void) @@ -1738,7 +1738,7 @@ test27(void) * Call add, lookup and delete for a single rule with maximum 21bit next_hop * size. * Check that next_hop returned from lookup is equal to provisioned value. - * Delete the rule and check that the same test returs a miss. + * Delete the rule and check that the same test returns a miss. */ int32_t test28(void) diff --git a/app/test/test_malloc.c b/app/test/test_malloc.c index afff0de9f05a..6d9249f831be 100644 --- a/app/test/test_malloc.c +++ b/app/test/test_malloc.c @@ -603,7 +603,7 @@ test_realloc_numa(void) } } - /* Print warnign if only a single socket, but don't fail the test */ + /* Print warning if only a single socket, but don't fail the test */ if (socket_count < 2) printf("WARNING: realloc_socket test needs memory on multiple sockets!\n"); @@ -971,7 +971,7 @@ test_alloc_socket(void) } } - /* Print warnign if only a single socket, but don't fail the test */ + /* Print warning if only a single socket, but don't fail the test */ if (socket_count < 2) { printf("WARNING: alloc_socket test needs memory on multiple sockets!\n"); } diff --git a/app/test/test_mbuf.c b/app/test/test_mbuf.c index 9a248dfaea70..167c0938b633 100644 --- a/app/test/test_mbuf.c +++ b/app/test/test_mbuf.c @@ -1148,7 +1148,7 @@ test_refcnt_mbuf(void) rte_eal_mp_wait_lcore(); - /* check that we porcessed all references */ + /* check that we processed all references */ tref = 0; main_lcore = rte_get_main_lcore(); diff --git a/app/test/test_mempool.c b/app/test/test_mempool.c index 7675a3e605fb..5b559a04d142 100644 --- a/app/test/test_mempool.c +++ b/app/test/test_mempool.c @@ -628,7 +628,7 @@ test_mempool(void) if (test_mempool_basic_ex(mp_nocache) < 0) GOTO_ERR(ret, err); - /* mempool operation test based on single producer and single comsumer */ + /* mempool operation test based on single producer and single consumer */ if (test_mempool_sp_sc() < 0) GOTO_ERR(ret, err); diff --git a/app/test/test_mempool_perf.c b/app/test/test_mempool_perf.c index 8f629736e8fd..87ad25136796 100644 --- a/app/test/test_mempool_perf.c +++ b/app/test/test_mempool_perf.c @@ -88,7 +88,7 @@ static uint32_t synchro; static unsigned n_get_bulk; static unsigned n_put_bulk; -/* number of objects retrived from mempool before putting them back */ +/* number of objects retrieved from mempool before putting them back */ static unsigned n_keep; /* number of enqueues / dequeues */ diff --git a/app/test/test_meter.c b/app/test/test_meter.c index f6fe6494ab63..15d5a4839b4b 100644 --- a/app/test/test_meter.c +++ b/app/test/test_meter.c @@ -444,7 +444,7 @@ tm_test_srtcm_color_aware_check(void) * if using blind check */ - /* previouly have a green, test points should keep unchanged */ + /* previously have a green, test points should keep unchanged */ in[0] = in[1] = in[2] = in[3] = RTE_COLOR_GREEN; out[0] = RTE_COLOR_GREEN; out[1] = RTE_COLOR_YELLOW; @@ -551,7 +551,7 @@ tm_test_trtcm_color_aware_check(void) * if using blind check */ - /* previouly have a green, test points should keep unchanged */ + /* previously have a green, test points should keep unchanged */ in[0] = in[1] = in[2] = in[3] = RTE_COLOR_GREEN; out[0] = RTE_COLOR_GREEN; out[1] = RTE_COLOR_YELLOW; @@ -648,7 +648,7 @@ tm_test_trtcm_rfc4115_color_aware_check(void) * if using blind check */ - /* previouly have a green, test points should keep unchanged */ + /* previously have a green, test points should keep unchanged */ in[0] = in[1] = in[2] = in[3] = RTE_COLOR_GREEN; out[0] = RTE_COLOR_GREEN; out[1] = RTE_COLOR_YELLOW; diff --git a/app/test/test_pmd_perf.c b/app/test/test_pmd_perf.c index 3a248d512c4a..1ef844ba7568 100644 --- a/app/test/test_pmd_perf.c +++ b/app/test/test_pmd_perf.c @@ -753,7 +753,7 @@ test_pmd_perf(void) "rte_eth_dev_start: err=%d, port=%d\n", ret, portid); - /* always eanble promiscuous */ + /* always enable promiscuous */ ret = rte_eth_promiscuous_enable(portid); if (ret != 0) rte_exit(EXIT_FAILURE, diff --git a/app/test/test_timer.c b/app/test/test_timer.c index a10b2fe9daf4..631b737d169d 100644 --- a/app/test/test_timer.c +++ b/app/test/test_timer.c @@ -432,7 +432,7 @@ timer_basic_cb(struct rte_timer *tim, void *arg) return; } - /* Explicitelly stop timer 0. Once stop() called, we can even + /* Explicitly stop timer 0. Once stop() called, we can even * erase the content of the structure: it is not referenced * anymore by any code (in case of dynamic structure, it can * be freed) */