From patchwork Mon Jul 1 18:25:07 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 55798 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DA1761B96E; Mon, 1 Jul 2019 20:25:49 +0200 (CEST) Received: from mail-pf1-f196.google.com (mail-pf1-f196.google.com [209.85.210.196]) by dpdk.org (Postfix) with ESMTP id AD6EB25D9 for ; Mon, 1 Jul 2019 20:25:45 +0200 (CEST) Received: by mail-pf1-f196.google.com with SMTP id i189so6958781pfg.10 for ; Mon, 01 Jul 2019 11:25: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=AZp1oZCIFyuqYPH+vFMPxTLozwTCLWD8oDzyU02rhBQ=; b=m9IPsSzxsyhY3b7OiIOSG1XtzONU1Mk+lDfhDEI74V19svu7y8dpC+EVL4bi7iA7WI SEEiojSZqHio0yNeOttpRm4BT6M5PuXhopbjvS3Pz5xld+L3SbJZ2tJzx14obaUfGRcW n5pZTJ6ikr58gaQ9ZmukpS+hn0d9pVxEV+r6AMIKgig55m2Y3fMEMSu8WP09JiyZk4J6 yTN7lKRmNxXSHeW6bL+GDeBMPIOiHxQ3jxO37ALkQXGU21GsdATIqaQDJ2/keWFWI1a7 kdjknO/ZtrQDtitbhf0+5EOndxDC1f+CxQYyEm/lGB/DthFHtfCYIs807o4pEVY0yb+8 Q/mQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=AZp1oZCIFyuqYPH+vFMPxTLozwTCLWD8oDzyU02rhBQ=; b=YmwsYJ95AEgpjcs45BiaIDAT3VSzYCWx2NY1fY3xic1ILLlcw9QGEjfrDP1wpRh4Qj HrGtsvSkMrye7E3UitGUIIfla+qdGRHABTkM4n/lIb2BYps5kdSYFxCOaFmpUXOQlO2Y 6Q2glK3FTTxKjLBh4qSuAQqXlETtfpTXAhpQqY5aW+zLRcj7IkScTA5lKkMCvlgP9zw7 PQjli8tHiwcyD0IlwSV7e9Sjry/b9MeeYsWyT0f7oOmDppxE4+lqLccppbhFo0R5N06c JZVLbtiLQ8MnLXftDW6y92uOTS/BJB6/kVHKIQDUwbPQ8VS7sIeQq4HqHMwheyeQsdMn OCnw== X-Gm-Message-State: APjAAAUokvv0AA9IySsH7WTth0nyxs7lWGAWOyQxGEjsvXJfoxgS7ZoE VjFsTikkhPVIxmTqFugFvOMn8Yn7pOM= X-Google-Smtp-Source: APXvYqwOqVoc8manpVRzEX7FIfh4YlbEZkxtvbX9mbGlWoJdymV+oLv+NHRCSoniS4MgF/Kn0BB6Zw== X-Received: by 2002:a65:640d:: with SMTP id a13mr16802590pgv.256.1562005544614; Mon, 01 Jul 2019 11:25:44 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id 12sm11397340pfi.60.2019.07.01.11.25.43 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 01 Jul 2019 11:25:44 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Mon, 1 Jul 2019 11:25:07 -0700 Message-Id: <20190701182536.20110-2-stephen@networkplumber.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190701182536.20110-1-stephen@networkplumber.org> References: <20190701182536.20110-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 01/30] lpm: fix spelling errors X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" Fix small spelling errors (found by codespell) Signed-off-by: Stephen Hemminger --- lib/librte_lpm/rte_lpm6.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/librte_lpm/rte_lpm6.c b/lib/librte_lpm/rte_lpm6.c index a91803113649..c8bd21c8b24a 100644 --- a/lib/librte_lpm/rte_lpm6.c +++ b/lib/librte_lpm/rte_lpm6.c @@ -824,7 +824,7 @@ VERSION_SYMBOL(rte_lpm6_add, _v20, 2.0); * * Returns: * 0 on success - * -ENOSPC not enought tbl8 left + * -ENOSPC not enough tbl8 left */ static int simulate_add(struct rte_lpm6 *lpm, const uint8_t *masked_ip, uint8_t depth) @@ -854,7 +854,7 @@ simulate_add(struct rte_lpm6 *lpm, const uint8_t *masked_ip, uint8_t depth) } if (tbl8_available(lpm) < total_need_tbl_nb) - /* not enought tbl8 to add a rule */ + /* not enough tbl8 to add a rule */ return -ENOSPC; return 0; @@ -1314,7 +1314,7 @@ rule_find_range(struct rte_lpm6 *lpm, const uint8_t *ip, uint8_t depth, /* minus top level */ depth -= 24; - /* interate through levels (tbl8s) + /* iterate through levels (tbl8s) * until we reach the last one */ while (depth > 8) { From patchwork Mon Jul 1 18:25:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 55799 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id F2D121B99F; Mon, 1 Jul 2019 20:25:52 +0200 (CEST) Received: from mail-pf1-f193.google.com (mail-pf1-f193.google.com [209.85.210.193]) by dpdk.org (Postfix) with ESMTP id C50B725D9 for ; Mon, 1 Jul 2019 20:25:46 +0200 (CEST) Received: by mail-pf1-f193.google.com with SMTP id m30so6959498pff.8 for ; Mon, 01 Jul 2019 11:25: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=cIkmBzKAiJ6ZQ7FsRXmnaHSrqnAjnZcv0WVtnzMl6sU=; b=ik2vdHZO+0m8U5BrvX25q9Gy3tYWS1OObLF912LztGJrJoOhuZ1OKDojMEAvLmKFlf +B1le7kAUT903S1dLg5tmp0YI2bIPlIJMrXQfk4w/IMaiYM1BIbdRMQ7XQD8CG+hfzrQ dvpaXslK7Hl27pIHh5fN6PG8YVN4a/TT2h0k03ZRHdYnTCNYGzQQbxMBt5C3hMjrsvNh uEKgh78PxXyPaeLVCak0YgaTX8vB96B4uTEzpOwlnWB5ZAeMosW31XuzDnxYQJ23Muu+ GGEEKnTVs0VaVJ2MC4U5q0N5n7Ts3I7QFyr1dpgsrf/SjYHCjghnvuDyqpNQNEgY4l8Z sPKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=cIkmBzKAiJ6ZQ7FsRXmnaHSrqnAjnZcv0WVtnzMl6sU=; b=RIBwMCZ+46IQNjXWxtVbbwVuruuNpN8xY9D6IeZJogcDdfqmh9pM+SiKApbYIB6LV3 49u4S3o6GYiJZSMBtEsyZkYcEWUTnqd+61FqVowr85YV1Lrcfklwjdo97CQQ6o/sKzvj uac1BVvRtWl+I6Gt/fny3L3xBGo2aZHbmmOxJDHdMK4fKJY5n5LAqECVqKv2MH6Gnqqn 0d2niSj5sBMChOBmnUkX2od/a+cuYtkOVIqK4g4FLW1ne1Qrj8mnk5+lZ7yANMzaifRw 0IS6WpyQCyzXdieDA+zuKEUff9wJbfESbit+6BXh5vS26ZzvDHKuHVAys1jJIUbDHYmI gJLw== X-Gm-Message-State: APjAAAUcSnXao1CoyQGfNWqCP4pD/IMA7PgM9UwU3Jkp0I9Nvm2XF2Vl ySE9C1cOHIlqxRvnUlkq1ubdc19HF80= X-Google-Smtp-Source: APXvYqzHVhaGcc2ekCRQVr8VWrhn7gkfoiRnlQ/KjGpCI0Cdvx67RCs/h0vB+JJOeRNHgpHJnE0slw== X-Received: by 2002:a63:bd0a:: with SMTP id a10mr11806294pgf.55.1562005545704; Mon, 01 Jul 2019 11:25:45 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id 12sm11397340pfi.60.2019.07.01.11.25.44 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 01 Jul 2019 11:25:44 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Mon, 1 Jul 2019 11:25:08 -0700 Message-Id: <20190701182536.20110-3-stephen@networkplumber.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190701182536.20110-1-stephen@networkplumber.org> References: <20190701182536.20110-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 02/30] eal/windows: fix comment about fnmatch X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" Fix spelling error in comment, and clarify that pattern is supposed to be shell wildcare (not regex) in case someone ever decides to implement proper code for this. Signed-off-by: Stephen Hemminger --- lib/librte_eal/windows/eal/include/fnmatch.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_eal/windows/eal/include/fnmatch.h b/lib/librte_eal/windows/eal/include/fnmatch.h index 41b574312cde..b57b731e8aba 100644 --- a/lib/librte_eal/windows/eal/include/fnmatch.h +++ b/lib/librte_eal/windows/eal/include/fnmatch.h @@ -21,7 +21,7 @@ extern "C" { * with the given regular expression pattern. * * @param pattern - * regular expression notation decribing the pattern to match + * shell wildcard describing the pattern to match * * @param string * source string to searcg for the pattern From patchwork Mon Jul 1 18:25:09 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 55800 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id EF4C81B9A6; Mon, 1 Jul 2019 20:25:54 +0200 (CEST) Received: from mail-pg1-f195.google.com (mail-pg1-f195.google.com [209.85.215.195]) by dpdk.org (Postfix) with ESMTP id 343E5374C for ; Mon, 1 Jul 2019 20:25:48 +0200 (CEST) Received: by mail-pg1-f195.google.com with SMTP id c13so6421676pgg.3 for ; Mon, 01 Jul 2019 11:25:48 -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=IMv6y1MmjlknEVcM2pyL0HJCEC2RpABIA4wBYNLu6Zo=; b=W50hS/urxqdvjvSGNqM6gIQTFD6R+iwFemRMWXqCXEUnb2mknDjttILkC3RPvcXUKx oDaFVBBvyGaHWhxeYDMo04QUJJq9hhXfJ8te5Txl0xHbBt5L3U/jk6w7ghfkUPktGPUc WDORcrT9E5lXTpREOyrtQ4p/QGfdXjHBW+mrhGYidRK2vpKJOQDlKxxo2AGsqTrFWXWG kk55o3gkTMYitByTb1BdxYfO6aybteBfqtNe5svcMx315dECVGAGMyXLTNHX5nabx6ex 3LD4hg4yNcU90NVorQ4gYdmJl652To5mFWHPV/aObDDNiI69rGZCxU1dZX8AWZL2v2EK BqDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=IMv6y1MmjlknEVcM2pyL0HJCEC2RpABIA4wBYNLu6Zo=; b=XJbbQZ+4QfKsQymhkW2WFIEmuBYZ6UzhWQz1GYraRwgv/HIhC86eqOFJKoq6rzjEJE NCqqVmTi7chq6XRCaSpaiR5Vx2ZEaMlYx0i6fAJp8nk9YdkbKJk2b4bPTBJDBWSzFaw/ 6+LBAo2iT0PKOsyneScXzLCMxC68ZQSQcbHiKEbx6w5keuZJcj8IUmimChHmq+M95w6X tiqqyHNTO6J934h7VAY6yLSJgKweCDl0XGi0BZOFIiK4McsNznlFeOMiQX5qg0M5X6qX ZB5rO4HWgOZRfBsXefLwh079XztsIAYqvX0TjMwxy0FMGwXSSWfqk/wxOQdDuCabYFjV lzFg== X-Gm-Message-State: APjAAAWg31DzRwjZ3lfe5ny5LNtqRD36yvQAa4d6y/iqWyMs56qsBJ4k 1L7keHouvuTTPFNCJU71//xl3oXg/0o= X-Google-Smtp-Source: APXvYqyhg45l11xOc+cEPakp46ufr5EM8ZRytZynWu5siqjV+kYERrQ0N/t9dSfMY3mTDVsJMXgJSQ== X-Received: by 2002:a65:64d3:: with SMTP id t19mr16300355pgv.112.1562005546976; Mon, 01 Jul 2019 11:25:46 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id 12sm11397340pfi.60.2019.07.01.11.25.45 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 01 Jul 2019 11:25:45 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Mon, 1 Jul 2019 11:25:09 -0700 Message-Id: <20190701182536.20110-4-stephen@networkplumber.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190701182536.20110-1-stephen@networkplumber.org> References: <20190701182536.20110-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 03/30] bsd/eal: fix spelling error X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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 error found by codespell Signed-off-by: Stephen Hemminger --- lib/librte_eal/freebsd/eal/eal_memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_eal/freebsd/eal/eal_memory.c b/lib/librte_eal/freebsd/eal/eal_memory.c index 4b092e1f2122..406bbb8656fb 100644 --- a/lib/librte_eal/freebsd/eal/eal_memory.c +++ b/lib/librte_eal/freebsd/eal/eal_memory.c @@ -435,7 +435,7 @@ memseg_primary_init(void) * * we need (N*2)-1 segments because we cannot guarantee that * each segment will be IOVA-contiguous with the previous one, - * so we will allocate more and put spaces inbetween segments + * so we will allocate more and put spaces in between segments * that are non-contiguous. */ avail_segs = (hpi->num_pages[0] * 2) - 1; From patchwork Mon Jul 1 18:25:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 55801 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2BE121B9B1; Mon, 1 Jul 2019 20:25:57 +0200 (CEST) Received: from mail-pf1-f195.google.com (mail-pf1-f195.google.com [209.85.210.195]) by dpdk.org (Postfix) with ESMTP id 7F932559A for ; Mon, 1 Jul 2019 20:25:49 +0200 (CEST) Received: by mail-pf1-f195.google.com with SMTP id m30so6959543pff.8 for ; Mon, 01 Jul 2019 11:25: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=xehQtL3X3/ikl3vU5NK1O6ystEF4DDK0Wc658t1EDiQ=; b=ZO4G8zZz+zPKGexsf8gaeuL4R8dh01dB7kBREpn1JtpZkuRKeefT9yfYtRi0d4gftq Upv8Jup7q16NekPJcoMlhsOD5EQu0Y+XyL4AkMUm96wz0ZgryHIsgsIUR3X9wbJw+no2 /SC9cf8tq7LuRba0j85B8Llr9c7Egp64aulKb/F/lY2ShcNL0Me7OU7N1jPUIEiWV4JF T6iuYqrT9RvHIE+RmmwIP1g66C0dcsKLioCa5IywRYvtSj3UaPQrHKiNhLU7/bpvL9gF oHihqi1mFZx284HhNbykfKOQx9KxTCb/VNUudcLvd3Z8iO1gZBO8eLf6Q/h2Y/xNUfkw sFPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=xehQtL3X3/ikl3vU5NK1O6ystEF4DDK0Wc658t1EDiQ=; b=nQHINyWYy3wgtyYiQqHdbxPHX4tzEp3rS7s0CcqdtlWHGrxfmCv2UIE8z1zKyFMPCr Pe1dWVWSGN9DeZUdp5O6fJJ4H1JBMTuv4v6PpAVdh4mS6CUGS0pFnB5yCG6Xz6vJ2tCB GfZn7jUrfhnGBxRXVttYSFtEJr7Ky8Atow3RU8+EZHuQ5d7lZqbSqXPhTREzaiO/woDI apyI6aXVON4etDiKr2tnN0YbtU5r6OLJLFiB6UjNplv/B/gKS/pNAAnGSPnmyb/9InVD d5hKSDbnJeCNGEWvJdkCWjv47ryi6E1Z/JCIssEDJQvcKzpmWk/MS/KySSsyn+kO2hY9 Wx9w== X-Gm-Message-State: APjAAAWRtvUHGdzA1CGt/Ar8sL9emgsgTmtUEq0vCwtZSNdR3KcLxbxs X+9DvoMkzawSflYcwiWxga3bmYntVW0= X-Google-Smtp-Source: APXvYqwbXzlpdBtYuUq6QDtFOjwGZafHL2WEWFOSPnRpqQzDSG0kaO5/YpEsKAtBK3KVK5lj1SqMJQ== X-Received: by 2002:a63:607:: with SMTP id 7mr23418131pgg.240.1562005548148; Mon, 01 Jul 2019 11:25:48 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id 12sm11397340pfi.60.2019.07.01.11.25.47 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 01 Jul 2019 11:25:47 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Mon, 1 Jul 2019 11:25:10 -0700 Message-Id: <20190701182536.20110-5-stephen@networkplumber.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190701182536.20110-1-stephen@networkplumber.org> References: <20190701182536.20110-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 04/30] eal: fix spelling errors X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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 spelling errors found by codespell. Signed-off-by: Stephen Hemminger --- lib/librte_eal/common/eal_common_fbarray.c | 2 +- lib/librte_eal/common/eal_common_log.c | 2 +- lib/librte_eal/common/eal_common_proc.c | 2 +- lib/librte_eal/common/eal_hugepages.h | 2 +- lib/librte_eal/common/include/arch/arm/rte_cycles_32.h | 2 +- lib/librte_eal/common/include/arch/x86/rte_atomic.h | 2 +- lib/librte_eal/common/include/rte_dev.h | 2 +- lib/librte_eal/common/malloc_elem.c | 2 +- lib/librte_eal/linux/eal/eal_vfio.c | 6 +++--- 9 files changed, 11 insertions(+), 11 deletions(-) diff --git a/lib/librte_eal/common/eal_common_fbarray.c b/lib/librte_eal/common/eal_common_fbarray.c index b7ddb66e9ca3..9f747e530132 100644 --- a/lib/librte_eal/common/eal_common_fbarray.c +++ b/lib/librte_eal/common/eal_common_fbarray.c @@ -1334,7 +1334,7 @@ fbarray_find_biggest(struct rte_fbarray *arr, unsigned int start, bool used, */ /* the API's called are thread-safe, but something may still happen - * inbetween the API calls, so lock the fbarray. all other API's are + * in between the API calls, so lock the fbarray. all other API's are * read-locking the fbarray, so read lock here is OK. */ rte_rwlock_read_lock(&arr->rwlock); diff --git a/lib/librte_eal/common/eal_common_log.c b/lib/librte_eal/common/eal_common_log.c index 4f6f22708379..c8f4213222cd 100644 --- a/lib/librte_eal/common/eal_common_log.c +++ b/lib/librte_eal/common/eal_common_log.c @@ -45,7 +45,7 @@ static struct rte_eal_opt_loglevel_list opt_loglevel_list = static FILE *default_log_stream; /** - * This global structure stores some informations about the message + * This global structure stores some information about the message * that is currently being processed by one lcore */ struct log_cur_msg { diff --git a/lib/librte_eal/common/eal_common_proc.c b/lib/librte_eal/common/eal_common_proc.c index cbe8d10fcfee..e456ae2de8da 100644 --- a/lib/librte_eal/common/eal_common_proc.c +++ b/lib/librte_eal/common/eal_common_proc.c @@ -1071,7 +1071,7 @@ rte_mp_request_async(struct rte_mp_msg *req, const struct timespec *ts, } if (gettimeofday(&now, NULL) < 0) { - RTE_LOG(ERR, EAL, "Faile to get current time\n"); + RTE_LOG(ERR, EAL, "Failed to get current time\n"); rte_errno = errno; return -1; } diff --git a/lib/librte_eal/common/eal_hugepages.h b/lib/librte_eal/common/eal_hugepages.h index 4582f19cfb20..1b560d3379da 100644 --- a/lib/librte_eal/common/eal_hugepages.h +++ b/lib/librte_eal/common/eal_hugepages.h @@ -12,7 +12,7 @@ #define MAX_HUGEPAGE_PATH PATH_MAX /** - * Structure used to store informations about hugepages that we mapped + * Structure used to store information about hugepages that we mapped * through the files in hugetlbfs. */ struct hugepage_file { diff --git a/lib/librte_eal/common/include/arch/arm/rte_cycles_32.h b/lib/librte_eal/common/include/arch/arm/rte_cycles_32.h index 859b09748c56..f79718ce8ca7 100644 --- a/lib/librte_eal/common/include/arch/arm/rte_cycles_32.h +++ b/lib/librte_eal/common/include/arch/arm/rte_cycles_32.h @@ -57,7 +57,7 @@ __rte_rdtsc_syscall(void) * asm volatile("mcr p15, 0, %0, c9, c12, 0" : : "r"(29)); * asm volatile("mcr p15, 0, %0, c9, c12, 1" : : "r"(0x8000000f)); * - * which is possible only from the priviledged mode (kernel space). + * which is possible only from the privileged mode (kernel space). */ static inline uint64_t __rte_rdtsc_pmccntr(void) diff --git a/lib/librte_eal/common/include/arch/x86/rte_atomic.h b/lib/librte_eal/common/include/arch/x86/rte_atomic.h index 148398f50ab7..b9dcd30aba9a 100644 --- a/lib/librte_eal/common/include/arch/x86/rte_atomic.h +++ b/lib/librte_eal/common/include/arch/x86/rte_atomic.h @@ -55,7 +55,7 @@ extern "C" { * * As pointed by Java guys, that makes possible to use lock-prefixed * instructions to get the same effect as mfence and on most modern HW - * that gives a better perfomance then using mfence: + * that gives a better performance then using mfence: * https://shipilev.net/blog/2014/on-the-fence-with-dependencies/ * Basic idea is to use lock prefixed add with some dummy memory location * as the destination. From their experiments 128B(2 cache lines) below diff --git a/lib/librte_eal/common/include/rte_dev.h b/lib/librte_eal/common/include/rte_dev.h index a01c4ad92b95..2feee78c4299 100644 --- a/lib/librte_eal/common/include/rte_dev.h +++ b/lib/librte_eal/common/include/rte_dev.h @@ -231,7 +231,7 @@ __attribute__((used)) = str * "pci:v8086:d*:sv*:sd*" all PCI devices supported by this driver * whose vendor id is 0x8086. * - * The format of the kernel modules list is a parenthesed expression + * The format of the kernel modules list is a parenthesized expression * containing logical-and (&) and logical-or (|). * * The device pattern and the kmod expression are separated by a space. diff --git a/lib/librte_eal/common/malloc_elem.c b/lib/librte_eal/common/malloc_elem.c index 658c9b5b7993..2458dad413d1 100644 --- a/lib/librte_eal/common/malloc_elem.c +++ b/lib/librte_eal/common/malloc_elem.c @@ -171,7 +171,7 @@ malloc_elem_insert(struct malloc_elem *elem) next_elem = NULL; heap->last = elem; } else { - /* the new memory is somewhere inbetween start and end */ + /* the new memory is somewhere in between start and end */ uint64_t dist_from_start, dist_from_end; dist_from_end = RTE_PTR_DIFF(heap->last, elem); diff --git a/lib/librte_eal/linux/eal/eal_vfio.c b/lib/librte_eal/linux/eal/eal_vfio.c index feada64c0178..60b0be76817f 100644 --- a/lib/librte_eal/linux/eal/eal_vfio.c +++ b/lib/librte_eal/linux/eal/eal_vfio.c @@ -1272,7 +1272,7 @@ vfio_type1_dma_mem_map(int vfio_container_fd, uint64_t vaddr, uint64_t iova, */ if (errno == EEXIST) { RTE_LOG(DEBUG, EAL, - " Memory segment is allready mapped," + " Memory segment is already mapped," " skipping"); } else { RTE_LOG(ERR, EAL, @@ -1345,7 +1345,7 @@ vfio_spapr_dma_do_map(int vfio_container_fd, uint64_t vaddr, uint64_t iova, */ if (errno == EBUSY) { RTE_LOG(DEBUG, EAL, - " Memory segment is allready mapped," + " Memory segment is already mapped," " skipping"); } else { RTE_LOG(ERR, EAL, @@ -1632,7 +1632,7 @@ vfio_dma_mem_map(struct vfio_config *vfio_cfg, uint64_t vaddr, uint64_t iova, if (!t->dma_user_map_func) { RTE_LOG(ERR, EAL, - " VFIO custom DMA region maping not supported by IOMMU %s\n", + " VFIO custom DMA region mapping not supported by IOMMU %s\n", t->name); rte_errno = ENOTSUP; return -1; From patchwork Mon Jul 1 18:25:11 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 55802 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 085151B9BD; Mon, 1 Jul 2019 20:25:59 +0200 (CEST) Received: from mail-pf1-f170.google.com (mail-pf1-f170.google.com [209.85.210.170]) by dpdk.org (Postfix) with ESMTP id 23CD81B993 for ; Mon, 1 Jul 2019 20:25:50 +0200 (CEST) Received: by mail-pf1-f170.google.com with SMTP id t16so6956773pfe.11 for ; Mon, 01 Jul 2019 11:25: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=SaKua4IfuumDnK1uaE9q9RQZ/7ZDrk+2b1Cxrhw8Wrk=; b=HzvyOGz1ugXecKtZJ/L5t5xW/fGjFK9t2IerK2YY8Tjf/DpBSsSJ8hL1i1s6nIad9T nhMBcNqkzjVORHA3Qt7tdSCZAkVMSg3wLZmcSbzCT0Uhw83k+ZyWt2m00YRBPAAQR8P1 dC1pTgQ5aMV+4zI1EStlGfU0N0yRQ07afWjBib792VU+41kgyL/17aGpZC6stgUHntGG VRpyPb5NFkqNdIW7WgFA1g3JbqM5DMFAkdmePGGcHDl5I3ymG5M7tfydE4XqKfgjYzbL dwSV0q6CLO875cOuDBen09TLILA5A/mXkOX0jEWGat1gWOCV8HXYEYNkSPWoK085GDun 0SGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=SaKua4IfuumDnK1uaE9q9RQZ/7ZDrk+2b1Cxrhw8Wrk=; b=XJUdaVI0vh78tOf9cN8o6H5UYnSXaIhl7sd2+cx+uSJpFvBlmAJv6YmVsVjc5kJeMU fyedqnytJp9Rn/aG9vlHR/S6FVMhjrI29BB7IvLInLvbdC1ZnRyNurVN4xdNBRLn3rsi LcI9pBIZQF67MohoAN+KB5+3rIEPJcse65G+qdPc7Mz5eiAwoagjNVfcGimN6aMLpc+q X1ozLY/R13PiHu14lh998GQHuFRgyLogOTgJozk4pJ9iGHTapsAVwJvKM/xN4jQzuyM5 fMeBEpy2guAlzEPEYJ0u1wxYdcpI4DBIyGlEsZKABBl3bkDhJQII2PO7lElJIeCle2zt DBHQ== X-Gm-Message-State: APjAAAWlcFlBFEAcIh9v5GNngxROVjmIK0WMiZiIRFMTBmH0vMMiAFIY sZwmS/xUeojWOz+IhEe4ZHO7/ioK7gE= X-Google-Smtp-Source: APXvYqzS4aSvjGThvPZql4o9p9JHtt73EvFDtxFmVtqaz4nPK7zn/5q1DAOPHgSOHr9M9gzr0UioGQ== X-Received: by 2002:a63:5945:: with SMTP id j5mr3392032pgm.452.1562005548864; Mon, 01 Jul 2019 11:25:48 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id 12sm11397340pfi.60.2019.07.01.11.25.48 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 01 Jul 2019 11:25:48 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Mon, 1 Jul 2019 11:25:11 -0700 Message-Id: <20190701182536.20110-6-stephen@networkplumber.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190701182536.20110-1-stephen@networkplumber.org> References: <20190701182536.20110-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 05/30] bpf: fix spelling errors X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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's found by codespell. Signed-off-by: Stephen Hemminger --- lib/librte_bpf/bpf_jit_x86.c | 2 +- lib/librte_bpf/bpf_validate.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/librte_bpf/bpf_jit_x86.c b/lib/librte_bpf/bpf_jit_x86.c index f70cd6be5180..885e8d5c2b97 100644 --- a/lib/librte_bpf/bpf_jit_x86.c +++ b/lib/librte_bpf/bpf_jit_x86.c @@ -1074,7 +1074,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/librte_bpf/bpf_validate.c b/lib/librte_bpf/bpf_validate.c index d0e683b5b21f..17a76137818b 100644 --- a/lib/librte_bpf/bpf_validate.c +++ b/lib/librte_bpf/bpf_validate.c @@ -1901,7 +1901,7 @@ validate(struct bpf_verifier *bvf) /* * construct CFG, jcc nodes have to outgoing edges, - * 'exit' nodes - none, all others nodes have exaclty one + * 'exit' nodes - none, all others nodes have exactly one * outgoing edge. */ switch (ins->code) { From patchwork Mon Jul 1 18:25:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 55803 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C1E7F1B9C6; Mon, 1 Jul 2019 20:26:00 +0200 (CEST) Received: from mail-pg1-f196.google.com (mail-pg1-f196.google.com [209.85.215.196]) by dpdk.org (Postfix) with ESMTP id 676A925D9 for ; Mon, 1 Jul 2019 20:25:51 +0200 (CEST) Received: by mail-pg1-f196.google.com with SMTP id g15so4525835pgi.4 for ; Mon, 01 Jul 2019 11:25:51 -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=SYe/Cntn+U92ye2nFY301qSCrJxt0VGLyYqcwLxsV80=; b=pDUtzEPjMqZ2AS7Tl1/N5BrmYyMm1F7PvIIGlzkt+WDfB7kZdfabdR5HOwAoU57f0M cmrBIIcuHkU3xxnfCPFqSIPgvOGAiRs56fMplDbVs3C+K5oR0bkOSbLy1K3daUF/8Ia+ sGVPbSOP5qcqRzD2mtZ5kRV7MOcTXFbEPYqkKM05vtKwUJvqC6muR+n6xkxB4MasrqvR Cd5WBbxGXLGzxCYNIT3+fLjwGDASLlYZ40cguRiyMxwfuKqmqtJunK/sk8aqXVwUuCbD m4pKSdDZJWOENZnsVKHpkTRum+CmFXWYHh+BHj9rBL5JUZLsDQs8qyzfqfg8qfQG1whC xo/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=SYe/Cntn+U92ye2nFY301qSCrJxt0VGLyYqcwLxsV80=; b=hkQ+rBXh1+zyFxERw7p/ZpNB6NuwhsqiSQVwFraDwyHBz7Oik0LDGrwFIq9QyYSMhm Pj1/xJkOuYigB0+OX9prYwr0h737J+wjAN7CQtVpQxJmDCE+zEWH0qf2UJKmi7AK5V6A LcLDI/vuUetKcMg3nSNZrSVIElT+q1cLCZ5xskt+9dojJWmaJb1eiQnpQMm+YsnO5iDq LUIxkJh5GmtM1DiFc3aSzgbV2KTZLiFS7spZiW/+zzHdEnRZqfpgIDD1gc+3VI/+jMAi +5075Xv7f0JuDzoeePNPyw/Ng/WQb2kKqdt0lwDJd5IYxeCYrWkF98hUbvNGNKFvL6u5 UThg== X-Gm-Message-State: APjAAAWGt7qce5NGMDQZPSutwdblu4v7aD7Poqlywymrr08GKhqp9DYV q8xeRfz5qQKyO70sUe8JMvgmaHqx X-Google-Smtp-Source: APXvYqzRy7GTQlRBY3rrZbQr46ilTFauXvPCutiZIPe/17asMVOr7VpmUwZ3XxtQrtjGs5qsYhjWaw== X-Received: by 2002:a17:90a:2641:: with SMTP id l59mr650690pje.55.1562005550281; Mon, 01 Jul 2019 11:25:50 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id 12sm11397340pfi.60.2019.07.01.11.25.49 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 01 Jul 2019 11:25:49 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Mon, 1 Jul 2019 11:25:12 -0700 Message-Id: <20190701182536.20110-7-stephen@networkplumber.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190701182536.20110-1-stephen@networkplumber.org> References: <20190701182536.20110-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 06/30] power: fix spelling errors X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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's found by codespell. Signed-off-by: Stephen Hemminger --- lib/librte_power/power_acpi_cpufreq.c | 6 +++--- lib/librte_power/power_pstate_cpufreq.c | 6 +++--- lib/librte_power/rte_power.h | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/librte_power/power_acpi_cpufreq.c b/lib/librte_power/power_acpi_cpufreq.c index 7c386f891ebd..be24c2915344 100644 --- a/lib/librte_power/power_acpi_cpufreq.c +++ b/lib/librte_power/power_acpi_cpufreq.c @@ -30,7 +30,7 @@ #define FOPEN_OR_ERR_RET(f, retval) do { \ if ((f) == NULL) { \ - RTE_LOG(ERR, POWER, "File not openned\n"); \ + RTE_LOG(ERR, POWER, "File not opened\n"); \ return retval; \ } \ } while (0) @@ -109,7 +109,7 @@ set_freq_internal(struct rte_power_info *pi, uint32_t idx) if (idx == pi->curr_idx) return 0; - POWER_DEBUG_TRACE("Freqency[%u] %u to be set for lcore %u\n", + POWER_DEBUG_TRACE("Frequency[%u] %u to be set for lcore %u\n", idx, pi->freqs[idx], pi->lcore_id); if (fseek(pi->f, 0, SEEK_SET) < 0) { RTE_LOG(ERR, POWER, "Fail to set file position indicator to 0 " @@ -225,7 +225,7 @@ power_get_available_freqs(struct rte_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]); diff --git a/lib/librte_power/power_pstate_cpufreq.c b/lib/librte_power/power_pstate_cpufreq.c index ecbcb3ac9952..8f095e0ab1bc 100644 --- a/lib/librte_power/power_pstate_cpufreq.c +++ b/lib/librte_power/power_pstate_cpufreq.c @@ -33,7 +33,7 @@ #define FOPEN_OR_ERR_RET(f, retval) do { \ if ((f) == NULL) { \ - RTE_LOG(ERR, POWER, "File not openned\n"); \ + RTE_LOG(ERR, POWER, "File not opened\n"); \ return retval; \ } \ } while (0) @@ -287,7 +287,7 @@ set_freq_internal(struct pstate_power_info *pi, uint32_t idx) return -1; } - POWER_DEBUG_TRACE("Freqency '%u' to be set for lcore %u\n", + POWER_DEBUG_TRACE("Frequency '%u' to be set for lcore %u\n", target_freq, pi->lcore_id); fflush(pi->f_cur_min); @@ -310,7 +310,7 @@ set_freq_internal(struct pstate_power_info *pi, uint32_t idx) return -1; } - POWER_DEBUG_TRACE("Freqency '%u' to be set for lcore %u\n", + POWER_DEBUG_TRACE("Frequency '%u' to be set for lcore %u\n", target_freq, pi->lcore_id); fflush(pi->f_cur_max); diff --git a/lib/librte_power/rte_power.h b/lib/librte_power/rte_power.h index 01f88588b5cf..427058b8118c 100644 --- a/lib/librte_power/rte_power.h +++ b/lib/librte_power/rte_power.h @@ -26,7 +26,7 @@ enum power_management_env {PM_ENV_NOT_SET, PM_ENV_ACPI_CPUFREQ, PM_ENV_KVM_VM, /** * Set the default power management implementation. If this is not called prior * to rte_power_init(), then auto-detect of the environment will take place. - * It is thread safe. New env can be set only in unitialized state + * It is thread safe. New env can be set only in uninitialized state * (thus rte_power_unset_env must be called if different env was already set). * * @param env From patchwork Mon Jul 1 18:25:13 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 55804 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A5A691B9CF; Mon, 1 Jul 2019 20:26:02 +0200 (CEST) Received: from mail-pf1-f194.google.com (mail-pf1-f194.google.com [209.85.210.194]) by dpdk.org (Postfix) with ESMTP id B43B11B999 for ; Mon, 1 Jul 2019 20:25:52 +0200 (CEST) Received: by mail-pf1-f194.google.com with SMTP id j2so6967888pfe.6 for ; Mon, 01 Jul 2019 11:25: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=H8h769siiEZ6ceLPayGxZ4iwFoC52ibw7V24RfcXAdc=; b=EHs+vTmLhzSMjc2G8lCTej96iSad5/QIpX9qH++cS2TxXdeudXUtCHwUR6t/q4t8ss W2AHVTP4CeGSUu0puvZzr/lQGpiFeRNu3ZIr4irWKf8lN+iGTuKE4Wcx6A1Vl0K2kHai 6rFAsYSj3Qg7x3KkVf8YLMthSirYk4617CjOMiRL9LcQY4RzOT+4MbZHccnrsuZC/3tD bk5Wtl8nmVzIA2QEVFDN2kzFx6kVfSpFutP2NrMzDl6i6cmltOj6h/DZUdXOd1lG0cSy sTRUZxdnX+trDHGnFmsZv/XUtkOiqc7fdHe3+Ot3kd/5/ZcE+krxewJVwHl3+DiB2Grr T0tA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=H8h769siiEZ6ceLPayGxZ4iwFoC52ibw7V24RfcXAdc=; b=ZmRPVjb5U2D4dmzQGMdXG+4h+dat3x9zLv+uutpp4iQa7TWv2LyVerJ4c4E522/sTY wRlu/MPHrB/WWZlFJRGhIPuUuNhgJtx2CpLo7xQaEcqoZgZmePyKmcW7/u+8YnK6I6tJ Wl7IBY95TMH03cJOcFZ4A4mJGdDKeez1dJcZdXoD/AvAa8pAEB7+MhsOJll5dOe6KvBA 63gBn2k/thkIQgfEfGIgUh9a1uJigtv5oOY1SGe32UnQXwDjsQVct2s+8ag6tHRe74fx sqtVDIwktYHr84k9TqaLFDLOA+GyKDr/6CrhIgjq0Nbgqaqw7wB+6QE01+7Tybf47lSK Lc9g== X-Gm-Message-State: APjAAAUw7q/97C000dF5GxVmNLvSfs7ZXpipSvxzqHJ5Rpv9u6CHh8Y/ G5PSR2XhEkYV2KDSMK94Cs+rYjRQ X-Google-Smtp-Source: APXvYqxJDvc9ucR8YdjuMP/sQiD15X56QA0ejPpa/MIxYu/bchBA2oHJBne4Oz2VtFl3rx1b535zfg== X-Received: by 2002:a17:90a:730b:: with SMTP id m11mr675140pjk.89.1562005551632; Mon, 01 Jul 2019 11:25:51 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id 12sm11397340pfi.60.2019.07.01.11.25.50 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 01 Jul 2019 11:25:50 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Mon, 1 Jul 2019 11:25:13 -0700 Message-Id: <20190701182536.20110-8-stephen@networkplumber.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190701182536.20110-1-stephen@networkplumber.org> References: <20190701182536.20110-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 07/30] ipsec: fix spelling errors X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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 error found by codespell Signed-off-by: Stephen Hemminger --- examples/ipsec-secgw/parser.c | 2 +- examples/ipsec-secgw/test/linux_test4.sh | 4 ++-- examples/ipsec-secgw/test/linux_test6.sh | 4 ++-- lib/librte_ipsec/esp_inb.c | 2 +- lib/librte_ipsec/sa.c | 2 +- lib/librte_ipsec/sa.h | 4 ++-- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/examples/ipsec-secgw/parser.c b/examples/ipsec-secgw/parser.c index fc8c238fe5a5..6dd3081ffcf4 100644 --- a/examples/ipsec-secgw/parser.c +++ b/examples/ipsec-secgw/parser.c @@ -506,7 +506,7 @@ cfg_parse_neigh(void *parsed_result, __rte_unused struct cmdline *cl, rc = parse_mac(res->mac, &mac); APP_CHECK(rc == 0, st, "invalid ether addr:%s", res->mac); rc = add_dst_ethaddr(res->port, &mac); - APP_CHECK(rc == 0, st, "invalid port numer:%hu", res->port); + APP_CHECK(rc == 0, st, "invalid port number:%hu", res->port); if (st->status < 0) return; } diff --git a/examples/ipsec-secgw/test/linux_test4.sh b/examples/ipsec-secgw/test/linux_test4.sh index d636f560482d..01a2bea4050d 100644 --- a/examples/ipsec-secgw/test/linux_test4.sh +++ b/examples/ipsec-secgw/test/linux_test4.sh @@ -5,7 +5,7 @@ # ipsec-secgw (IPv4 mode) functional test script. # # Note that for most of them you required appropriate crypto PMD/device -# to be avaialble. +# to be available. # Also user has to setup properly the following environment variables: # SGW_PATH - path to the ipsec-secgw binary to test # REMOTE_HOST - ip/hostname of the DUT @@ -33,7 +33,7 @@ # I.E: # DUT OS(NIC1)--(ipsec)-->(NIC1)ipsec-secgw(TAP)--(plain)-->(TAP)SUT OS # SUT OS(TAP)--(plain)-->(TAP)psec-secgw(NIC1)--(ipsec)-->(NIC1)DUT OS -# Then tries to perorm some data transfer using the scheme decribed above. +# Then tries to perform some data transfer using the scheme described above. # DIR=`dirname $0` diff --git a/examples/ipsec-secgw/test/linux_test6.sh b/examples/ipsec-secgw/test/linux_test6.sh index e30f607d8c1b..66655006a336 100644 --- a/examples/ipsec-secgw/test/linux_test6.sh +++ b/examples/ipsec-secgw/test/linux_test6.sh @@ -5,7 +5,7 @@ # ipsec-secgw (IPv6 mode) functional test script. # # Note that for most of them you required appropriate crypto PMD/device -# to be avaialble. +# to be available. # Also user has to setup properly the following environment variables: # SGW_PATH - path to the ipsec-secgw binary to test # REMOTE_HOST - ip/hostname of the DUT @@ -34,7 +34,7 @@ # I.E: # DUT OS(NIC1)--(ipsec)-->(NIC1)ipsec-secgw(TAP)--(plain)-->(TAP)SUT OS # SUT OS(TAP)--(plain)-->(TAP)psec-secgw(NIC1)--(ipsec)-->(NIC1)DUT OS -# Then tries to perorm some data transfer using the scheme decribed above. +# Then tries to perform some data transfer using the scheme described above. # DIR=`dirname $0` diff --git a/lib/librte_ipsec/esp_inb.c b/lib/librte_ipsec/esp_inb.c index 3e12ca1030f0..7f296cd247dd 100644 --- a/lib/librte_ipsec/esp_inb.c +++ b/lib/librte_ipsec/esp_inb.c @@ -359,7 +359,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/librte_ipsec/sa.c b/lib/librte_ipsec/sa.c index 81e3437bb5e4..cede034bb8af 100644 --- a/lib/librte_ipsec/sa.c +++ b/lib/librte_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/librte_ipsec/sa.h b/lib/librte_ipsec/sa.h index ffb5fb4f8c32..b142e61d65a4 100644 --- a/lib/librte_ipsec/sa.h +++ b/lib/librte_ipsec/sa.h @@ -111,8 +111,8 @@ struct rte_ipsec_sa { * sqn and replay window * In case of SA handled by multiple threads *sqn* cacheline * could be shared by multiple cores. - * To minimise perfomance impact, we try to locate in a separate - * place from other frequently accesed data. + * To minimize performance impact, we try to locate in a separate + * place from other frequently accessed data. */ union { union { From patchwork Mon Jul 1 18:25:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 55805 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9CE9D1B9E0; Mon, 1 Jul 2019 20:26:04 +0200 (CEST) Received: from mail-pf1-f196.google.com (mail-pf1-f196.google.com [209.85.210.196]) by dpdk.org (Postfix) with ESMTP id 1B49B1B9A4 for ; Mon, 1 Jul 2019 20:25:54 +0200 (CEST) Received: by mail-pf1-f196.google.com with SMTP id r7so6978927pfl.3 for ; Mon, 01 Jul 2019 11:25:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Kp4vKH0TRveGFtLw1jg7DcZb/RnqBHslKxTiHCCBULs=; b=JaSAhhU6lT0OGP8RaAMLd/3ak+v30Tmz7ijtguIDCuY2b93V2OMuWZXzs8BbqX3juS BVNxdo6xejiuabr21/c4m4zQG6mH+UzpEwA1Fj3qDyyWijMA4TyZCyW0+2wcPZfU4N8t LpqgstBAfAubByKWWjLplBiIOZ1cw+67jseSRVY9yh4AE71nzdWdU6hqiause5UDt1v3 SAlCOPdQ5zaFXEMSHlOmsupwDNxgslZkbrgkK0LJJQH6gse3DO8OyLJr9cuANwFwPjrO /1IwxUapVZzGUuUKfQqaO1u2dD5oz3ly0077kIJAQCI2AEfLS85LlH0edCLW17IJ/FIo H4Rg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Kp4vKH0TRveGFtLw1jg7DcZb/RnqBHslKxTiHCCBULs=; b=lcirAD9Rx9RYLe8zFWdeKcGDSekk46vLQmPLhSQcnfNiV7wLlzEN/cxPk3vGoNacuc KMN7Pd2My0UJMhMZ7BzlP5/5sf8EozjeYwyIrz+L3eGDyb7WrKK5iJeIrXQ81oCdsqnI bJ230+8ZVglLAqJNdGyPNV8JHhf3MevylFCISNUxjAaVveNXHxz4KS30EDep1uHQB3Up A/8FAzyIs4M1W4ztQcWHkBJHyByn4/HiDrpGXF3/XJ0i8lr3DudnQ6w1BnfMAfpX5gsy FNYJ2HEjfFchPavCXUK3ZnL+SHayVsLDrs5WslOaVmnN3oCBtqqaGeY4IAtm3md6G4GO omZg== X-Gm-Message-State: APjAAAUC7WTmw7ow1iFRgSFeNuHlGdJ7Q/OukNpt1aMYx9XzkMwsD1KI psOT2DdmEkQXLntDEKYtgDfetVMT0aY= X-Google-Smtp-Source: APXvYqwIXnI3C2KSdUKS+lx4XKoF02XmZygCE1UnzeqziEFCbVsAw7oFmjtDx2qay9Na9L+amZIWJw== X-Received: by 2002:a17:90a:d595:: with SMTP id v21mr733886pju.34.1562005553031; Mon, 01 Jul 2019 11:25:53 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id 12sm11397340pfi.60.2019.07.01.11.25.51 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 01 Jul 2019 11:25:51 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Mon, 1 Jul 2019 11:25:14 -0700 Message-Id: <20190701182536.20110-9-stephen@networkplumber.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190701182536.20110-1-stephen@networkplumber.org> References: <20190701182536.20110-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 08/30] acl: fix spelling errors X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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 comments. Signed-off-by: Stephen Hemminger --- lib/librte_acl/acl.h | 4 ++-- lib/librte_acl/acl_bld.c | 2 +- lib/librte_acl/acl_run_avx2.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/librte_acl/acl.h b/lib/librte_acl/acl.h index 39d45a0c2b68..6f77b10ecfed 100644 --- a/lib/librte_acl/acl.h +++ b/lib/librte_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/librte_acl/acl_bld.c b/lib/librte_acl/acl_bld.c index b82191f4278d..5b277db28021 100644 --- a/lib/librte_acl/acl_bld.c +++ b/lib/librte_acl/acl_bld.c @@ -1430,7 +1430,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/librte_acl/acl_run_avx2.h b/lib/librte_acl/acl_run_avx2.h index d06d2e8782d6..0b8967f22e70 100644 --- a/lib/librte_acl/acl_run_avx2.h +++ b/lib/librte_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 Jul 1 18:25:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 55806 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BFE481B9F1; Mon, 1 Jul 2019 20:26:06 +0200 (CEST) Received: from mail-pf1-f196.google.com (mail-pf1-f196.google.com [209.85.210.196]) by dpdk.org (Postfix) with ESMTP id 85BC61B9AD for ; Mon, 1 Jul 2019 20:25:55 +0200 (CEST) Received: by mail-pf1-f196.google.com with SMTP id 19so6982077pfa.4 for ; Mon, 01 Jul 2019 11:25:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=7/FjiRKV9ne85P7Yp5sHcfvpCHcRClgu0SlrebkTFk0=; b=i7jd6cL0dOrlS6WlLOjE1inbZDBr4WLbjFJOS9KA1H4FsiWkWiZtRFhRuUR3Y7tRJK P9D7G2YdpiS00SHDu8tHFHaepnZ6xHpCBBx0n7repQc4bvty9koDtJJL+bjMBtaQrgFM iMz3cDKU1B+dMx4mMivK9DYEJNHjitXV5eID8smHl/tvFpBE39Ynq1luoPjh0NPhgisH cCb4SASjwTNXHlLfWh1+oG57gUFictuCNBaHPEADp2rcKXz+JnJrsYUOfBjK6hzpOQEw HZ5GN96aquwovCztW7vQKZ67t6xN/r77ktsbgzbGOXi1/JtkQvfdBtCSTpx/EXUF2ELh gtrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=7/FjiRKV9ne85P7Yp5sHcfvpCHcRClgu0SlrebkTFk0=; b=PsjzQr1DikyVu4aZyZ6UOiQ0l64PmzNGpwEfGuDzWMPmKaawgV2nOP5mkRyOujIgio 1mVXJf95JwDEPbsEIFWOWnaQL19CUK1qbjl5UBgCBwf7QhjkyLDWe+MKPkCfw6tJ+zVG iky+pEk+P8gbqKTcjEg7v3lBkgG4LCQh6RzuXLWy8M5gfOcG5HEoLQfUNsJpp+0aHuG4 q+NTkUk24+DH7k3x1rPFgSP1iR9Mr/f4+ECeg9wt0RDRr1pdlENbpirU9Q4ywfKwGfuh gJVUX4DPdBb+fraTP9xYOf1M6vJ4/N15e6Sht/n4nodQp/6XScuvcMnPf7wnn8KBKxGd HfGQ== X-Gm-Message-State: APjAAAWLfVZ6oR7/wx+ikqkC9B6Xwx7HoN/PjnUH4FAYG7K+jl3wewgT nMJf/tlHj6lxhFmNwwVF1x2zZXn53XE= X-Google-Smtp-Source: APXvYqxf5xftsq7kqCv1yEwaYyrR4496f9Qs8BTfh2xiRJKM4pXg3iR0JtdqyiC1V/xfwiIdSrFURA== X-Received: by 2002:a17:90a:cb18:: with SMTP id z24mr702451pjt.108.1562005554495; Mon, 01 Jul 2019 11:25:54 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id 12sm11397340pfi.60.2019.07.01.11.25.53 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 01 Jul 2019 11:25:53 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Mon, 1 Jul 2019 11:25:15 -0700 Message-Id: <20190701182536.20110-10-stephen@networkplumber.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190701182536.20110-1-stephen@networkplumber.org> References: <20190701182536.20110-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 09/30] bbdev: fix spelling error X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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 found by codespell. Signed-off-by: Stephen Hemminger --- examples/bbdev_app/main.c | 2 +- lib/librte_bbdev/rte_bbdev.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/bbdev_app/main.c b/examples/bbdev_app/main.c index 9acf666dc93d..f2f827a8d807 100644 --- a/examples/bbdev_app/main.c +++ b/examples/bbdev_app/main.c @@ -361,7 +361,7 @@ add_awgn(struct rte_mbuf **mbufs, uint16_t num_pkts) /* Encoder output to Decoder input adapter. The Decoder accepts only soft input * so each bit of the encoder output must be translated into one byte of LLR. If * Sub-block Deinterleaver is bypassed, which is the case, the padding bytes - * must additionally be insterted at the end of each sub-block. + * must additionally be inserted at the end of each sub-block. */ static inline void transform_enc_out_dec_in(struct rte_mbuf **mbufs, uint8_t *temp_buf, diff --git a/lib/librte_bbdev/rte_bbdev.c b/lib/librte_bbdev/rte_bbdev.c index 0c354804d106..02e52f3bd05c 100644 --- a/lib/librte_bbdev/rte_bbdev.c +++ b/lib/librte_bbdev/rte_bbdev.c @@ -139,7 +139,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 Jul 1 18:25:16 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 55807 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0C1141B9F8; Mon, 1 Jul 2019 20:26:09 +0200 (CEST) Received: from mail-pl1-f194.google.com (mail-pl1-f194.google.com [209.85.214.194]) by dpdk.org (Postfix) with ESMTP id 9F4261B9AD for ; Mon, 1 Jul 2019 20:25:56 +0200 (CEST) Received: by mail-pl1-f194.google.com with SMTP id bi6so7758301plb.12 for ; Mon, 01 Jul 2019 11:25:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Guzoy7vBsD/678pRMHqJzNNXWLYD4OWUuw9nS1mt2CI=; b=nH6U0wDUzp0KF4jm+PvsgGvd2v+IyVilrbBuQGExk6Zwe7A8aArQLNa72R/svlBnOx OyRHDNAuvQxf2TrSscSi/LMcnjIF0JmqeAcrXTPTc+FY+8nOBu532PN+6BDKB/hp1wcA J2vZ9spyNiBeYYxlPih6mW/C04qXZlGh8rRbIOWCgzaz5UWv7ErDBGIIFmeOfmlE3MUI NqW9U+crmFMifX0MdKGD/L7ZwZB8RkLy2eVTxybgBJy4lkkUgbvWdiQFbZCaVIgfaewi kSWBGGwBugxuKCtuWqr2RUxol9Kdwt1HhaVzP2UA7M/cZTHgNbeeVE0E+mzcbt+uK+r1 Sbig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Guzoy7vBsD/678pRMHqJzNNXWLYD4OWUuw9nS1mt2CI=; b=NO9p7sJkz6SOJnNUNpLxu081qvDQmrCrWffJ4WeA/bUHQN22KBMyLZJDdMlhd2T93H 5VyCfWHfwrn2aJ6Cs2Dehe5GCIBlBUDwA556VmveO5n/vxtOqJLassNnB8myWXgeB2m8 OaDOMuJ1qnAwatCqh2TwlfPK01UY4mxF4nK7CN6WsUDnkD0QVpG4sRfWhmt+8o76boW1 MWIXh0UsQL+3B1P4MUT2AOdMvDwGa+7Vn8mWHmVZ3iHTCAywSJ1DrRCezZuFAZrxwZsq HWzomwgqKGFK6ScokVl6ciLTGAw0ITCro+376H+YWVNDppqrKcF6InnpPLJIg2+L+ed0 Ybwg== X-Gm-Message-State: APjAAAVPZdHdqZVMv/whAC9hHbUnZvohwj2B/jESa4N6iP/0c10odxUf LK0yo/PNKHziNARebTfqArbQG48i1Q8= X-Google-Smtp-Source: APXvYqw45q3zpuX5QfVRu+rPBDmsQWnnlEokh2b1MIqhVFrYO2zZI61Aw0SHDXKvAzNQzc4nszta0g== X-Received: by 2002:a17:902:e65:: with SMTP id 92mr29192148plw.13.1562005555623; Mon, 01 Jul 2019 11:25:55 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id 12sm11397340pfi.60.2019.07.01.11.25.54 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 01 Jul 2019 11:25:54 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Mon, 1 Jul 2019 11:25:16 -0700 Message-Id: <20190701182536.20110-11-stephen@networkplumber.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190701182536.20110-1-stephen@networkplumber.org> References: <20190701182536.20110-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 10/30] eventdev: fix spelling error X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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 found by codespell. Signed-off-by: Stephen Hemminger --- lib/librte_eventdev/rte_event_timer_adapter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_eventdev/rte_event_timer_adapter.c b/lib/librte_eventdev/rte_event_timer_adapter.c index 2f7a760ae4e1..e31fc6af6452 100644 --- a/lib/librte_eventdev/rte_event_timer_adapter.c +++ b/lib/librte_eventdev/rte_event_timer_adapter.c @@ -484,7 +484,7 @@ event_buffer_flush(struct event_buffer *bufp, uint8_t dev_id, uint8_t port_id, head_idx = bufp->head & EVENT_BUFFER_MASK; tail_idx = bufp->tail & EVENT_BUFFER_MASK; - /* 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 Jul 1 18:25:17 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 55808 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 53A061BA00; Mon, 1 Jul 2019 20:26:11 +0200 (CEST) Received: from mail-pl1-f194.google.com (mail-pl1-f194.google.com [209.85.214.194]) by dpdk.org (Postfix) with ESMTP id 8634F1B9AD for ; Mon, 1 Jul 2019 20:25:57 +0200 (CEST) Received: by mail-pl1-f194.google.com with SMTP id c14so7783139plo.0 for ; Mon, 01 Jul 2019 11:25:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=IE/EzHyPOo5wchyo4RjlgI2motw0K4tZ1TJDikWZ6BI=; b=AxBqPlJp0TpnOvc10JTwcbpMOmr+KmvQRz6U2NXI8QfEWFHfCLbUPvsZdXle2ra+WO wlOlPb8awQgxa6JUkI244D5a4HJVOuklUjKJN/xcAc66ZH5y+cXPLkbHuJQWrUJjp4qU pmU/Ekz+YAwVIx5acy/havNnXJIzryMRUYwjQU/RX6J6J4BbNKzcf2FGuSp+sPuct9sx xF44sJ9TNpdJ5dZ0ie4bXF1GJ/14LwNGJTFnlmJcqGG/WxlIiStoXrwO2fHUN6nv9wE6 4p5lnJ2bY/qQk74yDrlQ3/8inAp40M11YaBNyMXrKsfSO3nBoeo7cWyBCTjrPL4yxQSb snBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=IE/EzHyPOo5wchyo4RjlgI2motw0K4tZ1TJDikWZ6BI=; b=WOG0O76WnNAkDh7fyH/922vndzLp9gbAnyDDDrCqMOWCnyYPicDe9p3hZs+ZU1thZH tw1ayGHACYg6VJU/4WT0NUj1DCsPBBnc0lXSEqFi6rsvLkmWJ7nxcRHeCjJ6b1fPEVhA RSMBpUuUjmghi91bGOvFnaJkXCy/SuaDYG9fPlp3U6suwgIA6RWdRlhTE7mhEHqzXL8M W+lra8QSDXehIlrWFnnVUURdMmOiECLX896UTsGKSuUJKL9h84YDqJxqLh4z+anFMkkA dWFu40K8dlMDW48XDHLG4YwYqO3vOflXEb/VzKrwCWecefhizeUzQqIA4o0ymnK4kUBX UujQ== X-Gm-Message-State: APjAAAUYraHIWubMmwmHU50XQvSYJNW0ihoEJSyZPmlgWv4wnv3aHdr0 ehQEr7VJF8vPUcCvSJisJXZIcAh0ytQ= X-Google-Smtp-Source: APXvYqyXJ76P9YXCZ7zlgayrf8v8muyvWAk8ZmNL/r/2VSlA2uCHlek5fq1tRPc0TJ5CecerFNpm+w== X-Received: by 2002:a17:902:8489:: with SMTP id c9mr30881963plo.327.1562005556590; Mon, 01 Jul 2019 11:25:56 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id 12sm11397340pfi.60.2019.07.01.11.25.55 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 01 Jul 2019 11:25:55 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Mon, 1 Jul 2019 11:25:17 -0700 Message-Id: <20190701182536.20110-12-stephen@networkplumber.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190701182536.20110-1-stephen@networkplumber.org> References: <20190701182536.20110-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 11/30] ethdev: fix spelling error X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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 found by codespell. Signed-off-by: Stephen Hemminger --- lib/librte_ethdev/rte_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_ethdev/rte_ethdev.c b/lib/librte_ethdev/rte_ethdev.c index 31f02ec2ba3b..281bba2e2a17 100644 --- a/lib/librte_ethdev/rte_ethdev.c +++ b/lib/librte_ethdev/rte_ethdev.c @@ -3903,7 +3903,7 @@ rte_eth_add_first_rx_callback(uint16_t port_id, uint16_t queue_id, cb->param = user_param; rte_spinlock_lock(&rte_eth_rx_cb_lock); - /* Add the callbacks at fisrt position*/ + /* Add the callbacks at first position*/ cb->next = rte_eth_devices[port_id].post_rx_burst_cbs[queue_id]; rte_smp_wmb(); rte_eth_devices[port_id].post_rx_burst_cbs[queue_id] = cb; From patchwork Mon Jul 1 18:25:18 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 55809 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 69B541BA5A; Mon, 1 Jul 2019 20:26:13 +0200 (CEST) Received: from mail-pl1-f196.google.com (mail-pl1-f196.google.com [209.85.214.196]) by dpdk.org (Postfix) with ESMTP id 912B21B9B7 for ; Mon, 1 Jul 2019 20:25:58 +0200 (CEST) Received: by mail-pl1-f196.google.com with SMTP id bi6so7758337plb.12 for ; Mon, 01 Jul 2019 11:25:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Im5cE22sZrarB20fe9kI3F3KMcpBuEncWqTbPhEiCrI=; b=wUv+FXCQDubHu5vuz5sHTW0urWlT1kjhA5ZwIhP6wy3ECUw7s6SevIdWc4NBUAe9XY hUF14fHAjSjytaJOSYFhLLcVx5VnxEic9s+8qnca/IUZJcEEoyEEmtZs0eez0emUNQQ4 qNB5TDfSmBx5o/t9suzG60ijjaszs91l8l22PxKzurFmFsItzJNgnwwM/PpSXocO/950 270szttjVn1HpZ3E7yMhhFqripdIaPKTolj/lFG4p8gHtbIL/aQv60aLWdFVAddFoAKV 4rpaA0UPEnw4vDeENkScn3eqna5+rT2Hqd8N+LkT21TgQufk1afLkGgx/Hhs6F6OXSEF P8tg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Im5cE22sZrarB20fe9kI3F3KMcpBuEncWqTbPhEiCrI=; b=qmYmWYo0V4hhxhf8o/TlVHeKWI/vX8j8h20KQEZfKtXsAtMs9+pUFmTSJ7rQi/jh5G PYSw9LCw2mmh14Ebs9tzle2IhQPJqbwnSiWWXJMtcNOlypBjt+rvv7DtEhl3yKJPzD84 Nj1OBUBXtfh3sOwrY1WK/RMgajdhrSdTDWq7BSQ6b6U7fQh8zKmqmCAfUkf9BYs1PZrD xU7i6uekqkQDsureKdaAPXkJCcu1uF7VqsBqOVjfiqfQts46euarUf52hpLJ0DN3PE4S gcIcPnMUsq+Lf2cGz1arTUgR6kwaPdYMMQTxwGJTMhvPiUfJSLfxa6HCm55Cif9g0j9C Tgxg== X-Gm-Message-State: APjAAAVi5W3KsOBZVgbR/SoUr9PImah1lqMgB1vM7J1b1Jf4+mxTdP0A bYyaKpehHjSohZdLGZPyKpPOjTYHA94= X-Google-Smtp-Source: APXvYqzLwwbIy9aLtzkKSJDKwXH9FMsIHAtASCk61mOi3fa58X2FRtX8BVI2kTRcgN4XOdi/eIFB6A== X-Received: by 2002:a17:902:20ec:: with SMTP id v41mr28840990plg.142.1562005557589; Mon, 01 Jul 2019 11:25:57 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id 12sm11397340pfi.60.2019.07.01.11.25.56 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 01 Jul 2019 11:25:56 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Mon, 1 Jul 2019 11:25:18 -0700 Message-Id: <20190701182536.20110-13-stephen@networkplumber.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190701182536.20110-1-stephen@networkplumber.org> References: <20190701182536.20110-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 12/30] ip_frag: fix spelling error X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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 found by codespell. Signed-off-by: Stephen Hemminger Signed-off-by: Stephen Hemminger Signed-off-by: Stephen Hemminger --- examples/ip_fragmentation/main.c | 2 +- lib/librte_ip_frag/rte_ipv4_reassembly.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/ip_fragmentation/main.c b/examples/ip_fragmentation/main.c index 85c0100f792d..eb6ca097aa7e 100644 --- a/examples/ip_fragmentation/main.c +++ b/examples/ip_fragmentation/main.c @@ -635,7 +635,7 @@ check_all_ports_link_status(uint32_t port_mask) } } -/* Check L3 packet type detection capablity of the NIC port */ +/* Check L3 packet type detection capability of the NIC port */ static int check_ptype(int portid) { diff --git a/lib/librte_ip_frag/rte_ipv4_reassembly.c b/lib/librte_ip_frag/rte_ipv4_reassembly.c index b7b92ed28549..28003e42af63 100644 --- a/lib/librte_ip_frag/rte_ipv4_reassembly.c +++ b/lib/librte_ip_frag/rte_ipv4_reassembly.c @@ -83,7 +83,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 setuped correctly. * @param tbl * Table where to lookup/add the fragmented packet. * @param mb From patchwork Mon Jul 1 18:25:19 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 55810 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 175651BA65; Mon, 1 Jul 2019 20:26:15 +0200 (CEST) Received: from mail-pg1-f193.google.com (mail-pg1-f193.google.com [209.85.215.193]) by dpdk.org (Postfix) with ESMTP id B21951B9C0 for ; Mon, 1 Jul 2019 20:25:59 +0200 (CEST) Received: by mail-pg1-f193.google.com with SMTP id 196so6419542pgc.6 for ; Mon, 01 Jul 2019 11:25:59 -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=78VVDcnMqU60ztKJfQOxvY36PDpEvpc15Qab+5rvy+8=; b=PlMKgiSCbxbJY4LEnJTAJKY7kp/0+zoB9tjVsG89PNaGeV8piIW1aMQbKwVKIxFIIZ qKCcKBcje9U6BqZCfP2aUWncEfM5Sahm9xwX6PPj+s/dAoMV629RlcYbn5krLhlbQoLs c/g/bcLycNd15j3Pql9HZ0ntHW4MOed0k5qD2ZqmYmcCu5Wrd+bkBduydkc4rETQ9g0B wqxLgvuYnrFykoOkx0mwpVEPouM6NRQkDkwu2DW8XhQO1/feJIdDWczyvZj3OH769uTo l5oYh9NhkGpahwv879tQykbWMSZpAXXszsrJje9mSbQ/fWekidJW1LJeScgsdR8GTzH3 wwYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=78VVDcnMqU60ztKJfQOxvY36PDpEvpc15Qab+5rvy+8=; b=dC4PRHGAIjH/ZPFj+OfEEcA8qLU5jxzrkCkYgQTVqPnMYEhovE1z1QhiaXrfHzBPZH 0Vj4IvfSgQzmyAD+KEdSPRNnFLcJTrXeV6dR4QKuwtHxLBnqlcwpsbX181krpZXmvwtV XIEugxX47oVdKeVLTeIliXXhD1FAOYlCN1TepwsW1zogiknOg9uertBq1wO9ngKt1CtF ooaMgymp4NTAnNgir95fs/9oRxuh1jGIOurDfz6BWjsbB/AayT54XRapWsP5Iw5K0wx5 X3rJHZLZSHbYFtiLnQKSmHLS1XQf147ygUCeADt3JfAYurseaDc0dXNiWRDXCX5buvm5 +HBw== X-Gm-Message-State: APjAAAUwhSNZ/86Mgt7LoOm8Z2Sf8u4g+uqf1zCawF66KfupPedTHTQD FQ7GiN/qwXvm6p1e46K/ReUjP3i69CU= X-Google-Smtp-Source: APXvYqxIn472fKyGasrbE3idYxLaDKOW2BzfsgyWQBIeQuv8G3A9IcSmv5cOtbwJfDpxMEF8/SN/KQ== X-Received: by 2002:a63:1847:: with SMTP id 7mr13140342pgy.204.1562005558524; Mon, 01 Jul 2019 11:25:58 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id 12sm11397340pfi.60.2019.07.01.11.25.57 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 01 Jul 2019 11:25:57 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Mon, 1 Jul 2019 11:25:19 -0700 Message-Id: <20190701182536.20110-14-stephen@networkplumber.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190701182536.20110-1-stephen@networkplumber.org> References: <20190701182536.20110-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 13/30] examples/multi_process: fix spelling errors X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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 caught by codespell. Signed-off-by: Stephen Hemminger --- examples/multi_process/hotplug_mp/commands.c | 2 +- examples/multi_process/simple_mp/main.c | 2 +- examples/multi_process/symmetric_mp/main.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/multi_process/hotplug_mp/commands.c b/examples/multi_process/hotplug_mp/commands.c index b068593939d8..aaf04bd5e9fa 100644 --- a/examples/multi_process/hotplug_mp/commands.c +++ b/examples/multi_process/hotplug_mp/commands.c @@ -178,7 +178,7 @@ static void cmd_dev_detach_parsed(void *parsed_result, cmdline_printf(cl, "detached device %s\n", da.name); else - cmdline_printf(cl, "failed to dettach device %s\n", + cmdline_printf(cl, "failed to detach device %s\n", da.name); } diff --git a/examples/multi_process/simple_mp/main.c b/examples/multi_process/simple_mp/main.c index e6c69d6a33a9..e27d77eafb4d 100644 --- a/examples/multi_process/simple_mp/main.c +++ b/examples/multi_process/simple_mp/main.c @@ -4,7 +4,7 @@ /* * This sample application is a simple multi-process application which - * demostrates sharing of queues and memory pools between processes, and + * demonstrates sharing of queues and memory pools between processes, and * using those queues/pools for communication between the processes. * * Application is designed to run with two processes, a primary and a diff --git a/examples/multi_process/symmetric_mp/main.c b/examples/multi_process/symmetric_mp/main.c index 62771e036cd7..0003dd01e2c2 100644 --- a/examples/multi_process/symmetric_mp/main.c +++ b/examples/multi_process/symmetric_mp/main.c @@ -3,7 +3,7 @@ */ /* - * Sample application demostrating how to do packet I/O in a multi-process + * Sample application demonstrating how to do packet I/O in a multi-process * environment. The same code can be run as a primary process and as a * secondary process, just with a different proc-id parameter in each case * (apart from the EAL flag to indicate a secondary process). From patchwork Mon Jul 1 18:25:20 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 55811 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BBB701B9EF; Mon, 1 Jul 2019 20:26:16 +0200 (CEST) Received: from mail-pf1-f194.google.com (mail-pf1-f194.google.com [209.85.210.194]) by dpdk.org (Postfix) with ESMTP id A6AAA1B9C4 for ; Mon, 1 Jul 2019 20:26:00 +0200 (CEST) Received: by mail-pf1-f194.google.com with SMTP id q10so6969467pff.9 for ; Mon, 01 Jul 2019 11:26:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=yp1AhcT8wDU1feIJSV6FYb0/b3m8WWVaa58qFqOdIJo=; b=vgDMfT5163B8iTUEJsYkgswfWkeDLoJQH4CinEVxntHSTnmpzGY2fy4SwXh4C7pNUR +vWl1vbJe019kQyo3CSAp+kTrVxxls+IVGzi9JTo4XZGvwvEr3c2fXTUsfERc9VINfNf IbQkSmndV7qom1gLG63KlZgB+sPlFyq6fZVAfRLqKvX4pnnD15+Anr854D2oSVyQDvkG D+78tTFkn9ON3UJJVrM340ZqS/buaRIO9aWv2DHQKdc4ZuS6E2SrGaADu8jOdkHYwnVm N+3qUWi/8+WLqdtwfn3G15IAaWPK9LeIKV3dwRCaTQH9lGrHcmTQIOmO9GLwE65ETD12 lwpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=yp1AhcT8wDU1feIJSV6FYb0/b3m8WWVaa58qFqOdIJo=; b=dzqvD4Jt7SGICbPBRc6dBJC91w+/ggdUP6eV+9nIqjC3US1ZYnK8IbTKDKKcIO4oq9 0blHzAX9VXBp6fa/mElHqKhQsjPErcLGiZTaWnjjZv7K7hcLa1uNDmulOBZz4OhJcdte CLIQbXSzbMwt1TreLMU1Ioj8LW+S9hAyEccPh6mGCmMabxcZA66kCP8MRrKqucxYw9JB nw6aYOVpuNC6qYtRFxmrSIsujkWPSKS1UankkcVcbshALtP03Doyy3idlCN49gDbIwap d66ioOo6ji2tGLMn9RQ9XoiV8di03a7g6F1FJJw31CJvVUFcFH7ywG7fluTqEMLJzwu0 dFEQ== X-Gm-Message-State: APjAAAVwoudiarEQFwDPXXFRcxIu9tdWtMr9BTlDbwO8u5t+y0pgER+/ HoeMHbhaOTTCJ0Vv7++N7PlqBjHE X-Google-Smtp-Source: APXvYqyQ+cMD5XIg8WGEQaHpVGXpt3yAkXG2YR1j0W+TwAQmNv8vDvXlVRTGjpn6hDePTHNOgd++KQ== X-Received: by 2002:a17:90b:d8b:: with SMTP id bg11mr744455pjb.30.1562005559607; Mon, 01 Jul 2019 11:25:59 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id 12sm11397340pfi.60.2019.07.01.11.25.58 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 01 Jul 2019 11:25:58 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Mon, 1 Jul 2019 11:25:20 -0700 Message-Id: <20190701182536.20110-15-stephen@networkplumber.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190701182536.20110-1-stephen@networkplumber.org> References: <20190701182536.20110-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 14/30] examples/l3fwd: fix misspelling of destination X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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 found by codespell. Signed-off-by: Stephen Hemminger --- examples/l3fwd/l3fwd_common.h | 2 +- examples/l3fwd/l3fwd_neon.h | 2 +- examples/l3fwd/l3fwd_sse.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/l3fwd/l3fwd_common.h b/examples/l3fwd/l3fwd_common.h index 7d83ff641a24..9a695a9190b2 100644 --- a/examples/l3fwd/l3fwd_common.h +++ b/examples/l3fwd/l3fwd_common.h @@ -51,7 +51,7 @@ rfc1812_process(struct rte_ipv4_hdr *ipv4_hdr, uint16_t *dp, uint32_t ptype) #endif /* DO_RFC_1812_CHECKS */ /* - * We group consecutive packets with the same destionation port into one burst. + * We group consecutive packets with the same destination port into one burst. * To avoid extra latency this is done together with some other packet * processing, but after we made a final decision about packet's destination. * To do this we maintain: diff --git a/examples/l3fwd/l3fwd_neon.h b/examples/l3fwd/l3fwd_neon.h index 86ac5971d7f2..e3d33a52298a 100644 --- a/examples/l3fwd/l3fwd_neon.h +++ b/examples/l3fwd/l3fwd_neon.h @@ -64,7 +64,7 @@ processx4_step3(struct rte_mbuf *pkt[FWDSTEP], uint16_t dst_port[FWDSTEP]) /* * Group consecutive packets with the same destination port in bursts of 4. - * Suppose we have array of destionation ports: + * Suppose we have array of destination ports: * dst_port[] = {a, b, c, d,, e, ... } * dp1 should contain: , dp2: . * We doing 4 comparisons at once and the result is 4 bit mask. diff --git a/examples/l3fwd/l3fwd_sse.h b/examples/l3fwd/l3fwd_sse.h index bb565ed54632..d5a717e18cbd 100644 --- a/examples/l3fwd/l3fwd_sse.h +++ b/examples/l3fwd/l3fwd_sse.h @@ -64,7 +64,7 @@ processx4_step3(struct rte_mbuf *pkt[FWDSTEP], uint16_t dst_port[FWDSTEP]) /* * Group consecutive packets with the same destination port in bursts of 4. - * Suppose we have array of destionation ports: + * Suppose we have array of destination ports: * dst_port[] = {a, b, c, d,, e, ... } * dp1 should contain: , dp2: . * We doing 4 comparisons at once and the result is 4 bit mask. From patchwork Mon Jul 1 18:25:21 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 55812 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0C3A51BAA7; Mon, 1 Jul 2019 20:26:19 +0200 (CEST) Received: from mail-pg1-f196.google.com (mail-pg1-f196.google.com [209.85.215.196]) by dpdk.org (Postfix) with ESMTP id 1ACAB1B9C8 for ; Mon, 1 Jul 2019 20:26:02 +0200 (CEST) Received: by mail-pg1-f196.google.com with SMTP id 196so6419589pgc.6 for ; Mon, 01 Jul 2019 11:26:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=/pm3cXGS+yCOgJ6Ao8NyOHu1imDlkC3//Ghu6Z9P6As=; b=HdY+xWrbqzp7QkyO7YBx2xlk86tSVrVX3mEe/wEVktj51RgFcN6NeKLaXqV9v5gD2G qaDIW8CqfBzBd8ROCjUTbWuvAvdZy8YEB7CUBE3X77owhZLUV0ssKMaCRBUp2+Q/e8/f taOdPiwVX0KxDqguh8uqjscvyecde3YUEvUDMfgxb9eSheKtnSqlub+9xdiOiSQmlWUz Jnr3WoxEKGoNz2vWPsQxCiS2Pz9pD1fNDElF8D5c1BEYjpSXkgnwzRs4RJ+8DypsE10c nbN5njVx6qv+xTtfTEjHODh3akDbN+pPpwGBMbznDwyvXaW8Wgy0LcqtZxOTktE6jRUQ LVFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=/pm3cXGS+yCOgJ6Ao8NyOHu1imDlkC3//Ghu6Z9P6As=; b=doiOAK1poYmDXAewmGtAK3NVTED5+oQ/480KJcYdjxphHdtm3tSGA1qmEse5gDoYD/ Bu7oOvgPbympKtAsbcWmz/cPlguZb26auMQ3loMW907rRMvQp7QhzKUxgflo0MwD0xOH Ch+1zysimp6tFJ/b/HjvYW+M1Zi3gSXEVi2uogV7IcQVrdnF5pXohRqcJRl6VVxga3iu BYfqwRzsNMtFczDR9qycDoAFcE2wXcUgZM43yfPALDLTArviBORICOGsZdpNlcBov9Un yqApoT29Kqh5W+u3FZEW1jeDnB0+AsOqpEP3NpZJ2w+tiuypcSrzFVJNwSsZge4RZQiL Il0g== X-Gm-Message-State: APjAAAVGvgW90EhQYHoqFjap7muatJzL/sWJsUdUCPQ2/XO2e8VPY4er 8wu9HWTVqDD8pNrm19o65gZC4454ftw= X-Google-Smtp-Source: APXvYqzo4aBzqrRkl1sVky6jn/vLeW1HQzvnfXlmhdXs0qfcAyk3oOdUL6iAegncPRn7bHSBJcP61A== X-Received: by 2002:a17:90a:cb12:: with SMTP id z18mr696230pjt.82.1562005561004; Mon, 01 Jul 2019 11:26:01 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id 12sm11397340pfi.60.2019.07.01.11.25.59 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 01 Jul 2019 11:26:00 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Mon, 1 Jul 2019 11:25:21 -0700 Message-Id: <20190701182536.20110-16-stephen@networkplumber.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190701182536.20110-1-stephen@networkplumber.org> References: <20190701182536.20110-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 15/30] examples/performance-thread: fix spelling errors X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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 found by codespell. Signed-off-by: Stephen Hemminger --- examples/performance-thread/common/lthread_tls.c | 2 +- examples/performance-thread/l3fwd-thread/main.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/performance-thread/common/lthread_tls.c b/examples/performance-thread/common/lthread_tls.c index 07de6cafabf5..21515829895c 100644 --- a/examples/performance-thread/common/lthread_tls.c +++ b/examples/performance-thread/common/lthread_tls.c @@ -214,7 +214,7 @@ void _lthread_tls_alloc(struct lthread *lt) tls->root_sched = (THIS_SCHED); lt->tls = tls; - /* allocate data for TLS varaiables using RTE_PER_LTHREAD macros */ + /* allocate data for TLS variables using RTE_PER_LTHREAD macros */ if (sizeof(void *) < (uint64_t)RTE_PER_LTHREAD_SECTION_SIZE) { lt->per_lthread_data = _lthread_objcache_alloc((THIS_SCHED)->per_lthread_cache); diff --git a/examples/performance-thread/l3fwd-thread/main.c b/examples/performance-thread/l3fwd-thread/main.c index dd468958aa62..641e289838af 100644 --- a/examples/performance-thread/l3fwd-thread/main.c +++ b/examples/performance-thread/l3fwd-thread/main.c @@ -1523,7 +1523,7 @@ processx4_step3(struct rte_mbuf *pkt[FWDSTEP], uint16_t dst_port[FWDSTEP]) } /* - * We group consecutive packets with the same destionation port into one burst. + * We group consecutive packets with the same destination port into one burst. * To avoid extra latency this is done together with some other packet * processing, but after we made a final decision about packet's destination. * To do this we maintain: @@ -1548,7 +1548,7 @@ processx4_step3(struct rte_mbuf *pkt[FWDSTEP], uint16_t dst_port[FWDSTEP]) /* * Group consecutive packets with the same destination port in bursts of 4. - * Suppose we have array of destionation ports: + * Suppose we have array of destination ports: * dst_port[] = {a, b, c, d,, e, ... } * dp1 should contain: , dp2: . * We doing 4 comparisons at once and the result is 4 bit mask. From patchwork Mon Jul 1 18:25:22 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 55813 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B075C1BABD; Mon, 1 Jul 2019 20:26:20 +0200 (CEST) Received: from mail-pf1-f194.google.com (mail-pf1-f194.google.com [209.85.210.194]) by dpdk.org (Postfix) with ESMTP id 786841B9D5 for ; Mon, 1 Jul 2019 20:26:03 +0200 (CEST) Received: by mail-pf1-f194.google.com with SMTP id 81so6958429pfy.13 for ; Mon, 01 Jul 2019 11:26:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=PhPQb4bwPTcpHaH3VnNsWXPmYoRopirCf5RSugLhSco=; b=tAMX3O8IXDyCCLtGIwO8bdAeuzUnebW3gLPAhycQ9QrIV7CunJzlfSp1AjrsphoPHn blQjSzfi6noRdg0/UeE8VERJWX9YtEydXpDHdpHKijdaf63EZwcuZyI4JwEkgwXaVLbI ZQcBqF3s7x0nFyuQLWjwferCXzCvGc4dSwVBvv2M2Y6Vr3Vl6eXtSqR5sozxlCBBfmuZ /ZDLO+MuMo1jtA3/c/vgp+lxx6iYHBtcu89WOEh133vhnyMaG47hA0aSzD6gmcpbiVbI 5Ng+pkuYlPdLafQHmWlUo6V5URC4dCXlkX0EsbWoUn2x/H/JHQQ/msfAFce6StUKLGQw vFkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=PhPQb4bwPTcpHaH3VnNsWXPmYoRopirCf5RSugLhSco=; b=GtIOtBWCKmePygnGkitiqZYDRrfR2y1x4fS/5zkUzLyiEeIDxEuCXtU5qrnJ6T+mXY G3DyzCblwA35/b5shTsyCOm2CfKd+qLSXshLfcJkCfX4F2HUT38+Au+rDxnPcrsHDfb7 owLpfqHkxX31Ng5hd7v4Gt5fiCKunOKeI5eqGMF6CHCp5xSGdj2AZbMaWeEEj9PEg2Lv gVv9kPt/p/AzFOzB0mNVvZ+YFJHNnGfuooaJ60gJSkgC0u29CUQZ3mm/Ovqd1BI/XhnK pmjBK5v7EekDOo4FZ+ORGuLS97zX2tRxbgNlj5+GRhketnrE3/1xXH1BuBIipOSDUkOv RZZQ== X-Gm-Message-State: APjAAAX+Zy6umYVKawpGus+ZXp87obzj9/cm/hkGyOLm/L03orMZ3SiH HyAGF9YX8WObSIU8Do1fb2NtY5zV X-Google-Smtp-Source: APXvYqz9fYsYHMzg8l0XBp2ZuSp5WXUlvS8QPvcc8xLQ+WsOkKVlAcmPm8QNgDESZF3Ws1D538l0/Q== X-Received: by 2002:a17:90b:f0e:: with SMTP id br14mr671862pjb.117.1562005562438; Mon, 01 Jul 2019 11:26:02 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id 12sm11397340pfi.60.2019.07.01.11.26.01 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 01 Jul 2019 11:26:01 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Mon, 1 Jul 2019 11:25:22 -0700 Message-Id: <20190701182536.20110-17-stephen@networkplumber.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190701182536.20110-1-stephen@networkplumber.org> References: <20190701182536.20110-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 16/30] examples/ethtool: fix spelling errors X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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 found by codespell. Signed-off-by: Stephen Hemminger Signed-off-by: Stephen Hemminger --- examples/ethtool/lib/rte_ethtool.c | 2 +- examples/ethtool/lib/rte_ethtool.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/ethtool/lib/rte_ethtool.c b/examples/ethtool/lib/rte_ethtool.c index 571c4e5aa52c..ec543055e483 100644 --- a/examples/ethtool/lib/rte_ethtool.c +++ b/examples/ethtool/lib/rte_ethtool.c @@ -376,7 +376,7 @@ rte_ethtool_net_set_rx_mode(uint16_t port_id) rte_eth_dev_info_get(port_id, &dev_info); num_vfs = dev_info.max_vfs; - /* Set VF vf_rx_mode, VF unsupport status is discard */ + /* Set VF vf_rx_mode, VF unsupported status is discard */ for (vf = 0; vf < num_vfs; vf++) { #ifdef RTE_LIBRTE_IXGBE_PMD rte_pmd_ixgbe_set_vf_rxmode(port_id, vf, diff --git a/examples/ethtool/lib/rte_ethtool.h b/examples/ethtool/lib/rte_ethtool.h index f17709663644..d27e0102b1ca 100644 --- a/examples/ethtool/lib/rte_ethtool.h +++ b/examples/ethtool/lib/rte_ethtool.h @@ -189,7 +189,7 @@ int rte_ethtool_get_module_eeprom(uint16_t port_id, /** * Retrieve the Ethernet device pause frame configuration according to - * parameter attributes desribed by ethtool data structure, + * parameter attributes described by ethtool data structure, * ethtool_pauseparam. * * @param port_id @@ -209,7 +209,7 @@ int rte_ethtool_get_pauseparam(uint16_t port_id, /** * Setting the Ethernet device pause frame configuration according to - * parameter attributes desribed by ethtool data structure, ethtool_pauseparam. + * parameter attributes described by ethtool data structure, ethtool_pauseparam. * * @param port_id * The port identifier of the Ethernet device. From patchwork Mon Jul 1 18:25:23 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 55814 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 618D41BACC; Mon, 1 Jul 2019 20:26:22 +0200 (CEST) Received: from mail-pf1-f175.google.com (mail-pf1-f175.google.com [209.85.210.175]) by dpdk.org (Postfix) with ESMTP id 968281B9D8 for ; Mon, 1 Jul 2019 20:26:04 +0200 (CEST) Received: by mail-pf1-f175.google.com with SMTP id r1so6958044pfq.12 for ; Mon, 01 Jul 2019 11:26:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=i0XOnpblQaTFQairtxc9f0VQZOSbB8h5EvwZgxajp8s=; b=D/t7brQuNlJZtxHya/A0AAA/nqPY5md9rCfLapLvDmfGevc0pL32vXmRQfDohdFovF ywFdn2Hh6eOodDnkJcIwhzonaXr4GOrfaSAj6G2/nCrXAp7L4DB/k85UQPIUQT/Flgdm dlwJsKKyNslu0e5dpSxxwi2485Cb2Qmc4WxEQKbCtQG8EAY56Z69JfzoNPAnstNSld2V +Tqz1gkByMLUaWgsmvMDMk5i/O6kU3a4l4M81P7cnTJlH/4Y2vpetEeKXirGJ5V6ie0K kX7oOYDE+gOjY3qD2jrMXGNdm+BVpK+l1XHfAmCRfRfGGvXgJtGocK2NQ96WNoUrd/rW VDVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=i0XOnpblQaTFQairtxc9f0VQZOSbB8h5EvwZgxajp8s=; b=A93Ffq8fopMwcE0VQ28lLOTQMjjxRbpZ0+eSSbzvuYcLSNa4mOW11bkzdglAzJnMBK KOyn0iB2sIotPXYODxx+HLcwF/upoqKmcmO3GfG1n3aAcx4N4RIep7ikKuwZtZI2Ok5x 1rFJsLy8iq8PzwlhXByPVN/aW/v4ghz3J1lUcz/rHPBKB4S8ghBte8CXhOpfiROMDoN4 ZXXl+FODEwDBCrZtbYSxAvKMW7+y18e2nzZnDWtEhYArrQuJ4bk9OBLZcm09VD0HUhgO Emlls+NFB4UXBGA38o963ppo4rW55da5JjaVFeznGZQJxDWdaTyGqN+AzJOqDVDOwp+e BgJw== X-Gm-Message-State: APjAAAWiyeS239MBqR4N2lE9IfJc725usUEoEVlK6PEw3n5N78JtoHia kztViUXVspVuZehXaTaIg+9raGZUx9I= X-Google-Smtp-Source: APXvYqxAZtd1KLEmpqqGSvPrmVeNQGbl1A9nw2TGX7p00WjzWdhELtBGkx5TBKE2ZdDx58X5NAXGDA== X-Received: by 2002:a17:90a:bf08:: with SMTP id c8mr692148pjs.75.1562005563595; Mon, 01 Jul 2019 11:26:03 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id 12sm11397340pfi.60.2019.07.01.11.26.02 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 01 Jul 2019 11:26:02 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Mon, 1 Jul 2019 11:25:23 -0700 Message-Id: <20190701182536.20110-18-stephen@networkplumber.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190701182536.20110-1-stephen@networkplumber.org> References: <20190701182536.20110-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 17/30] examples/vmdq: fix spelling errors X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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 found by codespell. Signed-off-by: Stephen Hemminger --- examples/vmdq/main.c | 2 +- examples/vmdq_dcb/main.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/vmdq/main.c b/examples/vmdq/main.c index 7281ffd7fb14..63d5f85bbc8a 100644 --- a/examples/vmdq/main.c +++ b/examples/vmdq/main.c @@ -60,7 +60,7 @@ static uint32_t enabled_port_mask; static uint32_t num_queues = 8; static uint32_t num_pools = 8; -/* empty vmdq configuration structure. Filled in programatically */ +/* empty vmdq configuration structure. Filled in programmatically */ static const struct rte_eth_conf vmdq_conf_default = { .rxmode = { .mq_mode = ETH_MQ_RX_VMDQ_ONLY, diff --git a/examples/vmdq_dcb/main.c b/examples/vmdq_dcb/main.c index 389000327685..74de72ca2fae 100644 --- a/examples/vmdq_dcb/main.c +++ b/examples/vmdq_dcb/main.c @@ -66,7 +66,7 @@ static uint16_t num_queues, num_vmdq_queues; static uint16_t vmdq_pool_base, vmdq_queue_base; static uint8_t rss_enable; -/* empty vmdq+dcb configuration structure. Filled in programatically */ +/* empty vmdq+dcb configuration structure. Filled in programmatically */ static const struct rte_eth_conf vmdq_dcb_conf_default = { .rxmode = { .mq_mode = ETH_MQ_RX_VMDQ_DCB, From patchwork Mon Jul 1 18:25:24 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 55815 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E16021BAE5; Mon, 1 Jul 2019 20:26:23 +0200 (CEST) Received: from mail-pl1-f194.google.com (mail-pl1-f194.google.com [209.85.214.194]) by dpdk.org (Postfix) with ESMTP id 864611B9AF for ; Mon, 1 Jul 2019 20:26:05 +0200 (CEST) Received: by mail-pl1-f194.google.com with SMTP id c14so7783280plo.0 for ; Mon, 01 Jul 2019 11:26:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=1u5goIJZscPizy7gIDd9RGwSNS8bEusHKre682CetEs=; b=HKii5y7YhrueQsOw9RkSEO9NLGGKPeI2RQ0vYOFUP73fH376kci3IXDN/y6QhJqHaP LSRfj+SXijp2X1oJJ8MzX9fnPgf6ifCD4FVix9BLHU+TPJ0e4Qv6U0/LGgKXQC+k0h4I GFN6sOwKWs6jBAAFQYV2U0NjdCUUSWVfAlKE3lPVfmtknoE/u54fjS3/4au3aMta5Oh4 L/fhP6yInB1o7vo2Jtzuqt6xMc7w18WRY9F4+ks07QvXMOJyvj7UYbF6Y+emxgrMNwkK E1rUo3lc5ZK7x4k64xTuFRPuELEO4qkfOwovsy95oF3EbijoNVI8jE531BFKzLhzTSoN 1RhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=1u5goIJZscPizy7gIDd9RGwSNS8bEusHKre682CetEs=; b=kPkLI0IjWuHmyjEAgZcoyQu/7lMzmWkz3A3mSWQM7DCQVZGFUe7IEFHiOiLkdjZME9 DYe54s4vH4ZjGc8ydHMZAqCbWOMEwC3A3cHPem67DeU9VtYLsgieJU9H5Awhl2hDJxHG qvVhKweNn3nEXwBPbAsmfH3L00gPLMbIVT87Fla3QpL0gg0dtH43Zurm/lNIntEaR8w/ NJmUowjuDVkU971jA11mZTmG03DIla+AZDm6Ww6jDkaTYUhy74JxgJmdLcbavd5Eroqn 4WeGN0BzTM63LWyGy6JpuN3bQGt9RIAkLEjMp3K84peCk0NUOQOtWxeEOyjg8E5aWJDy NfkA== X-Gm-Message-State: APjAAAVsS1Va7aWQlGkLX9rLifKnnja0GD1RD/Nsm6q5Sc4gmXo5Sq93 OMFHH/hsAqyZ7gW8ggcTnc4QCAor1gg= X-Google-Smtp-Source: APXvYqx/5ZeHncgioSpf/kuosJ4bccgmuY2+Z/UxugIaYSEgmVSd6YoSkgIfnj1t9tOXsYm+brjXFw== X-Received: by 2002:a17:902:76c6:: with SMTP id j6mr30476353plt.263.1562005564518; Mon, 01 Jul 2019 11:26:04 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id 12sm11397340pfi.60.2019.07.01.11.26.03 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 01 Jul 2019 11:26:03 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Mon, 1 Jul 2019 11:25:24 -0700 Message-Id: <20190701182536.20110-19-stephen@networkplumber.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190701182536.20110-1-stephen@networkplumber.org> References: <20190701182536.20110-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 18/30] examples/bond: fix spelling errors X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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 found by codespell. Signed-off-by: Stephen Hemminger --- examples/bond/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/bond/main.c b/examples/bond/main.c index 1c0df9d46797..9d81c269b7f8 100644 --- a/examples/bond/main.c +++ b/examples/bond/main.c @@ -375,7 +375,7 @@ static int lcore_main(__attribute__((unused)) void *arg1) struct rte_ether_hdr *); ether_type = eth_hdr->ether_type; if (ether_type == rte_cpu_to_be_16(RTE_ETHER_TYPE_VLAN)) - printf("VLAN taged frame, offset:"); + printf("VLAN tagged frame, offset:"); offset = get_vlan_offset(eth_hdr, ðer_type); if (offset > 0) printf("%d\n", offset); From patchwork Mon Jul 1 18:25:25 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 55816 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6F60D1BB06; Mon, 1 Jul 2019 20:26:25 +0200 (CEST) Received: from mail-pf1-f194.google.com (mail-pf1-f194.google.com [209.85.210.194]) by dpdk.org (Postfix) with ESMTP id AD8061B9AF for ; Mon, 1 Jul 2019 20:26:06 +0200 (CEST) Received: by mail-pf1-f194.google.com with SMTP id p184so6965807pfp.7 for ; Mon, 01 Jul 2019 11:26:06 -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=u8PMvRNNmZeuCGyhfTScJmxs33vN1jelQhDA/EZh/10=; b=cYOXcVXSxH9Iz5yQnm7IQQAAT9Dur2E6Z0KyPEcZ44VYF5vt3NA/lXl3fCwqX/ZY09 +Xv5L3amZzyJlCOMXdBJVbX9vcccP5JbRgPFujqKStBFmMmNoMMYPB+7/nZ3+1ZmZFXM ZzZQv0Db6CqaKA9rhwRxgbgdYQ70/G8aAFPCdOw6a5GJuepXcRSogfMzpAGsuM3IM6g0 YQkdeRzs/LcYUBRtZ/yvbUazZDXDOfyoJNz0U4XkMWpGANQO9lCGSvjZ9GHCsn3KUgm6 7a4wTbLnMyC2E1p0CHLF4M2Dy/TcudoMVnCvtZPZndE/pzjV3jSM9uPfdB/jH1pp4zXv QMFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=u8PMvRNNmZeuCGyhfTScJmxs33vN1jelQhDA/EZh/10=; b=JitEYg/LuvdIoazY2LWyrixt6e+VMmIovwmgB3m2B6Ms92L7gWguQAq/1yZu8mfFod zPkOT1apTIJu2mK0AF9K5cq3MZDidhEWmeW5RlnF7EiGn9VJ8d2fpv3AHH92fX3gNWU8 hOLX4l0/h5ruvx9b1fw2Dl2gViWttxuCUh0N6mDtxLlg4vhf8epraFdZbJFFhIYJCOJF WORToiiXKi1YHI5nKTRyQVCMANMg9EOA1HLizvnTuxrTHXQN8RpwuehYp5be/7DhnKQr IanwEHiurYCaZpYw2TsyhCBL42LeffBwTPExY1Xi6U+9fUAnyU1zZVBvxbzW88NhNnDV ZHVw== X-Gm-Message-State: APjAAAWibbPZ3kOjp1mhWZdOd4Un15nxStr8HBcME6F8ZwNX6SjEP7p2 SzvcDLRaAtlxuiH7s5DjUFIAzskcgbo= X-Google-Smtp-Source: APXvYqyCKFsQ3eL9G6aQ6LsVj+oNIqYfyRFeaDIKfyecYnA19SNqaj4FGmT5NhZ/JH3yd4UxqPxYuA== X-Received: by 2002:a17:90a:1d8:: with SMTP id 24mr748211pjd.70.1562005565633; Mon, 01 Jul 2019 11:26:05 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id 12sm11397340pfi.60.2019.07.01.11.26.04 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 01 Jul 2019 11:26:04 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Mon, 1 Jul 2019 11:25:25 -0700 Message-Id: <20190701182536.20110-20-stephen@networkplumber.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190701182536.20110-1-stephen@networkplumber.org> References: <20190701182536.20110-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 19/30] examples/l3fwd-power: fix spelling errors X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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 found by codespell. Signed-off-by: Stephen Hemminger --- examples/l3fwd-power/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/l3fwd-power/main.c b/examples/l3fwd-power/main.c index 99c1208ce14c..15522b2f6a9e 100644 --- a/examples/l3fwd-power/main.c +++ b/examples/l3fwd-power/main.c @@ -469,7 +469,7 @@ signal_exit_now(int sigtype) rte_exit(EXIT_SUCCESS, "User forced exit\n"); } -/* Freqency scale down timer callback */ +/* Frequency scale down timer callback */ static void power_timer_cb(__attribute__((unused)) struct rte_timer *tim, __attribute__((unused)) void *arg) From patchwork Mon Jul 1 18:25:26 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 55817 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BEA891BB14; Mon, 1 Jul 2019 20:26:26 +0200 (CEST) Received: from mail-pg1-f175.google.com (mail-pg1-f175.google.com [209.85.215.175]) by dpdk.org (Postfix) with ESMTP id C23421B9AF for ; Mon, 1 Jul 2019 20:26:07 +0200 (CEST) Received: by mail-pg1-f175.google.com with SMTP id q4so4938161pgj.8 for ; Mon, 01 Jul 2019 11:26:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ClVXsEKHzENh0v+FWthTjCRl1OrHH/2cikWZZNmBu+A=; b=gD9zC7HrVFYHijUKzvQVtYIjeQjfZClJmMPTQFfH/Ep+t+s0IxkKF7b1TGQBP7S8C2 S1s8XJElpF8FtpaQyAA9AxN2TGxzjphhgUMSkpzhssqBoVp29M5rXrN8V6reQmpO1OPU KEkFO8wsXyEsGmRp2BKfwyf9YobnU597wiuEMCspXkGOtqAq4sSOpXpdGK6GAF+jqcEZ ywZLbmn6AKEzy919n2gDO/9JYaCUrIdnxX8cPIkoyHJkRdCnVEX5wvGRRdRAegctaEW+ WizWzhiASu/C7vEONx16jNZICp95tHaHG255Bsv/hezitKkNA49CzPw4hugnc1QjiOWP JK2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ClVXsEKHzENh0v+FWthTjCRl1OrHH/2cikWZZNmBu+A=; b=hUeN2gjRw8HwklxRfoOyprl7Ii0Nfv65So6PacafGZpgdg8GcR7GwYgB0q+35VKyUL H7o6ae2DHculvCMBBLP2n1LP8d4ZpN7Rs2i2tVF4jVO5lHl6ZfTHAs2FD0AzCKZR0R3k Tws/l8WoEYcyFvjKlvC0yaNB5fHbTV/s5LieQOR9qyHJIPTiy+t4COAU8/16s4Gh7FYK yzZmEm4pCdMnIPfjXIOjXb8kmeAFPIb0Prjfy/eB1mWN9XT1xyn4kv85ExmAzMwQAmg4 AxllsngB0EG8Lf6rmFi8kUN3MwgWVsRybWG1v3biYecJKVCrGYiAfTXWruiVvRtCCQlZ Xuww== X-Gm-Message-State: APjAAAUun9/DyrY4OU5JCsqnklSl/HQXW01o4tp6h0lpEcqCS/Aw5dck uScqN1QjeZIQ1q7v1bxpxYrO/IGLxaQ= X-Google-Smtp-Source: APXvYqxe/uRoeQRUZhzWoNgW0Z1oqeSj0v6KyOpHW9zQzkTmOVw4X5xGgRONXXKy6SYLVQLcB0TXkA== X-Received: by 2002:a17:90a:1aa4:: with SMTP id p33mr711383pjp.27.1562005566727; Mon, 01 Jul 2019 11:26:06 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id 12sm11397340pfi.60.2019.07.01.11.26.05 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 01 Jul 2019 11:26:05 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Mon, 1 Jul 2019 11:25:26 -0700 Message-Id: <20190701182536.20110-21-stephen@networkplumber.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190701182536.20110-1-stephen@networkplumber.org> References: <20190701182536.20110-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 20/30] examples/netmap_compat: fix spelling errors X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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 found by codespell. Signed-off-by: Stephen Hemminger --- examples/netmap_compat/lib/compat_netmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/netmap_compat/lib/compat_netmap.c b/examples/netmap_compat/lib/compat_netmap.c index 10a43794383c..12988410db75 100644 --- a/examples/netmap_compat/lib/compat_netmap.c +++ b/examples/netmap_compat/lib/compat_netmap.c @@ -700,7 +700,7 @@ rte_netmap_init_port(uint16_t portid, const struct rte_netmap_port_conf *conf) if (ret < 0) { RTE_LOG(ERR, USER1, - "Couldn't ot adjust number of descriptors for port %u\n", + "Couldn't adjust number of descriptors for port %u\n", portid); return ret; } From patchwork Mon Jul 1 18:25:27 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 55818 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C4EBD1BB21; Mon, 1 Jul 2019 20:26:27 +0200 (CEST) Received: from mail-pg1-f182.google.com (mail-pg1-f182.google.com [209.85.215.182]) by dpdk.org (Postfix) with ESMTP id CEC521B9F5 for ; Mon, 1 Jul 2019 20:26:08 +0200 (CEST) Received: by mail-pg1-f182.google.com with SMTP id t132so3054466pgb.9 for ; Mon, 01 Jul 2019 11:26:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=qCvZSX9uJHJaOgEhbZ9BMebtmBudFUJlqeJO88bniK0=; b=efQ3qRex0GKE3Pw9WXtsRAmsHbd9bg2JIU0C9IBuTJF2ofDW79M2LHZ8iwElRDv+JK s/n2YlDMuF3CV0hrZP5nuAhAzd3e+o4BafGYFlmj8spJKQN7lG+/GV7NbyXYgRndCNkd Rm/e+MNsQnbjbQCNtDffQZXUKbE3RzaL2aFdhGMeAwIJFl5kzXu3UASaIQXpapjFvGS+ mGS0M5hNKxrGnRKRqdyiKNI6FR5NuOkR7BiHFxvFnGXnkYck5tPcYjIkfY9+MBK+sm0H BCgMdrEw2ovnEWoArcCQYtJg8nQlbd41e8SXT8xxFUBv1eFUJgQjTzbslWXfemaDy4hS liLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=qCvZSX9uJHJaOgEhbZ9BMebtmBudFUJlqeJO88bniK0=; b=RSMtbddrT8fI/sO2pw7RBqUuniLccD8gBKqp7u24V5VPgA6nBosRn1lZrkKVO+WtDx UwY27A6jPIw9511eXNgvg+pP+SByC9GHVf55MEMvaBuor3b4Tjl4SBSE43HLF3xoX7rr tffRKmtMBG/Qw1Tq588uOWUIni8Eih68S24SlZHBnT8r8bvmXQslnOqlQS2wSoZ8En5r kRQo+ss7ymbiOdzLWLBPV76XjRMb3gZWuejcGVldkhn/cP2EBlcEVga+gYGZYevw6Lw+ +bFOn9cJCPonhk3rimy5obYsv5uKdmDNeNBzERT01DIJl8TJm6NoJmXoFmB5e1Wr/y1A mB1g== X-Gm-Message-State: APjAAAVm9B7ca5N7QEXY/oN6n4/UBbNlGdMSRJOhfa/ml5e0Mj90Z/DT LN9Dm0F4s0YgJFLoXaV7QHnzoAf5 X-Google-Smtp-Source: APXvYqygPDO6oh/58jL22u5XdLT2NkrmdRS+ZMRSCBV2ZSczpzhzNZSCWAjyv6b9bb4RKa8yvh2W0w== X-Received: by 2002:a17:90a:246f:: with SMTP id h102mr709647pje.126.1562005567736; Mon, 01 Jul 2019 11:26:07 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id 12sm11397340pfi.60.2019.07.01.11.26.06 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 01 Jul 2019 11:26:06 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Mon, 1 Jul 2019 11:25:27 -0700 Message-Id: <20190701182536.20110-22-stephen@networkplumber.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190701182536.20110-1-stephen@networkplumber.org> References: <20190701182536.20110-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 21/30] examples/packet_ordering: fix spelling errors X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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 found by codespell. Signed-off-by: Stephen Hemminger --- examples/packet_ordering/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/packet_ordering/main.c b/examples/packet_ordering/main.c index ca312029e219..d4827382bfb9 100644 --- a/examples/packet_ordering/main.c +++ b/examples/packet_ordering/main.c @@ -631,7 +631,7 @@ main(int argc, char **argv) if (ret < 0) return -1; - /* Check if we have enought cores */ + /* Check if we have enough cores */ if (rte_lcore_count() < 3) rte_exit(EXIT_FAILURE, "Error, This application needs at " "least 3 logical cores to run:\n" From patchwork Mon Jul 1 18:25:28 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 55819 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C51111BB2E; Mon, 1 Jul 2019 20:26:28 +0200 (CEST) Received: from mail-pg1-f193.google.com (mail-pg1-f193.google.com [209.85.215.193]) by dpdk.org (Postfix) with ESMTP id 3131D1B9F5 for ; Mon, 1 Jul 2019 20:26:10 +0200 (CEST) Received: by mail-pg1-f193.google.com with SMTP id i18so1753747pgl.11 for ; Mon, 01 Jul 2019 11:26:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=nzXvDoH/v7o9YZkSEPVc19Hkgkg7zRWr0IW9Ujne5jk=; b=BWaHg9iabe+d0u7Xe1TLyfJ+Q6QqAmgd5zGAk6HrAe6h1+YplXpPVw9Bn/yAQSPsGQ c5YkL1hmh/5Nl/BjOxqdhL/fxj6dqDy/lpW3JYjIRdv/tVzfOkrKnnfhlrqClbdXYFmg 9nNDOYtOJSZ17rJ/GmnF9cLnzcmAWuOFenr5cLp6RSvFdtIHlQoyHFm8lYMc/M8WEIOA E2fZzSMQm3VkWQ6d/xymf8u7oDmVNKLbXUDAz8Fi6snDBHqmh561n/CyU7bWBN/7nClw /x42NrVuBHNK3Qljwm46LOf8ZZr6Uo13+dPlbBXnFotgWlkNqazb0BMEIHgHGgo6KTTq JorQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=nzXvDoH/v7o9YZkSEPVc19Hkgkg7zRWr0IW9Ujne5jk=; b=lPOmfha4qWUzT42+S/5izdTawxrmc/u2RzPTLC4n6XKAiO1YUSO4MLSG6lzdHtpxRp 4cacb9wEdNeY6X9zUE+CP/CBMacSsd8wOtPGX9M98sQu9/sViGpVA9z4b/z8Z89bwRKp fauUoxPhL+W6ou3GRVw/pQYzq59kNzmI3SdRtg6ZlJikbCWSC+aRIfv1O4cpvdFEy3uS N1CQIe6ksgsrAdvoqEmg+NqjXyq76c+LC0Fbce2in+mN7wbtmhbA/1hROkRDyCDAKRA8 DSMgtSNYNc2TFM2+WW0NtpDPP4wmEK1zm/du/9VBjRgjT2hk5yz53WWgczPNaoHjZaPq I48Q== X-Gm-Message-State: APjAAAX3zBIsSZvwQinkCYvwUKGypQ3q/I/NNdq+9/1YvCnCGZeejeSW nVAKTT7tT+k6sUxxeJ3NSG57C6fxgjw= X-Google-Smtp-Source: APXvYqwNK6FgzRRF6M1O6zPcc1dLFJFH6Bpn58PHw2yxjr/o4LvLC+jdJDWMAnTZV0T/xaMNwusmgg== X-Received: by 2002:a65:404a:: with SMTP id h10mr26799928pgp.262.1562005569052; Mon, 01 Jul 2019 11:26:09 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id 12sm11397340pfi.60.2019.07.01.11.26.07 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 01 Jul 2019 11:26:07 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Mon, 1 Jul 2019 11:25:28 -0700 Message-Id: <20190701182536.20110-23-stephen@networkplumber.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190701182536.20110-1-stephen@networkplumber.org> References: <20190701182536.20110-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 22/30] examples/service_cores: fix spelling errors X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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 found by codespell. Signed-off-by: Stephen Hemminger Signed-off-by: Stephen Hemminger --- examples/service_cores/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/service_cores/main.c b/examples/service_cores/main.c index c7c792810d99..7642127d3a85 100644 --- a/examples/service_cores/main.c +++ b/examples/service_cores/main.c @@ -119,7 +119,7 @@ apply_profile(int profile_id) const uint8_t core_off = 1; if (p->num_cores > rte_lcore_count() + 1) { - printf("insufficent cores to run (%s)", + printf("insufficient cores to run (%s)", p->name); return; } From patchwork Mon Jul 1 18:25:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 55820 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2965B1BB42; Mon, 1 Jul 2019 20:26:30 +0200 (CEST) Received: from mail-pg1-f195.google.com (mail-pg1-f195.google.com [209.85.215.195]) by dpdk.org (Postfix) with ESMTP id 720E41BA30 for ; Mon, 1 Jul 2019 20:26:11 +0200 (CEST) Received: by mail-pg1-f195.google.com with SMTP id i18so1753769pgl.11 for ; Mon, 01 Jul 2019 11:26:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=tDVh7pmTq5X423l2E86Bthao7cN7TOKLg81QiGN1rNo=; b=eG8QUdqB+e8UwoSrKm0tWoHEar+64GrvUJLAoGGzoLNh8zz3ss7XYPwSN50iQNqezW +5R3pcQ4zCijTNTrK7nMlhJ5q8ZBoifp7XWF4NK3HUa2quky1KV+l4WpMTtjYfRlDjzU X9zWdHBuyPRVX3L50SkxDyDqZLmB2lm6kNZlIXbIcOTUYV7EfgWOrvZpK0AoZwUPcQnr 05cssr7q89N6qM+1xQqxuxdrnSbCInjQxy7D6r1k6YlVMDmpHTFtvtTERypZ40Jt519R hR1bvTAruUqmPN0JYc7Hbt1+tdIh3SABxWRoq11zoiewU5y1FhEjLaBhqVq1pDpaspD2 jH7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=tDVh7pmTq5X423l2E86Bthao7cN7TOKLg81QiGN1rNo=; b=cSuNmjv5iBW8n2f3/kHSObIkaJvxp+9fCPTuLMQyiznPUW+BrIbyBGqmtnaTEYj0cl JIFwNrW7VMAGKQK/dKMOcyGlfLx/WcBiYDIxMHumq1dvTqHjgx/Wv15slcVApxEjaTBE mGsT7VtDAp4smV8kVDj1staVdTY8W4FgxRHMKdZGmbPV6J0hmVh30p5fihTspEodMc8H jvWyXOTfTQwHY4W5hsYdTSc7oUbMhc82LICDCddaZiPtl8MxKDwSwLyJEz5dje83qxAQ CVFCfaJonM9EPsWgdjb/HX5vWCbuqDuQ6F0hZlsMrfbD1yhnUNW+Au64Q8rlGv3mwy+t 3tCw== X-Gm-Message-State: APjAAAXzGGZh4yBK7RzYxfpSLm7kJgMGYP/+EbJguIIVtVPyAaA9B6kO X1sUrD6p5yQaXUDL515aKkmbEkKxJa8= X-Google-Smtp-Source: APXvYqw1Cy9p0mVieUHs31hn3gKCylQcybKmGBFrkxBRgfqXpCGQ0pgmH0H348uPT+aXrEnI6c8Pkg== X-Received: by 2002:a63:7358:: with SMTP id d24mr23574325pgn.224.1562005570300; Mon, 01 Jul 2019 11:26:10 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id 12sm11397340pfi.60.2019.07.01.11.26.09 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 01 Jul 2019 11:26:09 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Mon, 1 Jul 2019 11:25:29 -0700 Message-Id: <20190701182536.20110-24-stephen@networkplumber.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190701182536.20110-1-stephen@networkplumber.org> References: <20190701182536.20110-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 23/30] examples/vhost: fix spelling errors X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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 found by codespell. Signed-off-by: Stephen Hemminger --- examples/vhost/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/vhost/main.c b/examples/vhost/main.c index 0961db0803b9..62c33138d2f3 100644 --- a/examples/vhost/main.c +++ b/examples/vhost/main.c @@ -105,7 +105,7 @@ static uint32_t burst_rx_retry_num = BURST_RX_RETRIES; static char *socket_files; static int nb_sockets; -/* empty vmdq configuration structure. Filled in programatically */ +/* empty vmdq configuration structure. Filled in programmatically */ static struct rte_eth_conf vmdq_conf_default = { .rxmode = { .mq_mode = ETH_MQ_RX_VMDQ_ONLY, @@ -1109,7 +1109,7 @@ switch_worker(void *arg __rte_unused) struct vhost_dev *vdev; struct mbuf_table *tx_q; - RTE_LOG(INFO, VHOST_DATA, "Procesing on Core %u started\n", lcore_id); + RTE_LOG(INFO, VHOST_DATA, "Processing on Core %u started\n", lcore_id); tx_q = &lcore_tx_queue[lcore_id]; for (i = 0; i < rte_lcore_count(); i++) { @@ -1153,7 +1153,7 @@ switch_worker(void *arg __rte_unused) /* * Remove a device from the specific data core linked list and from the - * main linked list. Synchonization occurs through the use of the + * main linked list. Synchronization occurs through the use of the * lcore dev_removal_flag. Device is made volatile here to avoid re-ordering * of dev->remove=1 which can cause an infinite loop in the rte_pause loop. */ From patchwork Mon Jul 1 18:25:30 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 55821 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9C0831BB4D; Mon, 1 Jul 2019 20:26:31 +0200 (CEST) Received: from mail-pg1-f176.google.com (mail-pg1-f176.google.com [209.85.215.176]) by dpdk.org (Postfix) with ESMTP id 910201BA30 for ; Mon, 1 Jul 2019 20:26:12 +0200 (CEST) Received: by mail-pg1-f176.google.com with SMTP id f25so6417674pgv.10 for ; Mon, 01 Jul 2019 11:26:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Dcw6p+h0NYGLMnpmmXVJpmIUe+Y7P6L9/UqWPq729eI=; b=ugFD5oSl8IN4KHQHUGPeziFUtxIzfkQpGpO/LHfZ7QK8sWiTRcY1BcEAxrOFFyMSa/ lSyvcn873nshRRCVWtvdJD1P2tDXCv5wUJqCbzKaFxSz8d3aE65l8G910r4FExcUmgRG DXCAS+CU2tCsirMvc2WOyxzdapnbbCHoUf+4zn6TToYL7b2vi/rcZ90sypbguk/O6jGQ BcyvBtudO48K0URyhw6VsUEA1qBIHPGX41L+5CXFC8qRsfEVRXa34LY5sk80N5OkWtyG aVEzKc+fRoDa9UoKlFtFbJF4gW50qYsjg2AqLGhpJTyF2U9tkv6RwgS5IBiBmAUvrbt9 0s4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Dcw6p+h0NYGLMnpmmXVJpmIUe+Y7P6L9/UqWPq729eI=; b=rDp4gATH7dcPu2Hga5Xs6Z3WCTB9SQSOoU9B3t/1WAhqFq5QKtLBGjsSZoc1nQF05S WcO6k9PB9Mp83faCpx0Monmk+TakZtR1/BGr32Bag7aFlbmNwpqKp/3os105LC3YUKtu FxZXpYPzUrfwHEIZbg4MhH+bUuA0SiMHYPufEthx/fVGF6re51KW8zRKdWi8umF+lcF0 2PMjw6vIToaYdYhH/ldGCfYk0gs0jGadrSyM7jLhI86nkgTqzEjem5EgWXxn1drMMcK1 i03/MTcztwtFTTQzgXESmynUOXNLXSLai3V0iFdSqUC/mN4ccOufykdpfZEQNeuEpHnf dP7w== X-Gm-Message-State: APjAAAV3S6BJkfWjqD/kBnmAhYq2KFyTkeYzTUxM4lt5X6G1cWkk5eds f7cC2sU0ST/jxOfxBZgtnjIbKmAtwWw= X-Google-Smtp-Source: APXvYqz8fqgIvTmuyovsoJNWwxs7S3Bjbrxg7fUTAYS5JrdnrDdgqwaenhhxFS8IL5YnVZsVYxu2MA== X-Received: by 2002:a63:1b26:: with SMTP id b38mr26712431pgb.257.1562005571456; Mon, 01 Jul 2019 11:26:11 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id 12sm11397340pfi.60.2019.07.01.11.26.10 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 01 Jul 2019 11:26:10 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Mon, 1 Jul 2019 11:25:30 -0700 Message-Id: <20190701182536.20110-25-stephen@networkplumber.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190701182536.20110-1-stephen@networkplumber.org> References: <20190701182536.20110-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 24/30] examples/vhost_scsi: fix spelling errors X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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 found by codespell. Signed-off-by: Stephen Hemminger Signed-off-by: Stephen Hemminger --- examples/vhost_scsi/scsi.c | 2 +- examples/vhost_scsi/vhost_scsi.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/vhost_scsi/scsi.c b/examples/vhost_scsi/scsi.c index b1529afdccb4..060c3b61bcd2 100644 --- a/examples/vhost_scsi/scsi.c +++ b/examples/vhost_scsi/scsi.c @@ -70,7 +70,7 @@ vhost_bdev_scsi_set_naa_ieee_extended(const char *name, uint8_t *buf) local_value = *(uint64_t *)buf; /* * see spc3r23 7.6.3.6.2, - * NAA IEEE Extended identifer format + * NAA IEEE Extended identiifier format */ local_value &= 0x0fff000000ffffffull; /* NAA 02, and 00 03 47 for IEEE Intel */ diff --git a/examples/vhost_scsi/vhost_scsi.c b/examples/vhost_scsi/vhost_scsi.c index 513af0cca4bc..14385be56ae2 100644 --- a/examples/vhost_scsi/vhost_scsi.c +++ b/examples/vhost_scsi/vhost_scsi.c @@ -191,7 +191,7 @@ vhost_scsi_bdev_construct(const char *bdev_name, const char *bdev_serial, /* use memory as disk storage space */ bdev->data = rte_zmalloc(NULL, blk_cnt * blk_size, 0); if (!bdev->data) { - fprintf(stderr, "no enough reseverd huge memory for disk\n"); + fprintf(stderr, "no enough reserved huge memory for disk\n"); return NULL; } From patchwork Mon Jul 1 18:25:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 55822 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B2A441BB65; Mon, 1 Jul 2019 20:26:32 +0200 (CEST) Received: from mail-pg1-f196.google.com (mail-pg1-f196.google.com [209.85.215.196]) by dpdk.org (Postfix) with ESMTP id ACC061BA5E for ; Mon, 1 Jul 2019 20:26:13 +0200 (CEST) Received: by mail-pg1-f196.google.com with SMTP id p10so6434583pgn.1 for ; Mon, 01 Jul 2019 11:26:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=9ES1q8WNnRhRkUX5731fGLabjNT2NFjPOf80yWC8fSI=; b=yBNugJQCJ8LiwVo06UPl3IIwYvrwHZB8qZnQR7n9JthJZnOLusszq+LEwOXCrQSorT Fa+7AlCvw4JpGSUN2PfkY8Mc+qAe+JI5LoCP2IIZujcRmqKCkaWfVyCPRCCHjHkqzQz3 Irs61/V/m/x804y43X1RBcLEJVFoCSP10FMiNyoJXWhPCzl+DCjNTgEwqYWacCcw9CbO vIsb8SFRK2p/RwyCGBUqJ2NQXkmWrMnv7FGCesa6gUabH1/FHfxA6rjfA58GbOr4kVj6 gimGr1v82JmaOuMtJfbPP9lghfbPzIq5XfbwwUs44nyPU7STKTZHIwaVsAvXZ+z+coWy dnNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=9ES1q8WNnRhRkUX5731fGLabjNT2NFjPOf80yWC8fSI=; b=oDWS20qkIjo8Gc0ErLaTAaqM9+Mg22VfmWIloFDLbRkG8RDZIdOCHKA95SFxMWtXbs KjIe0G9niJaRnpzr39x6C2fW34+Y6m4rNRC6un6gnI/qEbMTPLkmaZOWd57vunDAj+pX ootvb0yTtTtcsm40ix/Zv5KinVaTM5csEIWBbWSmT8djXHoh/Py9W0isgSj+RjD2nBy3 LF9565Y/vXDqr4FvwozFkeKZ0/eT8oNAM/RxtVO7tEWbE8Ear9Dr0vYh8FX1xWTAg7OR s5fQ2rTpAC3OOjA/nWRrBNK2is9899KD0YgzF+UBCeK+FKDRNGWegRuEtuh18zollXh5 Vzvg== X-Gm-Message-State: APjAAAXJjEGG0hsVKsig3iLPND79EjTvV+0T+vrqvbpc1zY04/3lm2g4 c5Kk/Hbt1s5CHOQNbvrt5RMSTnxQ9gk= X-Google-Smtp-Source: APXvYqwGdwVT6SU6iYmBXYeo/mr+4z/0NAYofqwCC77NOde4SDcS4ES6fc6E2ciMDzBr4pbrkTUblw== X-Received: by 2002:a65:5248:: with SMTP id q8mr17306966pgp.259.1562005572621; Mon, 01 Jul 2019 11:26:12 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id 12sm11397340pfi.60.2019.07.01.11.26.11 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 01 Jul 2019 11:26:11 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Mon, 1 Jul 2019 11:25:31 -0700 Message-Id: <20190701182536.20110-26-stephen@networkplumber.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190701182536.20110-1-stephen@networkplumber.org> References: <20190701182536.20110-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 25/30] examples/tep_termination: fix spelling errors X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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 found by codespell. Signed-off-by: Stephen Hemminger --- examples/tep_termination/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/tep_termination/main.c b/examples/tep_termination/main.c index 9d8ab17ddc86..57e65a8822ca 100644 --- a/examples/tep_termination/main.c +++ b/examples/tep_termination/main.c @@ -596,7 +596,7 @@ switch_worker(__rte_unused void *arg) uint16_t tx_count; uint32_t retry = 0; - RTE_LOG(INFO, VHOST_DATA, "Procesing on Core %u started\n", lcore_id); + RTE_LOG(INFO, VHOST_DATA, "Processing on Core %u started\n", lcore_id); lcore_ll = lcore_info[lcore_id].lcore_ll; prev_tsc = 0; @@ -872,7 +872,7 @@ init_data_ll(void) /** * Remove a device from the specific data core linked list and - * from the main linked list. Synchonization occurs through the use + * from the main linked list. Synchronization occurs through the use * of the lcore dev_removal_flag. */ static void @@ -1150,7 +1150,7 @@ main(int argc, char *argv[]) if (rte_lcore_is_enabled(lcore_id)) lcore_ids[core_id++] = lcore_id; - /* set the number of swithcing cores available */ + /* set the number of switching cores available */ nb_switching_cores = rte_lcore_count()-1; /* Get the number of physical ports. */ From patchwork Mon Jul 1 18:25:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 55823 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E13441BB74; Mon, 1 Jul 2019 20:26:33 +0200 (CEST) Received: from mail-pg1-f196.google.com (mail-pg1-f196.google.com [209.85.215.196]) by dpdk.org (Postfix) with ESMTP id D7D121B9DB for ; Mon, 1 Jul 2019 20:26:14 +0200 (CEST) Received: by mail-pg1-f196.google.com with SMTP id f25so6417712pgv.10 for ; Mon, 01 Jul 2019 11:26:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=US+h/rX9AdoJX56ZrsLRTdyQrIBTMAuwXnKmnEZaFDk=; b=ZcR9wKIKdgjl9CDcoF3SoXBUOOHY4fhCkJ33vITlzLFJFHNR+XvymHF2sCTDEmG3/v iDPgIjWFPWbJopa9SqY2d2C5gActFIKENW5axHU6BUT+nK5czvIL9/MHWNOOHDLiF8Ww MmZKFYal7wRNyLf5KResLKqPKjzsBP7QDGgQCcEdtqSPJqlRMbkd0sLAHjsn65ZUcSrd aLY/42TsvHKQEn6iZ8tQUwY7omKOttwapBJk4Eo0JEl9Xx4/zpA82EOGv6/EhmZO1Tia ZlqPMwQ8hB0OWKqdspgnrZQJLpfbJ1aPgkiYLh9hd7w0GScFS5iF7o19xtwcxXsBFaAl W5Nw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=US+h/rX9AdoJX56ZrsLRTdyQrIBTMAuwXnKmnEZaFDk=; b=KVSXtraZC1p4PnskpjCn/RJ2npkKozy6BUbYw5L5hTNfUdU+8rGxW2rppO+Mg8cr8G KjjbIMoELJSq+agTCKvh6smvaOPlXtJVr2iu6YrpLwECYtcUfEYmnqelwIXZXc/LrhlG ZD5oj7e54PC96lsGxTE2r4IzcWeU21XZRPy0MiF7fjSSDDofeEOiOThPfc8XrChjhBVM cw4K4SDP10g+31ky+Ts1NVRnxMCyPHlqhNR4Hm5KjqDmmdGNGCbli22ARoVI1ZytbWt3 FYdjkxi5UMZFfuOBjFVbVZmd4uUkg22GPXceqNHd1MPhFsUnWWX/9id5VmoVZZ51RPQI 5Pxw== X-Gm-Message-State: APjAAAU+CQVQBckDB1Fe0yvHwECO6pfxmcpPSg+gPl5NNVrqsXUXk/L0 j7wxbkHzy9t5lJyVphaSC0CazntSeyY= X-Google-Smtp-Source: APXvYqwPZEPHi0d+0CYzwqmCWPof0y1bK4nNHGdlWewcYTzcldB3nFMXew7kOVilw/nW7o0ibMiOmw== X-Received: by 2002:a63:7f07:: with SMTP id a7mr25594768pgd.26.1562005573707; Mon, 01 Jul 2019 11:26:13 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id 12sm11397340pfi.60.2019.07.01.11.26.12 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 01 Jul 2019 11:26:12 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Mon, 1 Jul 2019 11:25:32 -0700 Message-Id: <20190701182536.20110-27-stephen@networkplumber.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190701182536.20110-1-stephen@networkplumber.org> References: <20190701182536.20110-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 26/30] examples/vm_power_manager: fix spelling errors X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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 found by codespell. Signed-off-by: Stephen Hemminger --- examples/vm_power_manager/channel_monitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/vm_power_manager/channel_monitor.c b/examples/vm_power_manager/channel_monitor.c index aab19ba57112..5d85ee1c6f36 100644 --- a/examples/vm_power_manager/channel_monitor.c +++ b/examples/vm_power_manager/channel_monitor.c @@ -368,7 +368,7 @@ get_pcpu_to_control(struct policy *pol) /* * So now that we're handling virtual and physical cores, we need to - * differenciate between them when adding them to the branch monitor. + * differentiate between them when adding them to the branch monitor. * Virtual cores need to be converted to physical cores. */ if (pol->pkt.core_type == CORE_TYPE_VIRTUAL) { From patchwork Mon Jul 1 18:25:33 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 55824 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E8F281BB7D; Mon, 1 Jul 2019 20:26:34 +0200 (CEST) Received: from mail-pf1-f193.google.com (mail-pf1-f193.google.com [209.85.210.193]) by dpdk.org (Postfix) with ESMTP id 1A2571B9DB for ; Mon, 1 Jul 2019 20:26:16 +0200 (CEST) Received: by mail-pf1-f193.google.com with SMTP id p184so6965992pfp.7 for ; Mon, 01 Jul 2019 11:26:16 -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=mN5EmJ+oM1+acV1fNevcfF8DIlRrmCNLtR6yG35PqYM=; b=et0B2RLlm6/hHNkkO28OxCGMLlH67vHmFEBYjPkeOAEc91chJXpJMpMeI+nJERX1PE QOZtLg7Yj8oapkP0HDbxNUm3Pc7Ggl6Y0d3+gFgCejGPeI+f3dO58P9ZdZsjb2xbb1Td Nm5ADm1eo/c6ocp+EnnCuSJplc48i4IX+5JJUHBBbZr1DMqzU+ll63znkLMmzlLvzpJH xPw0s4VjYxSy9lGD9Swdx1XFvNE0uoCzFGs29sAQPKcC3zRXn/4Y2O99x0+f5MhT3MgH VTuS/VAkGPabTM9+IGrInUUD5g5MEZ1VizJ8OIW7IwLn18GEDgW/j6DSHsrW9ITH1YIp 7f0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=mN5EmJ+oM1+acV1fNevcfF8DIlRrmCNLtR6yG35PqYM=; b=g6xU8XlEpzR11ycUty8HOCWNp1lGLU6emNHDhWUziJ2Qbr6ZbbTlgaqirrF2t2XuAE qUCQk7vZb3WAtRM6lfEcY19e1+/V05xnAnkvMYr90nOHqesSGTNFuLK3fogfh5kefw1S c/H8rlGEVTIwKl5oAeSxjC+6ezsmIF+Jhl5YcBcrfJ6oXWjtlqjzmlJwjUQGOSksg95s +i9O3qO8+J3eQbnOt5s5DbhGyzS0rR38YYck7bzVoI8CO9nXJGlqRQkZuzdvG9/bVKce rkzrf4ReGH62WCXL/CyfS3qt6poeza1BSh9lEkh8rAf9JzHphdf0GYTEMjbJCATP00bu P+3w== X-Gm-Message-State: APjAAAUvSu2VtyNLRxN7wCOmGuBM6grH/0yI2ZGiYiWH/SPSjHXGlrRr YdCaKIrlBU72iLeoYBzBNd2kkU5Ffvo= X-Google-Smtp-Source: APXvYqzhE4Vgs+LZrN08tA7lo3CYOzHN9GdfwpEKf5lp4X8yVsnZehXSAOGjdGQRFMTViqwNxVIU9g== X-Received: by 2002:a17:90a:9b88:: with SMTP id g8mr736354pjp.100.1562005575037; Mon, 01 Jul 2019 11:26:15 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id 12sm11397340pfi.60.2019.07.01.11.26.13 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 01 Jul 2019 11:26:14 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Mon, 1 Jul 2019 11:25:33 -0700 Message-Id: <20190701182536.20110-28-stephen@networkplumber.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190701182536.20110-1-stephen@networkplumber.org> References: <20190701182536.20110-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 27/30] test-pmd: fix spelling errors X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" Multiple spelling problems found by codespell. Signed-off-by: Stephen Hemminger --- app/test-pmd/cmdline.c | 11 ++++++----- app/test-pmd/config.c | 4 ++-- app/test-pmd/csumonly.c | 2 +- app/test-pmd/softnicfwd.c | 2 +- 4 files changed, 10 insertions(+), 9 deletions(-) diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c index d1e0d4402c94..85db61e0033c 100644 --- a/app/test-pmd/cmdline.c +++ b/app/test-pmd/cmdline.c @@ -100,7 +100,7 @@ static void cmd_help_brief_parsed(__attribute__((unused)) void *parsed_result, " help ports : Configuring ports.\n" " help registers : Reading and setting port registers.\n" " help filters : Filters configuration help.\n" - " help traffic_management : Traffic Management commmands.\n" + " help traffic_management : Traffic Management commands.\n" " help all : All of the above sections.\n\n" ); @@ -3503,7 +3503,7 @@ parse_item_list(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++) { @@ -5010,7 +5010,7 @@ cmd_gso_size_parsed(void *parsed_result, if (test_done == 0) { printf("Before setting GSO segsz, please first" - " stop fowarding\n"); + " stop forwarding\n"); return; } @@ -6942,7 +6942,7 @@ cmd_link_flow_ctrl_set_parsed(void *parsed_result, ret = rte_eth_dev_flow_ctrl_set(res->port_id, &fc_conf); if (ret != 0) - printf("bad flow contrl parameter, return code = %d \n", ret); + printf("bad flow control parameter, return code = %d\n", ret); } /* *** SETUP ETHERNET PRIORITY FLOW CONTROL *** */ @@ -6990,7 +6990,8 @@ cmd_priority_flow_ctrl_set_parsed(void *parsed_result, ret = rte_eth_dev_priority_flow_ctrl_set(res->port_id, &pfc_conf); if (ret != 0) - printf("bad priority flow contrl parameter, return code = %d \n", ret); + printf("bad priority flow control parameter, return code = %d\n", + ret); } cmdline_parse_token_string_t cmd_pfc_set_set = diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c index ab458c8d2837..5ab71d1eaf45 100644 --- a/app/test-pmd/config.c +++ b/app/test-pmd/config.c @@ -1745,7 +1745,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 @@ -3492,7 +3492,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/csumonly.c b/app/test-pmd/csumonly.c index e1cb7fb708b7..1ec2d8f62712 100644 --- a/app/test-pmd/csumonly.c +++ b/app/test-pmd/csumonly.c @@ -685,7 +685,7 @@ pkt_copy_split(const struct rte_mbuf *pkt) * * The testpmd command line for this forward engine sets the flags * TESTPMD_TX_OFFLOAD_* in ports[tx_port].tx_ol_flags. They control - * wether a checksum must be calculated in software or in hardware. The + * whether a checksum must be calculated in software or in hardware. The * IP, UDP, TCP and SCTP flags always concern the inner layer. The * OUTER_IP is only useful for tunnel packets. */ diff --git a/app/test-pmd/softnicfwd.c b/app/test-pmd/softnicfwd.c index 94e6669d3852..1890ab96938b 100644 --- a/app/test-pmd/softnicfwd.c +++ b/app/test-pmd/softnicfwd.c @@ -277,7 +277,7 @@ softport_tm_subport_node_add(portid_t port_id, snp.nonleaf.n_sp_priorities = 1; snp.stats_mask = STATS_MASK_DEFAULT; - /* Add Node to TM Hiearchy */ + /* Add Node to TM Hierarchy */ if (rte_tm_node_add(port_id, h->subport_node_id[i], subport_parent_node_id, From patchwork Mon Jul 1 18:25:34 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 55825 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1F4F91BB83; Mon, 1 Jul 2019 20:26:36 +0200 (CEST) Received: from mail-pg1-f196.google.com (mail-pg1-f196.google.com [209.85.215.196]) by dpdk.org (Postfix) with ESMTP id 9A0F21BA8E for ; Mon, 1 Jul 2019 20:26:17 +0200 (CEST) Received: by mail-pg1-f196.google.com with SMTP id t132so3054624pgb.9 for ; Mon, 01 Jul 2019 11:26:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=p9KNdz/vrJGH7snBxo9TVjqwOzeaGRTGB+YbtaxvFpU=; b=J5i4rR9H9t6PZi2zKpI5JEkN/N8w5dny9bIWUfz6u5e1vpLxRUKOzTmEPk1+S9nu8L 4VYvOT71NYBdu1vvKxIffAOiY6nQSjJ16fXvh4j7XYACGOY/pQJOJ/UfB2582pjisWYI PSCB0xczKJbkG5GYY6e0G+VuPGCH3/D4sigrPm+4zrC9NnRwrtsMdqyZLI/FwgiKzajb KdHtCTNdQXX+BoXCD23J98352Q0eOsBRfNqXd5imdnbXk5Ge5eooP2vnc0tyGJ3y4Ysm A3auW9XCB9mBEPqtNbR4G8KvfsyyelVoYt31zv8RAUxXMnG3R83JS45xSWpb6CrlUT0z pAiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=p9KNdz/vrJGH7snBxo9TVjqwOzeaGRTGB+YbtaxvFpU=; b=W7LdaYmtaMsTK8UtmuHRfRsnCmRyJEiI3PXXFw7GqLdxyTKgtct0eqJvebBy7DqV01 kZdP0Si5RZzdqcTfqaT9kwUHen/zQxXr23aLld6W26UoWFXWPzT01hdbwiRnnqciloqO KgtHcT3DNmApy7NTtKYz2bbWFz25xAAwqpQxkZnuD0EKDJd3craW0ypB7FROhuOxMBOm Kzc/ZnX9EzRtPBe1VyK0qAq4xUXOkmkhwyHBZvrSpOvlSLPzCNz8IGV8Ke5o+39Cbbxy 4o7Rlfv7LLEdGX4F3/pCOk+WyxfKFXOzyHrylMwUqRcfULzow/4ZpesWT3EkmiAGvxaA LZeQ== X-Gm-Message-State: APjAAAVwouUcQYkT0onFaAc6/JPE9iYtgRRHgZJNsYxMqqOU2Xele7mE dywOkInMAhM79uXfu4yi8s4GNkHrTnI= X-Google-Smtp-Source: APXvYqzZYAxsFfRQRL3XiBBoKeJIN8uOzwo8Wo7rzVMqKr370IP7UnrH451WC94hTDp0yP+2jGyOlQ== X-Received: by 2002:a63:1f47:: with SMTP id q7mr6623323pgm.264.1562005576493; Mon, 01 Jul 2019 11:26:16 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id 12sm11397340pfi.60.2019.07.01.11.26.15 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 01 Jul 2019 11:26:15 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Mon, 1 Jul 2019 11:25:34 -0700 Message-Id: <20190701182536.20110-29-stephen@networkplumber.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190701182536.20110-1-stephen@networkplumber.org> References: <20190701182536.20110-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 28/30] test: fix multiple spelling errors X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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 found by codespell. Signed-off-by: Stephen Hemminger --- app/test/test_barrier.c | 2 +- app/test/test_func_reentrancy.c | 6 +++--- app/test/test_ipsec.c | 2 +- app/test/test_kni.c | 2 +- app/test/test_link_bonding.c | 2 +- app/test/test_lpm.c | 6 +++--- app/test/test_lpm6.c | 14 +++++++------- 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_ring.c | 2 +- app/test/test_rwlock.c | 2 +- 14 files changed, 26 insertions(+), 26 deletions(-) diff --git a/app/test/test_barrier.c b/app/test/test_barrier.c index 43b5f6232c6d..1ef2b6e45228 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_func_reentrancy.c b/app/test/test_func_reentrancy.c index 99ad902a2488..4767c0cfad9a 100644 --- a/app/test/test_func_reentrancy.c +++ b/app/test/test_func_reentrancy.c @@ -242,7 +242,7 @@ hash_create_free(__attribute__((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(__attribute__((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(__attribute__((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 83f789508fe5..f3792c2ade23 100644 --- a/app/test/test_ipsec.c +++ b/app/test/test_ipsec.c @@ -650,7 +650,7 @@ create_crypto_session(struct ipsec_unitest_params *ut, if (s == NULL) return -ENOMEM; - /* initiliaze SA crypto session for device */ + /* initialaze 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_kni.c b/app/test/test_kni.c index 7a65de179b17..6ea8df675e6b 100644 --- a/app/test/test_kni.c +++ b/app/test/test_kni.c @@ -556,7 +556,7 @@ test_kni(void) } closedir(dir); - /* Initialize KNI subsytem */ + /* Initialize KNI subsystem */ rte_kni_init(KNI_TEST_MAX_PORTS); if (test_kni_allocate_lcores() < 0) { diff --git a/app/test/test_link_bonding.c b/app/test/test_link_bonding.c index 938fafca3a95..754dede86e27 100644 --- a/app/test/test_link_bonding.c +++ b/app/test/test_link_bonding.c @@ -2920,7 +2920,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 e969fe05100c..88a12fba3454 100644 --- a/app/test/test_lpm.c +++ b/app/test/test_lpm.c @@ -173,7 +173,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); @@ -211,7 +211,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); @@ -249,7 +249,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 670aadb40eb3..1b788386a083 100644 --- a/app/test/test_lpm6.c +++ b/app/test/test_lpm6.c @@ -262,7 +262,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); @@ -300,7 +300,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); @@ -338,7 +338,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); @@ -376,7 +376,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); @@ -414,7 +414,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); @@ -434,7 +434,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) @@ -1739,7 +1739,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_mbuf.c b/app/test/test_mbuf.c index 2a97afe2044a..b81ebe346b55 100644 --- a/app/test/test_mbuf.c +++ b/app/test/test_mbuf.c @@ -803,7 +803,7 @@ test_refcnt_mbuf(void) tref += refcnt_lcore[slave]; if (tref != refcnt_lcore[master]) - rte_panic("refernced mbufs: %u, freed mbufs: %u\n", + rte_panic("referenced mbufs: %u, freed mbufs: %u\n", tref, refcnt_lcore[master]); rte_mempool_dump(stdout, refcnt_pool); diff --git a/app/test/test_mempool.c b/app/test/test_mempool.c index 7738c73dbe72..b45b627b3fb2 100644 --- a/app/test/test_mempool.c +++ b/app/test/test_mempool.c @@ -561,7 +561,7 @@ test_mempool(void) if (test_mempool_basic_ex(mp_nocache) < 0) goto 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; diff --git a/app/test/test_mempool_perf.c b/app/test/test_mempool_perf.c index 4c877834e7b8..2586c69a8ec4 100644 --- a/app/test/test_mempool_perf.c +++ b/app/test/test_mempool_perf.c @@ -89,7 +89,7 @@ static rte_atomic32_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 4f9fc0d876f7..2b33bdd7f5ad 100644 --- a/app/test/test_pmd_perf.c +++ b/app/test/test_pmd_perf.c @@ -744,7 +744,7 @@ test_pmd_perf(void) "rte_eth_dev_start: err=%d, port=%d\n", ret, portid); - /* always eanble promiscuous */ + /* always enable promiscuous */ rte_eth_promiscuous_enable(portid); lcore_conf[slave_id].portlist[num++] = portid; diff --git a/app/test/test_ring.c b/app/test/test_ring.c index aaf1e70ad841..7f60857dc7e4 100644 --- a/app/test/test_ring.c +++ b/app/test/test_ring.c @@ -655,7 +655,7 @@ test_lookup_null(void) struct rte_ring *rlp = rte_ring_lookup("ring_not_found"); if (rlp ==NULL) if (rte_errno != ENOENT){ - printf( "test failed to returnn error on null pointer\n"); + printf("test failed to return error on null pointer\n"); return -1; } return 0; diff --git a/app/test/test_rwlock.c b/app/test/test_rwlock.c index 40f91759c269..2f4ff1d27462 100644 --- a/app/test/test_rwlock.c +++ b/app/test/test_rwlock.c @@ -461,7 +461,7 @@ try_rwlock_test_rda(void) { try_test_reset(); - /* start read test on all avaialble lcores */ + /* start read test on all available lcores */ rte_eal_mp_remote_launch(try_read_lcore, NULL, CALL_MASTER); rte_eal_mp_wait_lcore(); From patchwork Mon Jul 1 18:25:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 55826 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B07031BBB4; Mon, 1 Jul 2019 20:26:37 +0200 (CEST) Received: from mail-pl1-f173.google.com (mail-pl1-f173.google.com [209.85.214.173]) by dpdk.org (Postfix) with ESMTP id 9CB3F1BA9E for ; Mon, 1 Jul 2019 20:26:18 +0200 (CEST) Received: by mail-pl1-f173.google.com with SMTP id c14so7783536plo.0 for ; Mon, 01 Jul 2019 11:26:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=87+yqh0iv7hNmor/KyjcjbZB0Lhe622v72whFE2bVjw=; b=Q+4yJ9NyGbfK6HfaqdPgL2AtNvtq0twnQe8Ke6v0Ys/VvzzF3F+VUfMrYsLw4KhY4l 2XtWQFvN7wrXyNO4hcAZ4n4iLtgF635N6UzpZkbLEGTNu+EMh4hQFhyd/L9tvjTEQWPf HdGyrN4JRi8mOeq4E5obNTQOetZLoZEFe6a2IMTcAzWW5DCj/m7cxhPj8Vv7rsiVIGlH oi0MXXjNcgU8NXdCTY9dr2FtrYa8j+XZftBAlyqc9tAkRjjfKb+LSlXVxzQSyieDchMy p8Np01hP+U5uJjwH8DX6Z8D97CSXNNV78NniZTHlgX6+7pdZC7p0jC7XjNa25dnGLNdm W7Xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=87+yqh0iv7hNmor/KyjcjbZB0Lhe622v72whFE2bVjw=; b=TTVM+4c6AjOP3nD6gQi8moRq7swH52lXLC/eHNrxH+sjQL/WC6kPX+KcnHMnNWZ9MI Ye6/6bnyq60Bn7obmg98GpoxPM4AMtKI2vjbzVUGFMMNacmQF9/lZvd9YdA1Sed8yRgg ZeKPwj5c5ObmQDKDVuykaI2HFYayzAuMCBLiKIRopBv27qkJE3kXMEgEzqD8Ct7tmxHA wzXxtcSL9hRVeRwQJExQ6DENw8VVnypyzfpWGRSiu1GuVDUC35dMNPeVq33QHMslSiC4 62Dn7XNhU4cGHwbsIHjM/upXtVGRpqi8FC0xFJ19Py4X10XbMlFyicDS7j/CgJVPSVFN nk8w== X-Gm-Message-State: APjAAAWm/vuvg003R7Pc/bDZtoI6HjaKZRbe2Lsi/MS+j5Lz548H/efF 41ZvVxFN2JBWrWHgKOchQGteG0F3Wwo= X-Google-Smtp-Source: APXvYqx2mCal6RDtTVs+QlgnqS89VXz809/9/4mOFNT3SoRS6p7jyJPrzNVWM1NFYFc+EXmyu/BZUw== X-Received: by 2002:a17:902:8f81:: with SMTP id z1mr29801260plo.290.1562005577613; Mon, 01 Jul 2019 11:26:17 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id 12sm11397340pfi.60.2019.07.01.11.26.16 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 01 Jul 2019 11:26:16 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Mon, 1 Jul 2019 11:25:35 -0700 Message-Id: <20190701182536.20110-30-stephen@networkplumber.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190701182536.20110-1-stephen@networkplumber.org> References: <20190701182536.20110-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 29/30] proc-info: fix spelling error X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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 found by codespell. Signed-off-by: Stephen Hemminger --- app/proc-info/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/proc-info/main.c b/app/proc-info/main.c index a89b51bb3fa2..cc7f69a50b8c 100644 --- a/app/proc-info/main.c +++ b/app/proc-info/main.c @@ -714,7 +714,7 @@ show_port(void) } } - printf(" - cyrpto context\n"); + printf(" - crypto context\n"); void *p_ctx = rte_eth_dev_get_sec_ctx(i); printf("\t -- security context - %p\n", p_ctx); From patchwork Mon Jul 1 18:25:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 55827 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DBD3B1BBD3; Mon, 1 Jul 2019 20:26:38 +0200 (CEST) Received: from mail-pl1-f177.google.com (mail-pl1-f177.google.com [209.85.214.177]) by dpdk.org (Postfix) with ESMTP id B5B431BAB5 for ; Mon, 1 Jul 2019 20:26:19 +0200 (CEST) Received: by mail-pl1-f177.google.com with SMTP id w24so7767646plp.2 for ; Mon, 01 Jul 2019 11:26:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=/tSTvmnODwWjb+OiRpRgFvZiJy0/UAV5Q5Mx+7JszFM=; b=s0bbdaf9S6ImbrPCpHX+212yMEqo3rZXWxa4BweGIV7jiQRbho1BdyIoLhTAkg9asF hWaGCpqw2QRxMsAIKF838+iNkurW/VXt9LK6zeoGv3xvhgiQJu1L8az3lv7g/J1KF3dm fAvo1KZ713tHXcX9vOFYjWxhVC+97bSznOVre4xPwphz0mrELNNV1NaFqdhx5fCgUdXq pJljT9oxWA+DBFDVqEVO/98M33bzdm+fHhpAPUXNOiqvJKMMsGXu4Kc71zBcQQMF1U+9 UYNkQPrXhwSDz6rvdP5agRizJYqNRLHjdoeVJYwy/nIrgE65RcXbNx2K+eCGdJI+Fphz 11mA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=/tSTvmnODwWjb+OiRpRgFvZiJy0/UAV5Q5Mx+7JszFM=; b=iz4SD6odbjHMq+VU+rY4vjIkmFHfBYm6TD9Xfgtp27RrbtVlbFnqV8WOGrJY9klOcu XffKDaT6D0cCPPIJRT/xH96s/a90+PFRUdm4Fpp4mKHisOkH/HAYRWQzMGZOVzubERoz Brz/dEW6/KIy7zzV7QQfhxltAaL5o3yOakgknv57PoW7v0b0/BRpKOvvUxcE2qYARXEP lnOe4pfc80NVkwKoxfIMV2HSymduowlQkGsZCVX9VVqVpfK8nHZXEFgjuHsDSfjH5+QG TAMEuWhLwVII3axTCXAMk7TdiAMGTTNkuEqAUMxaeCSaJ/w/k7kNjx9OJiJ7kmoap4ew 4sHQ== X-Gm-Message-State: APjAAAWG3JRE92unC/uVRmSLtcUSZHcVS9jfgdxrjz3fA6MjZle9v7gv 2KK0im5awsqZcBQroRGgD0zOsWFGXIE= X-Google-Smtp-Source: APXvYqzlHyQvK+LJyIIsDwun3APx6tD1zKvGTqCCN91Jj9WxWHw15hlShpL33qLx88DSfXTUzl5wYw== X-Received: by 2002:a17:902:2a6b:: with SMTP id i98mr28811596plb.75.1562005578732; Mon, 01 Jul 2019 11:26:18 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id 12sm11397340pfi.60.2019.07.01.11.26.17 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 01 Jul 2019 11:26:17 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Mon, 1 Jul 2019 11:25:36 -0700 Message-Id: <20190701182536.20110-31-stephen@networkplumber.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190701182536.20110-1-stephen@networkplumber.org> References: <20190701182536.20110-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 30/30] test-compress-perf: fix spelling errors X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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 found by codespell. Signed-off-by: Stephen Hemminger --- app/test-compress-perf/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/test-compress-perf/main.c b/app/test-compress-perf/main.c index c2a45d130145..0081ff38b076 100644 --- a/app/test-compress-perf/main.c +++ b/app/test-compress-perf/main.c @@ -68,7 +68,7 @@ comp_perf_check_capabilities(struct comp_test_data *test_data) uint64_t comp_flags = cap->comp_feature_flags; - /* Huffman enconding */ + /* Huffman encoding */ if (test_data->huffman_enc == RTE_COMP_HUFFMAN_FIXED && (comp_flags & RTE_COMP_FF_HUFFMAN_FIXED) == 0) { RTE_LOG(ERR, USER1, @@ -124,7 +124,7 @@ find_buf_size(uint32_t input_size) * power of 2 but also should be enough to store incompressible data */ - /* We're looking for nearest power of 2 buffer size, which is greather + /* We're looking for nearest power of 2 buffer size, which is greater * than input_size */ uint32_t size =