From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 9780A8DAF for ; Thu, 29 Oct 2015 15:14:27 +0100 (CET) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga101.jf.intel.com with ESMTP; 29 Oct 2015 07:14:26 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,214,1444719600"; d="scan'208";a="590353648" Received: from rhorton-mobl.ger.corp.intel.com (HELO localhost.ir.intel.com) ([163.33.229.162]) by FMSMGA003.fm.intel.com with ESMTP; 29 Oct 2015 07:14:25 -0700 From: Remy Horton To: dev@dpdk.org Date: Thu, 29 Oct 2015 14:14:23 +0000 Message-Id: <1446128065-22477-1-git-send-email-remy.horton@intel.com> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1446120696-20185-1-git-send-email-remy.horton@intel.com> Subject: [dpdk-dev] [PATCH v5 0/2] User-space ethtool sample application X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Oct 2015 14:14:28 -0000 Further enhancements to the userspace ethtool implementation that was submitted in 2.1 and packaged as a self-contained sample application. Implements an rte_ethtool shim layer based on rte_ethdev API, along with a command prompt driven demonstration application. This patchset depends on: * http://dpdk.org/dev/patchwork/patch/6563/ * http://dpdk.org/dev/patchwork/patch/8070/ v5: * Documentation changes v4: * Fixed assumption that master core always has id zero * Changed 1:1 core-to-port to 2 core (ethtool & ports) design * Included the correct documentation.. v3: * Made use of enums for core state. * Fixed Makefile issue. * Fixed incorrect assumption with core ids. * Changed handling of more ports than cores. v2: * Replaced l2fwd base with simpler application. * Added ringparam functions. * Added documentation. Remy Horton (2): example: User-space ethtool sample application doc: add user-space ethtool sample app guide doc/guides/sample_app_ug/ethtool.rst | 265 +++++++++++ doc/guides/sample_app_ug/index.rst | 1 + examples/ethtool/Makefile | 48 ++ examples/ethtool/ethtool-app/Makefile | 54 +++ examples/ethtool/ethtool-app/ethapp.c | 873 ++++++++++++++++++++++++++++++++++ examples/ethtool/ethtool-app/ethapp.h | 41 ++ examples/ethtool/ethtool-app/main.c | 297 ++++++++++++ examples/ethtool/lib/Makefile | 57 +++ examples/ethtool/lib/rte_ethtool.c | 421 ++++++++++++++++ examples/ethtool/lib/rte_ethtool.h | 410 ++++++++++++++++ 10 files changed, 2467 insertions(+) create mode 100644 doc/guides/sample_app_ug/ethtool.rst create mode 100644 examples/ethtool/Makefile create mode 100644 examples/ethtool/ethtool-app/Makefile create mode 100644 examples/ethtool/ethtool-app/ethapp.c create mode 100644 examples/ethtool/ethtool-app/ethapp.h create mode 100644 examples/ethtool/ethtool-app/main.c create mode 100644 examples/ethtool/lib/Makefile create mode 100644 examples/ethtool/lib/rte_ethtool.c create mode 100644 examples/ethtool/lib/rte_ethtool.h -- 1.9.3