From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Hutchings Subject: Re: [PATCH 1/1] add ethtool loopback support Date: Fri, 09 Apr 2010 17:55:41 +0100 Message-ID: <1270832141.2108.6.camel@achroite.uk.solarflarecom.com> References: <1270751373.5055.22.camel@achroite.uk.solarflarecom.com> <1270755356.5055.23.camel@achroite.uk.solarflarecom.com> <4BBE78E2.2000709@garzik.org> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: Jeff Garzik , davem@davemloft.net, netdev@vger.kernel.org, therbert@google.com To: Laurent Chavey Return-path: Received: from mail.solarflare.com ([216.237.3.220]:55419 "EHLO exchange.solarflare.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752055Ab0DIQzp (ORCPT ); Fri, 9 Apr 2010 12:55:45 -0400 In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: Don't top-post. On Fri, 2010-04-09 at 09:43 -0700, Laurent Chavey wrote: > isn't the existing ETHTOOL_TEST ioctl use for something like self test ? > > the intent of this patch is to enable a mode whereby one could run > netperf / iperf and other application and have the packets sent and > received by the driver. [...] If you send to a local address, the traffic will be routed over the internal loopback interface. Applications will not use a network interface in loopback unless they override routing or send raw packets. netperf and iperf don't allow you todo that, so far as I'm ware. Also those applications are *performance* tests; they are not very useful for fault-finding. Ben. -- Ben Hutchings, Senior Software Engineer, Solarflare Communications Not speaking for my employer; that's the marketing department's job. They asked us to note that Solarflare product names are trademarked.