From patchwork Sat Jan 31 20:51:53 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 2857 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 8C1B41F5; Sat, 31 Jan 2015 21:52:11 +0100 (CET) Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com [209.85.212.181]) by dpdk.org (Postfix) with ESMTP id 571305A85 for ; Sat, 31 Jan 2015 21:52:09 +0100 (CET) Received: by mail-wi0-f181.google.com with SMTP id fb4so8484837wid.2 for ; Sat, 31 Jan 2015 12:52:09 -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; bh=wbyThEJkXG/ggM2ZY0LxHyQqs9xFF9sSo9EppnPNOCU=; b=cJX0pxoi86nx+eWxA5CmisdCGkxw8VPpmaaiUZ65ljhFg1w1dr2iq++uJaOBT7PQXk ay0Zdi6cz66PByFKLWQ5+tHuY5ooP4s/xtAQQ/PwWAlqstnp/EOSrtFimA4w5a6vktfd +JlK16yER3PZ6L/0Hk4L05ATS2iZCORBfUeeRrgx7xfXyBvRirB/2cgAXT2FZyhX/X+a xuGkEGxHVmFRvF6LNj0J6P5NtAx/2pzSDhp7XmFmQXOOFkwu4o6BvUQxpsYSWaz/CUxf GUyYxnJ5GqV4FKQcYIyY1ewi/NMa9tyQHwPS795+fmXrQotzoGgOsW4WkM9ggv6QghY5 Eqlg== X-Gm-Message-State: ALoCoQkv+D1K9HI6C7eMCPIXype/qLw/3q8ChhAU3P9ZENWh+NdOeaicZXVY5beKdMwoRpMBZkm8 X-Received: by 10.180.83.129 with SMTP id q1mr8282800wiy.8.1422737529166; Sat, 31 Jan 2015 12:52:09 -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.07 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 31 Jan 2015 12:52:08 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Date: Sat, 31 Jan 2015 20:51:53 +0000 Message-Id: <1422737522-16481-1-git-send-email-stephen@networkplumber.org> X-Mailer: git-send-email 2.1.4 Cc: Stephen Hemminger Subject: [dpdk-dev] [PATCH 01/10] i40e: spellin fixes 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 Spelling errors found with code spell. Signed-off-by: Stephen Hemminger Acked-by: Neil Horman --- lib/librte_pmd_i40e/i40e_ethdev.c | 8 ++++---- lib/librte_pmd_i40e/i40e_ethdev.h | 2 +- lib/librte_pmd_i40e/i40e_rxtx.c | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/lib/librte_pmd_i40e/i40e_ethdev.c b/lib/librte_pmd_i40e/i40e_ethdev.c index b47a3d2..07efca5 100644 --- a/lib/librte_pmd_i40e/i40e_ethdev.c +++ b/lib/librte_pmd_i40e/i40e_ethdev.c @@ -3810,16 +3810,16 @@ i40e_dev_handle_vfr_event(struct rte_eth_dev *dev) index = abs_vf_id / I40E_UINT32_BIT_SIZE; offset = abs_vf_id % I40E_UINT32_BIT_SIZE; val = I40E_READ_REG(hw, I40E_GLGEN_VFLRSTAT(index)); - /* VFR event occured */ + /* VFR event occurred */ if (val & (0x1 << offset)) { int ret; /* Clear the event first */ I40E_WRITE_REG(hw, I40E_GLGEN_VFLRSTAT(index), (0x1 << offset)); - PMD_DRV_LOG(INFO, "VF %u reset occured", abs_vf_id); + PMD_DRV_LOG(INFO, "VF %u reset occurred", abs_vf_id); /** - * Only notify a VF reset event occured, + * Only notify a VF reset event occurred, * don't trigger another SW reset */ ret = i40e_pf_host_vf_reset(&pf->vfs[i], 0); @@ -5007,7 +5007,7 @@ i40e_pf_config_rss(struct i40e_pf *pf) /* * If both VMDQ and RSS enabled, not all of PF queues are configured. - * It's necessary to calulate the actual PF queues that are configured. + * It's necessary to calculate the actual PF queues that are configured. */ if (pf->dev_data->dev_conf.rxmode.mq_mode & ETH_MQ_RX_VMDQ_FLAG) { num = i40e_pf_calc_configured_queues_num(pf); diff --git a/lib/librte_pmd_i40e/i40e_ethdev.h b/lib/librte_pmd_i40e/i40e_ethdev.h index f913ea9..dc870d2 100644 --- a/lib/librte_pmd_i40e/i40e_ethdev.h +++ b/lib/librte_pmd_i40e/i40e_ethdev.h @@ -273,7 +273,7 @@ enum I40E_VF_STATE { struct i40e_pf_vf { struct i40e_pf *pf; struct i40e_vsi *vsi; - enum I40E_VF_STATE state; /* The number of queue pairs availiable */ + enum I40E_VF_STATE state; /* The number of queue pairs available */ uint16_t vf_idx; /* VF index in pf->vfs */ uint16_t lan_nb_qps; /* Actual queues allocated */ uint16_t reset_cnt; /* Total vf reset times */ diff --git a/lib/librte_pmd_i40e/i40e_rxtx.c b/lib/librte_pmd_i40e/i40e_rxtx.c index 2beae3c..56125cf 100644 --- a/lib/librte_pmd_i40e/i40e_rxtx.c +++ b/lib/librte_pmd_i40e/i40e_rxtx.c @@ -1637,7 +1637,7 @@ i40e_dev_rx_queue_stop(struct rte_eth_dev *dev, uint16_t rx_queue_id) rxq = dev->data->rx_queues[rx_queue_id]; /* - * rx_queue_id is queue id aplication refers to, while + * rx_queue_id is queue id application refers to, while * rxq->reg_idx is the real queue index. */ err = i40e_switch_rx_queue(hw, rxq->reg_idx, FALSE); @@ -1667,7 +1667,7 @@ i40e_dev_tx_queue_start(struct rte_eth_dev *dev, uint16_t tx_queue_id) txq = dev->data->tx_queues[tx_queue_id]; /* - * tx_queue_id is queue id aplication refers to, while + * tx_queue_id is queue id application refers to, while * rxq->reg_idx is the real queue index. */ err = i40e_switch_tx_queue(hw, txq->reg_idx, TRUE); @@ -1690,7 +1690,7 @@ i40e_dev_tx_queue_stop(struct rte_eth_dev *dev, uint16_t tx_queue_id) txq = dev->data->tx_queues[tx_queue_id]; /* - * tx_queue_id is queue id aplication refers to, while + * tx_queue_id is queue id application refers to, while * txq->reg_idx is the real queue index. */ err = i40e_switch_tx_queue(hw, txq->reg_idx, FALSE);