From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 62F72A0487 for ; Mon, 1 Jul 2019 20:29:50 +0200 (CEST) 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 Content-Transfer-Encoding: 8bit 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, -- 2.20.1