DPDK patches and discussions
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: dev@dpdk.org
Cc: Stephen Hemminger <shemming@brocade.com>
Subject: [dpdk-dev] [PATCH 2/4] rte_ethdev: fix comment spelling
Date: Fri, 26 Jun 2015 17:01:43 -0700	[thread overview]
Message-ID: <1435363305-17819-3-git-send-email-stephen@networkplumber.org> (raw)
In-Reply-To: <1435363305-17819-1-git-send-email-stephen@networkplumber.org>

From: Stephen Hemminger <shemming@brocade.com>

Fix trivial spelling errors.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 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

  parent reply	other threads:[~2015-06-27  0:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-27  0:01 [dpdk-dev] [PATCH 0/4] ethdev: patches Stephen Hemminger
2015-06-27  0:01 ` [dpdk-dev] [PATCH 1/4] rte_ethdev: remove impossible condition Stephen Hemminger
2015-06-27  0:01 ` Stephen Hemminger [this message]
2015-06-27  0:01 ` [dpdk-dev] [PATCH 3/4] rte_ethdev: fix code style Stephen Hemminger
2015-06-27  0:01 ` [dpdk-dev] [PATCH 4/4] rte_ethdev: introduce valid port helper Stephen Hemminger
2015-07-02 10:32 ` [dpdk-dev] [PATCH 0/4] ethdev: patches Thomas Monjalon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1435363305-17819-3-git-send-email-stephen@networkplumber.org \
    --to=stephen@networkplumber.org \
    --cc=dev@dpdk.org \
    --cc=shemming@brocade.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).