Spelling errors found by codespell.

Signed-off-by: Stephen Hemminger <step...@networkplumber.org>
---
 examples/ethtool/lib/rte_ethtool.c | 2 +-
 examples/ethtool/lib/rte_ethtool.h | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/examples/ethtool/lib/rte_ethtool.c 
b/examples/ethtool/lib/rte_ethtool.c
index 571c4e5aa52c..ec543055e483 100644
--- a/examples/ethtool/lib/rte_ethtool.c
+++ b/examples/ethtool/lib/rte_ethtool.c
@@ -376,7 +376,7 @@ rte_ethtool_net_set_rx_mode(uint16_t port_id)
        rte_eth_dev_info_get(port_id, &dev_info);
        num_vfs = dev_info.max_vfs;
 
-       /* Set VF vf_rx_mode, VF unsupport status is discard */
+       /* Set VF vf_rx_mode, VF unsupported status is discard */
        for (vf = 0; vf < num_vfs; vf++) {
 #ifdef RTE_LIBRTE_IXGBE_PMD
                rte_pmd_ixgbe_set_vf_rxmode(port_id, vf,
diff --git a/examples/ethtool/lib/rte_ethtool.h 
b/examples/ethtool/lib/rte_ethtool.h
index f17709663644..d27e0102b1ca 100644
--- a/examples/ethtool/lib/rte_ethtool.h
+++ b/examples/ethtool/lib/rte_ethtool.h
@@ -189,7 +189,7 @@ int rte_ethtool_get_module_eeprom(uint16_t port_id,
 
 /**
  * Retrieve the Ethernet device pause frame configuration according to
- * parameter attributes desribed by ethtool data structure,
+ * parameter attributes described by ethtool data structure,
  * ethtool_pauseparam.
  *
  * @param port_id
@@ -209,7 +209,7 @@ int rte_ethtool_get_pauseparam(uint16_t port_id,
 
 /**
  * Setting the Ethernet device pause frame configuration according to
- * parameter attributes desribed by ethtool data structure, ethtool_pauseparam.
+ * parameter attributes described by ethtool data structure, 
ethtool_pauseparam.
  *
  * @param port_id
  *   The port identifier of the Ethernet device.
-- 
2.20.1

Reply via email to