[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <519C9A6702000078000D8026@nat28.tlf.novell.com>
Date: Wed, 22 May 2013 09:13:59 +0100
From: "Jan Beulich" <JBeulich@...e.com>
To: "Wei Liu" <wei.liu2@...rix.com>
Cc: <david.vrabel@...rix.com>, <ian.campbell@...rix.com>,
<xen-devel@...ts.xen.org>, <konrad.wilk@...cle.com>,
<netdev@...r.kernel.org>
Subject: Re: [Xen-devel] [PATCH net-next V2 2/2] xen-netfront: split
event channels support for Xen frontend driver
>>> On 21.05.13 at 20:35, Wei Liu <wei.liu2@...rix.com> wrote:
> @@ -1550,22 +1651,18 @@ static int setup_netfront(struct xenbus_device *dev, struct netfront_info *info)
> goto grant_rx_ring_fail;
> info->rx_ring_ref = err;
>
> - err = xenbus_alloc_evtchn(dev, &info->evtchn);
> + if (feature_split_evtchn)
> + err = setup_netfront_split(info);
> + else
> + err = setup_netfront_single(info);
> if (err)
> goto alloc_evtchn_fail;
You could easily fall back to single event channel mode here if split
setup fails.
Jan
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists