From: Stephen Hemminger <shemminger@linux-foundation.org>
To: Kieran Mansley <kmansley@solarflare.com>
Cc: xen-devel@lists.xensource.com, netdev@vger.kernel.org,
muli@il.ibm.com, herbert@gondor.apana.org.au
Subject: Re: [PATCH 3/4] [Net] Support Xen accelerated network plugin modules
Date: Mon, 21 May 2007 10:50:03 -0700 [thread overview]
Message-ID: <20070521105003.7fceb584@freepuppy> (raw)
In-Reply-To: <1179494208.14376.10.camel@moonstone.uk.level5networks.com>
On Fri, 18 May 2007 14:16:48 +0100
Kieran Mansley <kmansley@solarflare.com> wrote:
> Add support to Xen netfront for accelerated plugin module
>
> diff -r ce3d5c548e67 linux-2.6-xen-
> sparse/drivers/xen/netfront/netfront.c
> --- a/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c Thu May 17
> 09:56:38 2007 +0100
> +++ b/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c Fri May 18
> 10:26:34 2007 +0100
>
> +/*
> + * Initialise the netfront state of an accelerator plugin module.
> + */
> +static int init_accelerator(const char *frontend,
> + struct netfront_accelerator **result)
> +{
> + struct netfront_accelerator *accelerator =
> + kmalloc(sizeof(struct netfront_accelerator),
> GFP_KERNEL);
> +
> + if ( accelerator->hooks == NULL )
> + DPRINTK("%s: no hooks set",
> __FUNCTION__);
> + else {
> + spin_unlock_irqrestore
> (&accelerators_lock, flags);
> + accelerator->hooks->new_device(np-
> >netdev, dev);
> + spin_lock_irqsave(&accelerators_lock,
> flags);
> + }
> +
> + if ( (--accelerator->hooks_usecount) == 0 )
> + accelerator_remove_hooks(accelerator);
> + spin_unlock_irqrestore(&accelerators_lock,
> flags);
Your mailer is word wrapping the patch so it won't apply as is.
--
Stephen Hemminger <shemminger@linux-foundation.org>
next prev parent reply other threads:[~2007-05-21 17:51 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-18 13:16 [PATCH 3/4] [Net] Support Xen accelerated network plugin modules Kieran Mansley
2007-05-21 17:50 ` Stephen Hemminger [this message]
2007-05-22 7:00 ` Kieran Mansley
2007-05-21 17:52 ` Stephen Hemminger
2007-05-22 7:15 ` Kieran Mansley
2007-05-22 7:28 ` Kieran Mansley
2007-05-22 7:48 ` [Xen-devel] " Keir Fraser
2007-05-22 7:59 ` Kieran Mansley
2007-05-22 12:44 ` Kieran Mansley
2007-05-22 14:07 ` Keir Fraser
2007-05-22 14:20 ` Kieran Mansley
2007-05-22 15:05 ` Stephen Hemminger
2007-05-22 16:06 ` Kieran Mansley
2007-05-25 6:53 ` Andi Kleen
2007-05-21 17:54 ` Stephen Hemminger
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=20070521105003.7fceb584@freepuppy \
--to=shemminger@linux-foundation.org \
--cc=herbert@gondor.apana.org.au \
--cc=kmansley@solarflare.com \
--cc=muli@il.ibm.com \
--cc=netdev@vger.kernel.org \
--cc=xen-devel@lists.xensource.com \
/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).