examples/ethtool: fix two typos
authorRami Rosen <ramirose@gmail.com>
Mon, 25 Feb 2019 19:21:37 +0000 (21:21 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 5 Mar 2019 10:49:16 +0000 (10:49 +0000)
commitea43e995799aaa7b15914c3e8237e932a854d6b6
treee4b4987f9c1ca428819c25fed2f75cf07072a898
parentf959f1148a7605cfad26bb9a50bd0266011dd929
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>
examples/ethtool/lib/rte_ethtool.h