netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ben Hutchings <bhutchings@solarflare.com>
To: David Miller <davem@davemloft.net>
Cc: netdev@vger.kernel.org, linux-net-drivers@solarflare.com
Subject: Re: sfc: Add driverlink API to support virtual NIC drivers
Date: Mon, 17 Nov 2008 20:48:27 +0000	[thread overview]
Message-ID: <1226954907.18421.2.camel@achroite> (raw)
In-Reply-To: <20081116.004557.210684346.davem@davemloft.net>

On Sun, 2008-11-16 at 00:45 -0800, David Miller wrote:
> I'm not applying this patch, it is just a gateway for proprietary
> extensions to the driver.

We have no interest in creating proprietary extensions.  All existing
driverlink clients are either licenced under GPLv2 or are unreleased
debugging tools.  I hadn't thought of it before, but we could change the
EXPORT_SYMBOLs to EXPORT_SYMBOL_GPL.

> The fact that it allows any module to hook into the driver and
> decide how to handle every TX or RX frame basically makes this
> change a non-starter.

This is unpleasant but seems to be necessary.  The reason for this hook
was explained by my colleague Robert Stonehouse in a covering mail 
<http://article.gmane.org/gmane.linux.network/96546> for an earlier
version of this patch:

"They are needed partly because the filtering of received packets onto
V-NICs is imperfect, and in Xen to spot certain control plane updates
efficiently."

Existing driverlink clients only inspect packets rather than modifying
them, and it might be possible for them to do without the "veto" option.
Maybe we could even use netfilter, though I suspect that would be
fragile.

> Many many years ago, various vendor drivers tried to do something
> similar, so that their proprietary bonding modules could work,
> and instead we improved the Linux bonding driver to have feature
> parity with whatever those guys were offering.

Well, Robert has explained the requirements we're trying to satisfy.
Can you suggest how we might implement these in a way that you would be
happy with?

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.


      reply	other threads:[~2008-11-17 20:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-16  8:45 sfc: Add driverlink API to support virtual NIC drivers David Miller
2008-11-17 20:48 ` Ben Hutchings [this message]

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=1226954907.18421.2.camel@achroite \
    --to=bhutchings@solarflare.com \
    --cc=davem@davemloft.net \
    --cc=linux-net-drivers@solarflare.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
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;
as well as URLs for NNTP newsgroup(s).