Netdev List
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: phil@nwl.cc
Cc: netdev@vger.kernel.org, sd@queasysnail.net
Subject: Re: [net-next PATCH v7] net: dummy: Introduce dummy virtual functions
Date: Tue, 24 Jan 2017 14:07:42 -0500 (EST)	[thread overview]
Message-ID: <20170124.140742.2012452984177351042.davem@davemloft.net> (raw)
In-Reply-To: <20170123111733.28643-1-phil@nwl.cc>

From: Phil Sutter <phil@nwl.cc>
Date: Mon, 23 Jan 2017 12:17:33 +0100

> The idea for this was born when testing VF support in iproute2 which was
> impeded by hardware requirements. In fact, not every VF-capable hardware
> driver implements all netdev ops, so testing the interface is still hard
> to do even with a well-sorted hardware shelf.
> 
> To overcome this and allow for testing the user-kernel interface, this
> patch allows to turn dummy into a PF with a configurable amount of VFs.
> 
> Since my patch series 'bus-agnostic-num-vf' has been accepted,
> implementing the required interfaces is pretty straightforward: Iff
> 'num_vfs' module parameter was given a value >0, a dummy bus type is
> being registered which implements the 'num_vf()' callback. Additionally,
> a dummy parent device common to all dummy devices is registered which
> sits on the above dummy bus.
> 
> Joint work with Sabrina Dubroca.
> 
> Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
> Signed-off-by: Phil Sutter <phil@nwl.cc>

Yeah this looks awesome, applied, thanks!

      reply	other threads:[~2017-01-24 19:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-23 11:17 [net-next PATCH v7] net: dummy: Introduce dummy virtual functions Phil Sutter
2017-01-24 19:07 ` David Miller [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=20170124.140742.2012452984177351042.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=netdev@vger.kernel.org \
    --cc=phil@nwl.cc \
    --cc=sd@queasysnail.net \
    /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