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.