From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from rcdn-iport-1.cisco.com (rcdn-iport-1.cisco.com [173.37.86.72]) by dpdk.org (Postfix) with ESMTP id 9FFDA7E6A for ; Sat, 13 Jun 2015 02:21:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=3553; q=dns/txt; s=iport; t=1434154871; x=1435364471; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=I511dtoFm71Mu4GqdHP1QKZT+dD2duGi8IuBA/ngW+8=; b=YSjTTqQjg3EbnHKFW7oaaGNKozrJwVNtadpy5p1vlKVzXlhGYweVak9V QU23sea/qlTsHkGk6zu7HSNKYDNt9RUVNBKA88fOI3zBoYT+L4uZHDzxw i4FNHMsvBWaMywy/DubruUiBCCpSDqp7rFK9nS8oKLdQ6SYPK1aHBC6az 4=; X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0AkBAAKd3tV/5tdJa1cgxCBMwa9cAmHWwKBPzgUAQEBAQEBAYEKhCMBAQQ6PxACAQg2EDIlAgQBDQWIL9cvAQEBAQEBAQEBAQEBAQEBAQEBARmLQ4UGB4QtBYt5h12LPJgIJmODFm+BRoEBAQEB X-IronPort-AV: E=Sophos;i="5.13,605,1427760000"; d="scan'208";a="6869789" Received: from rcdn-core-4.cisco.com ([173.37.93.155]) by rcdn-iport-1.cisco.com with ESMTP; 13 Jun 2015 00:21:10 +0000 Received: from xhc-rcd-x01.cisco.com (xhc-rcd-x01.cisco.com [173.37.183.75]) by rcdn-core-4.cisco.com (8.14.5/8.14.5) with ESMTP id t5D0LAVq018829 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Sat, 13 Jun 2015 00:21:10 GMT Received: from xmb-aln-x01.cisco.com ([169.254.2.185]) by xhc-rcd-x01.cisco.com ([173.37.183.75]) with mapi id 14.03.0195.001; Fri, 12 Jun 2015 19:21:09 -0500 From: "Andrew Harvey (agh)" To: Liang-Min Larry Wang , "dev@dpdk.org" Thread-Topic: [PATCH v6 0/4] User-space Ethtool Thread-Index: AQHQpVuWaPrKG4zFsUeEqp5ywlhrrp2pcXEA Date: Sat, 13 Jun 2015 00:21:09 +0000 Message-ID: References: <1432946276-9424-1-git-send-email-liang-min.wang@intel.com> <1434146585-14472-1-git-send-email-liang-min.wang@intel.com> In-Reply-To: <1434146585-14472-1-git-send-email-liang-min.wang@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.5.1.150515 x-originating-ip: [10.24.114.245] Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v6 0/4] User-space Ethtool 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: Sat, 13 Jun 2015 00:21:12 -0000 On 6/12/15, 3:03 PM, "Liang-Min Larry Wang" wrote: >This implementation is designed to provide a familar interface for >applications that rely on kernel-space driver to support ethtool_op and >net_device_op for device management. The initial implementation focuses >on ops that can be implemented through existing netdev APIs. More ops >will be supported in latter release. > >v6 change: >- Rebase to match new changes over dpdk repository (librte_ether) >v5 change: >- Change API name from 'leng' to 'length' >- Remove unused data structure rte_dev_vf_info >- Remove placeholder API rte_eth_dev_set_ringparam >- Clean up set_mac_addr implementation >v4 change: >- Add rte_eth_xxx apis and respective ops over igb and ixgbe > to support ethtool and net device alike ops >- Add an example to demonstrate the use of ethtool library >v3 change: >- Fix a build issue >v2 change: >- Implement rte_eth_dev_default_mac_addr_set through >dev_ops::mac_addr_set so it would support NIC devices other than ixgbe >and igb > >Liang-Min Larry Wang (4): > ethdev: add apis to support access device info > ixgbe: add ops to support ethtool ops > igb: add ops to support ethtool ops > examples: new example: l2fwd-ethtool > > drivers/net/e1000/igb_ethdev.c | 186 ++++ > drivers/net/e1000/igb_regs.h | 217 +++++ > drivers/net/ixgbe/ixgbe_ethdev.c | 202 +++++ > drivers/net/ixgbe/ixgbe_regs.h | 357 ++++++++ > drivers/net/ixgbe/ixgbe_rxtx.c | 16 + > drivers/net/ixgbe/ixgbe_rxtx.h | 1 + > examples/l2fwd-ethtool/Makefile | 55 ++ > examples/l2fwd-ethtool/l2fwd-app/Makefile | 58 ++ > examples/l2fwd-ethtool/l2fwd-app/main.c | 1052 >++++++++++++++++++++++ > examples/l2fwd-ethtool/l2fwd-app/netdev_api.h | 821 +++++++++++++++++ > examples/l2fwd-ethtool/l2fwd-app/shared_fifo.h | 153 ++++ > examples/l2fwd-ethtool/lib/Makefile | 55 ++ > examples/l2fwd-ethtool/lib/rte_ethtool.c | 326 +++++++ > examples/l2fwd-ethtool/lib/rte_ethtool.h | 412 +++++++++ > examples/l2fwd-ethtool/nic-control/Makefile | 55 ++ > examples/l2fwd-ethtool/nic-control/nic_control.c | 427 +++++++++ > lib/librte_ether/Makefile | 1 + > lib/librte_ether/rte_eth_dev_info.h | 67 ++ > lib/librte_ether/rte_ethdev.c | 134 +++ > lib/librte_ether/rte_ethdev.h | 144 +++ > lib/librte_ether/rte_ether_version.map | 7 + > 21 files changed, 4746 insertions(+) > create mode 100644 drivers/net/e1000/igb_regs.h > create mode 100644 drivers/net/ixgbe/ixgbe_regs.h > 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 > create mode 100644 lib/librte_ether/rte_eth_dev_info.h > >--=20 >2.1.4 Acked-by: Andrew Harvey (agh)