netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: sfc: Add driverlink API to support virtual NIC drivers
@ 2008-11-16  8:45 David Miller
  2008-11-17 20:48 ` Ben Hutchings
  0 siblings, 1 reply; 2+ messages in thread
From: David Miller @ 2008-11-16  8:45 UTC (permalink / raw)
  To: bhutchings; +Cc: netdev


I'm not applying this patch, it is just a gateway for proprietary
extensions to the driver.

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.

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: sfc: Add driverlink API to support virtual NIC drivers
  2008-11-16  8:45 sfc: Add driverlink API to support virtual NIC drivers David Miller
@ 2008-11-17 20:48 ` Ben Hutchings
  0 siblings, 0 replies; 2+ messages in thread
From: Ben Hutchings @ 2008-11-17 20:48 UTC (permalink / raw)
  To: David Miller; +Cc: netdev, linux-net-drivers

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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-11-17 20:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-16  8:45 sfc: Add driverlink API to support virtual NIC drivers David Miller
2008-11-17 20:48 ` Ben Hutchings

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).