public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Olaf Hering <olaf@aepfle•de>
To: Ben Hutchings <bhutchings@solarflare•com>
Cc: netdev@vger•kernel.org, xen-devel@lists•xensource.com,
	Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix•com>,
	Konrad Rzeszutek Wilk <konrad.wilk@oracle•com>
Subject: Re: [PATCH] xen-netfront: report link speed to ethtool
Date: Fri, 18 Nov 2011 20:17:22 +0100	[thread overview]
Message-ID: <20111118191722.GA16429@aepfle.de> (raw)
In-Reply-To: <1321643431.2883.39.camel@bwh-desktop>

On Fri, Nov 18, Ben Hutchings wrote:

> On Fri, 2011-11-18 at 19:43 +0100, Olaf Hering wrote:
> > On Fri, Nov 18, Ben Hutchings wrote:
> > 
> > > On Fri, 2011-11-18 at 17:48 +0100, Olaf Hering wrote:
> > > > The reported data refers to VMWare vmxnet.
> > > NAK, we should not just make things up.
> > 
> > So how about removing veth_get_settings, vmxnet3_get_settings,
> > tun_get_settings and other functions that escaped my grep?
> 
> If they can't provide meaningful information then maybe they should be
> removed.  However, that could result in a regression for existing
> working configurations.  (This isn't the same as the case you're trying
> to fix, since those applications have never worked with xen-netfront or
> many other drivers that don't implement get_settings.)

That may be.
How about a new generic ethtool_op_get_settings_veth which returns fake
values for all relevant drivers (virtio, xen-netfront, and the ones
listed above)?

Olaf

  reply	other threads:[~2011-11-18 19:17 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-18 16:48 [PATCH] xen-netfront: report link speed to ethtool Olaf Hering
2011-11-18 17:46 ` Ben Hutchings
2011-11-18 18:43   ` Olaf Hering
2011-11-18 19:10     ` Ben Hutchings
2011-11-18 19:17       ` Olaf Hering [this message]
2011-11-18 18:44   ` Rick Jones
2011-11-18 18:46     ` Jeremy Fitzhardinge
2011-11-18 18:58       ` use a special value of -2 for virtual devices to report indeterminate speed? Rick Jones
2011-11-18 19:13         ` Ben Hutchings
2011-11-18 19:11   ` [PATCH] xen-netfront: report link speed to ethtool David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20111118191722.GA16429@aepfle.de \
    --to=olaf@aepfle$(echo .)de \
    --cc=bhutchings@solarflare$(echo .)com \
    --cc=jeremy.fitzhardinge@citrix$(echo .)com \
    --cc=konrad.wilk@oracle$(echo .)com \
    --cc=netdev@vger$(echo .)kernel.org \
    --cc=xen-devel@lists$(echo .)xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox