summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorRami Rosen <ramirose@gmail.com>2019-02-25 21:21:37 +0200
committerFerruh Yigit <ferruh.yigit@intel.com>2019-03-05 10:49:16 +0000
commitea43e995799aaa7b15914c3e8237e932a854d6b6 (patch)
treee4b4987f9c1ca428819c25fed2f75cf07072a898 /examples
parentf959f1148a7605cfad26bb9a50bd0266011dd929 (diff)
downloaddpdk-next-eventdev-ea43e995799aaa7b15914c3e8237e932a854d6b6.zip
dpdk-next-eventdev-ea43e995799aaa7b15914c3e8237e932a854d6b6.tar.gz
dpdk-next-eventdev-ea43e995799aaa7b15914c3e8237e932a854d6b6.tar.xz
examples/ethtool: fix two typos
This patch fixes 2 typos in examples/ethtool: There is no such thing as ethtool_ops::get_driverinfo It should be get_drvinfo: see include/linux/ethtool.h in the kernel tree. rte_net_change_mtu should be ndo_change_mtu: see include/linux/netdevice.h in the kernel tree. Fixes: bda68ab9d1e7 ("examples/ethtool: add user-space ethtool sample application") Cc: stable@dpdk.org Signed-off-by: Rami Rosen <ramirose@gmail.com> Acked-by: Remy Horton <remy.horton@intel.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/ethtool/lib/rte_ethtool.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/ethtool/lib/rte_ethtool.h b/examples/ethtool/lib/rte_ethtool.h
index 43adc97..31cd5ae 100644
--- a/examples/ethtool/lib/rte_ethtool.h
+++ b/examples/ethtool/lib/rte_ethtool.h
@@ -9,7 +9,7 @@
* This new interface is designed to provide a user-space shim layer for
* Ethtool and Netdevice op API.
*
- * rte_ethtool_get_driver: ethtool_ops::get_driverinfo
+ * rte_ethtool_get_driver: ethtool_ops::get_drvinfo
* rte_ethtool_get_link: ethtool_ops::get_link
* rte_ethtool_get_regs_len: ethtool_ops::get_regs_len
* rte_ethtool_get_regs: ethtool_ops::get_regs
@@ -23,7 +23,7 @@
* rte_ethtool_net_stop: net_device_ops::ndo_stop
* rte_ethtool_net_set_mac_addr: net_device_ops::ndo_set_mac_address
* rte_ethtool_net_validate_addr: net_device_ops::ndo_validate_addr
- * rte_ethtool_net_change_mtu: net_device_ops::rte_net_change_mtu
+ * rte_ethtool_net_change_mtu: net_device_ops::ndo_change_mtu
* rte_ethtool_net_get_stats64: net_device_ops::ndo_get_stats64
* rte_ethtool_net_vlan_rx_add_vid net_device_ops::ndo_vlan_rx_add_vid
* rte_ethtool_net_vlan_rx_kill_vid net_device_ops::ndo_vlan_rx_kill_vid