From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id CC5702E8F for ; Mon, 20 Jul 2015 16:12:56 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga102.fm.intel.com with ESMTP; 20 Jul 2015 07:12:55 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,508,1432623600"; d="scan'208";a="527152742" Received: from lwang14-mobl6.amr.corp.intel.com ([10.127.188.117]) by FMSMGA003.fm.intel.com with ESMTP; 20 Jul 2015 07:12:54 -0700 From: Liang-Min Larry Wang To: dev@dpdk.org Date: Mon, 20 Jul 2015 10:12:50 -0400 Message-Id: <1437401571-9104-1-git-send-email-liang-min.wang@intel.com> X-Mailer: git-send-email 2.1.4 Cc: Liang-Min Larry Wang Subject: [dpdk-dev] [PATCH] User-space Ethool example 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: Mon, 20 Jul 2015 14:12:57 -0000 This implementation is designed to provide an example illlustrating how to create a user-space ethtool library from existing ethdev APIs. This example only implements 19 popular used Ethtool and Netdevice ops as described in examples/l2fwd-ethtool/lib/rte_ethtool.h Liang-Min Larry Wang (1): examples: new example: l2fwd-ethtool examples/Makefile | 1 + examples/l2fwd-ethtool/Makefile | 48 + examples/l2fwd-ethtool/l2fwd-app/Makefile | 58 ++ examples/l2fwd-ethtool/l2fwd-app/main.c | 1025 ++++++++++++++++++++++ examples/l2fwd-ethtool/l2fwd-app/netdev_api.h | 770 ++++++++++++++++ examples/l2fwd-ethtool/l2fwd-app/shared_fifo.h | 159 ++++ examples/l2fwd-ethtool/lib/Makefile | 57 ++ examples/l2fwd-ethtool/lib/rte_ethtool.c | 336 +++++++ examples/l2fwd-ethtool/lib/rte_ethtool.h | 385 ++++++++ examples/l2fwd-ethtool/nic-control/Makefile | 55 ++ examples/l2fwd-ethtool/nic-control/nic_control.c | 614 +++++++++++++ mk/rte.lib.mk | 2 + 12 files changed, 3510 insertions(+) create mode 100644 examples/l2fwd-ethtool/Makefile create mode 100644 examples/l2fwd-ethtool/l2fwd-app/Makefile create mode 100644 examples/l2fwd-ethtool/l2fwd-app/main.c create mode 100644 examples/l2fwd-ethtool/l2fwd-app/netdev_api.h create mode 100644 examples/l2fwd-ethtool/l2fwd-app/shared_fifo.h create mode 100644 examples/l2fwd-ethtool/lib/Makefile create mode 100644 examples/l2fwd-ethtool/lib/rte_ethtool.c create mode 100644 examples/l2fwd-ethtool/lib/rte_ethtool.h create mode 100644 examples/l2fwd-ethtool/nic-control/Makefile create mode 100644 examples/l2fwd-ethtool/nic-control/nic_control.c -- 2.1.4