From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pd0-f176.google.com (mail-pd0-f176.google.com [209.85.192.176]) by dpdk.org (Postfix) with ESMTP id C2BCBC456 for ; Sat, 27 Jun 2015 02:01:43 +0200 (CEST) Received: by pdbep18 with SMTP id ep18so61328118pdb.1 for ; Fri, 26 Jun 2015 17:01:43 -0700 (PDT) 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=s3JM7NId4eKRo5+IFt6Oft99CdZNWY4EnvvxHJ3r948=; b=OLCutFMMbh98gXbtUouwHD2MhBZw/l757k3duRHFqbx60F1IRzVYjTUPWWHiqP3hGk ai8Rntf8r1LnAWYH+bh4BI7MDqcK5KJ+d6p/q0PmHOF/VuFEPkhxm8Dlz99Bjf4xunCu hcwEtPncmHyKBVqyWC7t4xqfNTTlGV+SiJVPG7fqaQwY4enmuDzpCSaB2TW0oa+93ETD MotbzLu2nVGXhvrcseYRYfZ+/lOgoecUNALKdZLcPADcT8QUzkzjNICneYKrVJPvj1BZ m3kusVrPpUQLr6RRqO6EL8SO1ByWNzYudOGCLI6pmxYwiPSM3FxrZH8y9K786frltW4T WLdA== X-Gm-Message-State: ALoCoQknvZ5cZ6dzVDap058oxhZhFYXb5FWoi34WRPeP49RFbL/wQy3HnsikOt4vjOc2HqizENta X-Received: by 10.70.91.136 with SMTP id ce8mr8206664pdb.29.1435363303088; Fri, 26 Jun 2015 17:01:43 -0700 (PDT) Received: from urahara.home.lan (static-50-53-82-155.bvtn.or.frontiernet.net. [50.53.82.155]) by mx.google.com with ESMTPSA id de4sm34434549pbb.95.2015.06.26.17.01.42 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 26 Jun 2015 17:01:42 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Date: Fri, 26 Jun 2015 17:01:43 -0700 Message-Id: <1435363305-17819-3-git-send-email-stephen@networkplumber.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1435363305-17819-1-git-send-email-stephen@networkplumber.org> References: <1435363305-17819-1-git-send-email-stephen@networkplumber.org> Cc: Stephen Hemminger Subject: [dpdk-dev] [PATCH 2/4] rte_ethdev: fix comment spelling 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: , X-List-Received-Date: Sat, 27 Jun 2015 00:01:44 -0000 From: Stephen Hemminger Fix trivial spelling errors. Signed-off-by: Stephen Hemminger --- lib/librte_ether/rte_ethdev.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/librte_ether/rte_ethdev.c b/lib/librte_ether/rte_ethdev.c index dec3da7..14a14a5 100644 --- a/lib/librte_ether/rte_ethdev.c +++ b/lib/librte_ether/rte_ethdev.c @@ -91,7 +91,7 @@ } \ } while(0) -/* Macros to check for invlaid function pointers in dev_ops structure */ +/* Macros to check for invalid function pointers in dev_ops structure */ #define FUNC_PTR_OR_ERR_RET(func, retval) do { \ if ((func) == NULL) { \ PMD_DEBUG_TRACE("Function not supported\n"); \ @@ -578,7 +578,7 @@ rte_eth_dev_detach_pdev(uint8_t port_id, struct rte_pci_addr *addr) if (rte_eth_dev_get_addr_by_port(port_id, &freed_addr)) goto err; - /* Zerod pci addr means the port comes from virtual device */ + /* Zeroed pci addr means the port comes from virtual device */ vp.domain = vp.bus = vp.devid = vp.function = 0; if (rte_eal_compare_pci_addr(&vp, &freed_addr) == 0) goto err; @@ -1212,7 +1212,7 @@ rte_eth_dev_configure(uint8_t port_id, uint16_t nb_rx_q, uint16_t nb_tx_q, ETHER_MAX_LEN; } - /* multipe queue mode checking */ + /* multiple queue mode checking */ diag = rte_eth_dev_check_mq_mode(port_id, nb_rx_q, nb_tx_q, dev_conf); if (diag != 0) { PMD_DEBUG_TRACE("port%d rte_eth_dev_check_mq_mode = %d\n", @@ -1292,7 +1292,7 @@ rte_eth_dev_config_restore(uint8_t port_id) else if (rte_eth_promiscuous_get(port_id) == 0) rte_eth_promiscuous_disable(port_id); - /* replay allmulticast configuration */ + /* replay all multicast configuration */ if (rte_eth_allmulticast_get(port_id) == 1) rte_eth_allmulticast_enable(port_id); else if (rte_eth_allmulticast_get(port_id) == 0) @@ -2598,7 +2598,7 @@ rte_eth_dev_udp_tunnel_delete(uint8_t port_id, dev = &rte_eth_devices[port_id]; if (udp_tunnel == NULL) { - PMD_DEBUG_TRACE("Invalid udp_tunnel parametr\n"); + PMD_DEBUG_TRACE("Invalid udp_tunnel parameter\n"); return -EINVAL; } @@ -2700,7 +2700,7 @@ rte_eth_dev_mac_addr_add(uint8_t port_id, struct ether_addr *addr, } else { pool_mask = dev->data->mac_pool_sel[index]; - /* Check if both MAC address and pool is alread there, and do nothing */ + /* Check if both MAC address and pool is already there, and do nothing */ if (pool_mask & (1ULL << pool)) return 0; } -- 2.1.4