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 0FE5CA0566; Tue, 10 Mar 2020 17:24:13 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E82DA1BFFF; Tue, 10 Mar 2020 17:24:12 +0100 (CET) Received: from mail-pg1-f194.google.com (mail-pg1-f194.google.com [209.85.215.194]) by dpdk.org (Postfix) with ESMTP id D18FD1BF96 for ; Tue, 10 Mar 2020 17:24:10 +0100 (CET) Received: by mail-pg1-f194.google.com with SMTP id t24so6524590pgj.7 for ; Tue, 10 Mar 2020 09:24: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:mime-version :content-transfer-encoding; bh=yaiLiRWinKAU6SdP4HUWMA8ufvd1WYzdd3pqz7doj/E=; b=Q6QFkdFAqj4/IgFmrzvwEEZ6sHAwatMB9x6qLDxEgP8xCArVoPr1eaK2hfJey/0k/d SFitE6ewbIMF53WEyvBSpxlt9DW5TFkkDMt0s9IW6RVEj0WSuSeeZKuqutZs84rLoFYS TRWsh2y/f/CW7GZFes529tdfQ2EwOAdvi8ZHJYSuz3xSIfuQX4GMcF7qeTDzIiKQI39/ +ijXGkAUI4o+XYr9Cyn9InMP2JRrJ9/Th8eA3rIHjy/lR5mqnh2akEQspmkdLD3Wt4eY 3LGA5L8yyS4bXPxgArBSMVgpwSeRvue/zwWE9+GUu2PvFWENXcn0IXuBfap7clLPLOt5 cwAg== 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:mime-version :content-transfer-encoding; bh=yaiLiRWinKAU6SdP4HUWMA8ufvd1WYzdd3pqz7doj/E=; b=aK5Q17Bwx6cL121TgzgRvmnE4mAKnDY+MGK48QQ68KZf6zuqvEBlFuiWRVwX86EKhY KJ5l/RuiniLz5b4RTgJ2oOFiG44rDFjOqlsGrDARKLMbsHPVIBJQg9tZ1AmvuhZBrHvb 4aRrdXaOe+pM97SDjWW46tJ6ML9+FGkbqlr6qAe9tUKSjngbCV0GgHw4u1/F/hlyqrDO h+aD/TFtJ3N5hLDUfd3T+K9+BhbeBfXiVq5E7F7IfLkcyEIEiw8tHETaSO8PuC9C++tB 2EpDuqr/OcjRSLGBPSMyogAhdk/y1t2GL2W8dugsXPHcRl7PJf/lnQEirGz9/TGpQN4o NIzw== X-Gm-Message-State: ANhLgQ2Cwt+LD1Onkk+EdSL+CODuy4efn7eYsZcDNuVmE/i/EYoWk4TE ulM8/BycKcY0AXhiQSC7kZ4Sa3QSksE= X-Google-Smtp-Source: ADFU+vvFaQFZKSjtUadFk1HdktNqGD40GbthGGOa4/B8Kt1y8Gm1NeeqmjQKKU+w9qtDIS87FoGP7g== X-Received: by 2002:a63:36cd:: with SMTP id d196mr21993271pga.280.1583857449550; Tue, 10 Mar 2020 09:24:09 -0700 (PDT) Received: from hermes.corp.microsoft.com (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id r13sm47704879pgf.1.2020.03.10.09.24.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Mar 2020 09:24:08 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Tue, 10 Mar 2020 09:24:05 -0700 Message-Id: <20200310162405.7615-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH] ethdev: spelling fixes 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 errors found by aspell and codespell Signed-off-by: Stephen Hemminger --- lib/librte_ethdev/rte_ethdev.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/librte_ethdev/rte_ethdev.c b/lib/librte_ethdev/rte_ethdev.c index 774c721b3484..708199c1f447 100644 --- a/lib/librte_ethdev/rte_ethdev.c +++ b/lib/librte_ethdev/rte_ethdev.c @@ -1164,14 +1164,14 @@ check_lro_pkt_size(uint16_t port_id, uint32_t config_size, /* * Validate offloads that are requested through rte_eth_dev_configure against - * the offloads successfuly set by the ethernet device. + * the offloads successfully set by the ethernet device. * * @param port_id * The port identifier of the Ethernet device. * @param req_offloads * The offloads that have been requested through `rte_eth_dev_configure`. * @param set_offloads - * The offloads successfuly set by the ethernet device. + * The offloads successfully set by the ethernet device. * @param offload_type * The offload type i.e. Rx/Tx string. * @param offload_name @@ -1200,7 +1200,7 @@ validate_offloads(uint16_t port_id, uint64_t req_offloads, ret = -EINVAL; } - /* Chech if offload couldn't be disabled. */ + /* Check if offload couldn't be disabled. */ if (offload & set_offloads) { RTE_ETHDEV_LOG(DEBUG, "Port %u %s offload %s is not requested but enabled\n", @@ -3261,7 +3261,7 @@ rte_eth_dev_set_vlan_offload(uint16_t port_id, int offload_mask) orig_offloads = dev->data->dev_conf.rxmode.offloads; dev_offloads = orig_offloads; - /*check which option changed by application*/ + /*check which option changed by application */ cur = !!(offload_mask & ETH_VLAN_STRIP_OFFLOAD); org = !!(dev_offloads & DEV_RX_OFFLOAD_VLAN_STRIP); if (cur != org) { @@ -4452,7 +4452,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; -- 2.20.1