From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-f65.google.com (mail-wr1-f65.google.com [209.85.221.65]) by dpdk.org (Postfix) with ESMTP id B580D292D; Mon, 25 Feb 2019 20:21:44 +0100 (CET) Received: by mail-wr1-f65.google.com with SMTP id i16so11198904wrs.13; Mon, 25 Feb 2019 11:21:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=1/tetKvrPTA6rne1fsuEb5rsBXLQW/IVFk21owBSDh8=; b=G4+BEZzp9ON3fQVWS3NQxSPxtNGX4jNiBhvD0m4Kg1GGhMUoOZXT/ldSdDSf5Ad1jB R73MD4lYB1vlsPycP/bFcFQVnW2PWfo3iwrm5oDYeiib+EbhmPAYtV38WyOQtWVFxEkE aqKtxmFZP1xbZtz2xTGDDi2HI83OS/1xjm4pa35+9RnSCjwhbDeQ+oWKVguWSJlEI2Lq +M730+cSrchftQuwbviJm/tZZEGeyT9C3rUU7kGoHCxy65gQxJL+6OBZXCYjfh+WQGl/ sD7kKevaCep77cTbTED6Er4ONXRwvHgrqB959zjnp78jlmGlAfOxyrKrfdi3Ma7agnBy oTqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=1/tetKvrPTA6rne1fsuEb5rsBXLQW/IVFk21owBSDh8=; b=Z51XuQxgZrWgZK80CfS7BU2pMLdeikgujVY+GbtdhGG87vQt7EVF+E6Npd6jLVsg/F BFHdpAKHk3qpgAYq8em5+VT3Fbmu0llk1uxcvnSqgFOQCeiHE0snr82YkalNOhE68fwa qPaocyiRhMHw0bsPVui8AQD1+yZCOQr1UY+PMX57m59UO+5aM9GuglY3XXHtGwEIY+q7 sjZIoPzoDPGevCTM7c3GvgQ18gLMT5NNEeUmFMAtgWGV8AIDctZ+M/BTRyP3QMiyq75c /mM+LS9+L7sj/7yv0Sj36lwO7bTBsQxdCpbVLpn8e5LqPUpMvygHQJtmXY276omfsmix bGgQ== X-Gm-Message-State: AHQUAubJG1gpFrI7A3KpLkYA0S4uHpG1HdQzwzRgL3baewex1RuIQs5/ Vq8ahyS6oFaDr9oH6DBsy/tvBwRZ2pvyCw== X-Google-Smtp-Source: AHgI3Ibiotjgsqw1wnafPw+PKmsBIepmyCb+tCG9Dr/5rVsE22c/twkArDKFomShiJRKuhTgoPAKbQ== X-Received: by 2002:adf:f00b:: with SMTP id j11mr13469902wro.57.1551122504156; Mon, 25 Feb 2019 11:21:44 -0800 (PST) Received: from localhost.localdomain (bzq-79-183-99-218.red.bezeqint.net. [79.183.99.218]) by smtp.gmail.com with ESMTPSA id y5sm20944144wrd.97.2019.02.25.11.21.42 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 25 Feb 2019 11:21:43 -0800 (PST) From: Rami Rosen To: dev@dpdk.org Cc: stable@dpdk.org, remy.horton@intel.com, Rami Rosen Date: Mon, 25 Feb 2019 21:21:37 +0200 Message-Id: <20190225192137.31951-1-ramirose@gmail.com> X-Mailer: git-send-email 2.19.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH] examples/ethtool: fix 2 typos X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Feb 2019 19:21:44 -0000 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 --- examples/ethtool/lib/rte_ethtool.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/ethtool/lib/rte_ethtool.h b/examples/ethtool/lib/rte_ethtool.h index 43adc97a3..31cd5ae4e 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 -- 2.19.2