From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 3D93C2C37 for ; Wed, 4 Jan 2017 13:24:01 +0100 (CET) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga105.fm.intel.com with ESMTP; 04 Jan 2017 04:24:01 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,459,1477983600"; d="scan'208";a="804998109" Received: from dpdk7.bj.intel.com ([172.16.182.76]) by FMSMGA003.fm.intel.com with ESMTP; 04 Jan 2017 04:23:59 -0800 From: Qiming Yang To: dev@dpdk.org Cc: ferruh.yigit@intel.com, helin.zhang@intel.com, remy.horton@intel.com, Qiming Yang Date: Wed, 4 Jan 2017 20:18:15 +0800 Message-Id: <1483532295-15460-1-git-send-email-qiming.yang@intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1482843968-6483-1-git-send-email-qiming.yang@intel.com> References: <1482843968-6483-1-git-send-email-qiming.yang@intel.com> Subject: [dpdk-dev] [PATCH v4] ethtool: dispaly bus information 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: Wed, 04 Jan 2017 12:24:02 -0000 This patch enhances the ethtool example to support to show bus information, in the same way that the Linux kernel ethtool does. Signed-off-by: Qiming Yang Acked-by: Remy Horton --- v4 changes: * split bus info print from patch set ethdev: add firmware version get --- --- examples/ethtool/ethtool-app/ethapp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/ethtool/ethtool-app/ethapp.c b/examples/ethtool/ethtool-app/ethapp.c index 85c31ac..35269ea 100644 --- a/examples/ethtool/ethtool-app/ethapp.c +++ b/examples/ethtool/ethtool-app/ethapp.c @@ -186,6 +186,7 @@ pcmd_drvinfo_callback(__rte_unused void *ptr_params, id_port, info.driver, info.version ); printf("firmware-version: %s\n", info.fw_version); + printf("bus-info: %s\n", info.bus_info); } } -- 2.7.4