From patchwork Sat Jan 31 20:51:54 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 2858 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [IPv6:::1]) by dpdk.org (Postfix) with ESMTP id 0632A5A98; Sat, 31 Jan 2015 21:52:13 +0100 (CET) Received: from mail-wg0-f43.google.com (mail-wg0-f43.google.com [74.125.82.43]) by dpdk.org (Postfix) with ESMTP id 6956D5A85 for ; Sat, 31 Jan 2015 21:52:10 +0100 (CET) Received: by mail-wg0-f43.google.com with SMTP id y19so32436171wgg.2 for ; Sat, 31 Jan 2015 12:52:10 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=E3Rn5nW2bLTwS3wIy+M1kVr26B4gtOBCwGNaMXJ/HA0=; b=aFAY6wgKZPavlWzeDahuwVHSDrStIsoeBdUcOh8mwwgTM+Vt9dmVhHaiUDgc6WwOdm 0nUnoSe+NGJurXAiy8gEFQwmHa+/tqwxn8Tu3Drrz2Ju06RifJiMKO5UVbGWaQrzqNr2 1TD2d66OCglPzv2LFNeGCItxDHVyJCCfirbl4K+WxGRR2Icx6fKzH8lnPdU5eHwM8rAx QQrrlYL8lV8K/aRMK12XY49XC1XJolHGVB8q58G3HDVOd9AwqjfoHC5zoBkxnhLFg8KY +4CN4Z8h8Mv3fsQVotAypuMjBY351Uv2O+4d81GLMxcKZFeuHI0EwHF9yikIsbdMGaaP Oq3A== X-Gm-Message-State: ALoCoQne4H7Nx1GwFrmZkTrRd7yWD7JEa7EPywh9LnXVODVIhzZ9haQI6PDXRARTUlX1P6pFgjgv X-Received: by 10.180.208.79 with SMTP id mc15mr8154864wic.23.1422737530275; Sat, 31 Jan 2015 12:52:10 -0800 (PST) Received: from uryu.home.lan ([212.76.224.242]) by mx.google.com with ESMTPSA id cf12sm20656837wjb.10.2015.01.31.12.52.09 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 31 Jan 2015 12:52:09 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Date: Sat, 31 Jan 2015 20:51:54 +0000 Message-Id: <1422737522-16481-2-git-send-email-stephen@networkplumber.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1422737522-16481-1-git-send-email-stephen@networkplumber.org> References: <1422737522-16481-1-git-send-email-stephen@networkplumber.org> Cc: Stephen Hemminger Subject: [dpdk-dev] [PATCH 02/10] bond: fix spelling errors X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" From: Stephen Hemminger Bad spelling in comments found by codespell Signed-off-by: Stephen Hemminger --- lib/librte_pmd_bond/rte_eth_bond_8023ad.c | 2 +- lib/librte_pmd_bond/rte_eth_bond_private.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/librte_pmd_bond/rte_eth_bond_8023ad.c b/lib/librte_pmd_bond/rte_eth_bond_8023ad.c index f1cf81a..dbffc30 100644 --- a/lib/librte_pmd_bond/rte_eth_bond_8023ad.c +++ b/lib/librte_pmd_bond/rte_eth_bond_8023ad.c @@ -896,7 +896,7 @@ bond_mode_8023ad_activate_slave(struct rte_eth_dev *bond_dev, uint8_t slave_id) sizeof(struct rte_pktmbuf_pool_private), rte_pktmbuf_pool_init, NULL, rte_pktmbuf_init, NULL, socket_id, MEMPOOL_F_NO_SPREAD); - /* Any memory allocation failure in initalization is critical because + /* Any memory allocation failure in initialization is critical because * resources can't be free, so reinitialization is impossible. */ if (port->mbuf_pool == NULL) { rte_panic("Slave %u: Failed to create memory pool '%s': %s\n", diff --git a/lib/librte_pmd_bond/rte_eth_bond_private.h b/lib/librte_pmd_bond/rte_eth_bond_private.h index e01e66b..b47c9a6 100644 --- a/lib/librte_pmd_bond/rte_eth_bond_private.h +++ b/lib/librte_pmd_bond/rte_eth_bond_private.h @@ -165,7 +165,7 @@ extern struct eth_dev_ops default_dev_ops; int valid_bonded_ethdev(struct rte_eth_dev *eth_dev); -/* Search given slave array to find possition of given id. +/* Search given slave array to find position of given id. * Return slave pos or slaves_count if not found. */ static inline uint8_t find_slave_by_id(uint8_t *slaves, uint8_t slaves_count, uint8_t slave_id) {