Re: [Xen-devel] [PATCH 1/1] xen-netback: remove compilation warning

2015-02-26 Thread David Miller
From: pedro marzo.pe...@gmail.com Date: Thu, 26 Feb 2015 09:25:41 +0100 From: pmarzo marzo.pe...@gmail.com offset and size are of type uint16_t so the %lu gives a warning A %u specifier, the same used in size makes gcc happy Not sure if a %x would be more correct Signed-off-by: Pedro

Re: [Xen-devel] [PATCHv1 net] xen-netback: release pending index before pushing Tx responses

2015-02-24 Thread David Miller
From: David Vrabel david.vra...@citrix.com Date: Tue, 24 Feb 2015 11:17:59 + If the pending indexes are released /after/ pushing the Tx response then a stale pending index may be used if a new Tx request is immediately pushed by the frontend. The may cause various WARNINGs or BUGs if the

Re: [Xen-devel] [PATCH] xen-netfront: Use static attribute groups for sysfs entries

2015-02-05 Thread David Miller
From: Takashi Iwai ti...@suse.de Date: Wed, 4 Feb 2015 14:38:55 +0100 Instead of manual calls of device_create_file() and device_remove_files(), assign the static attribute groups to netdev groups array. This simplifies the code and avoids the possible races. Signed-off-by: Takashi Iwai

Re: [Xen-devel] [PATCHv2 net-next] xen-netback: always fully coalesce guest Rx packets

2015-01-23 Thread David Miller
From: David Vrabel david.vra...@citrix.com Date: Tue, 20 Jan 2015 14:49:52 + Always fully coalesce guest Rx packets into the minimum number of ring slots. Reducing the number of slots per packet has significant performance benefits when receiving off-host traffic. Results from

Re: [Xen-devel] [PATCH] xen-netback: fixing the propagation of the transmit shaper timeout

2015-01-06 Thread David Miller
From: Ian Campbell ian.campb...@citrix.com Date: Tue, 6 Jan 2015 15:54:07 + On Tue, 2015-01-06 at 16:44 +0100, Imre Palik wrote: From: Palik, Imre im...@amazon.de Since e9ce7cb6b107 (xen-netback: Factor queue-specific data into queue struct), the transimt shaper timeout is always set

Re: [Xen-devel] [PATCH 4/4] net: Rearrange loop in net_rx_action

2014-12-23 Thread David Miller
From: Herbert Xu herb...@gondor.apana.org.au Date: Sun, 21 Dec 2014 07:16:25 +1100 This patch rearranges the loop in net_rx_action to reduce the amount of jumping back and forth when reading the code. Signed-off-by: Herbert Xu herb...@gondor.apana.org.au Applied.

Re: [Xen-devel] [PATCH 1/4] net: Move napi polling code out of net_rx_action

2014-12-23 Thread David Miller
From: Herbert Xu herb...@gondor.apana.org.au Date: Sun, 21 Dec 2014 07:16:21 +1100 This patch creates a new function napi_poll and moves the napi polling code from net_rx_action into it. Signed-off-by: Herbert Xu herb...@gondor.apana.org.au Applied.

Re: [Xen-devel] virtio_net: Fix napi poll list corruption

2014-12-22 Thread David Miller
From: Herbert Xu herb...@gondor.apana.org.au Date: Sat, 20 Dec 2014 11:23:27 +1100 The commit d75b1ade567ffab085e8adbbdacf0092d10cd09c (net: less interrupt masking in NAPI) breaks virtio_net in an insidious way. It is now required that if the entire budget is consumed when poll returns, the

Re: [Xen-devel] caif: Fix napi poll list corruption

2014-12-22 Thread David Miller
From: Herbert Xu herb...@gondor.apana.org.au Date: Mon, 22 Dec 2014 20:35:25 +1100 The commit d75b1ade567ffab085e8adbbdacf0092d10cd09c (net: less interrupt masking in NAPI) breaks caif. It is now required that if the entire budget is consumed when poll returns, the napi poll_list must

Re: [Xen-devel] net: Detect drivers that reschedule NAPI and exhaust budget

2014-12-19 Thread David Miller
From: Eric Dumazet eric.duma...@gmail.com Date: Fri, 19 Dec 2014 17:34:48 -0800 @@ -4620,7 +4620,11 @@ static void net_rx_action(struct softirq_action *h) */ napi_gro_flush(n, HZ = 1000); }

Re: [Xen-devel] [PATCHv1 net] xen-netback: support frontends without feature-rx-notify again

2014-12-18 Thread David Miller
From: David Vrabel david.vra...@citrix.com Date: Thu, 18 Dec 2014 11:13:06 + Commit bc96f648df1bbc2729abbb84513cf4f64273a1f1 (xen-netback: make feature-rx-notify mandatory) incorrectly assumed that there were no frontends in use that did not support this feature. But the frontend driver

Re: [Xen-devel] [PATCH] xen-netfront: Remove BUGs on paged skb data which crosses a page boundary

2014-11-29 Thread David Miller
From: Seth Forshee seth.fors...@canonical.com Date: Wed, 26 Nov 2014 21:53:50 -0600 On Wed, Nov 26, 2014 at 12:28:12PM -0500, David Miller wrote: From: Seth Forshee seth.fors...@canonical.com Date: Tue, 25 Nov 2014 20:28:24 -0600 These BUGs can be erroneously triggered by frags which refer

Re: [Xen-devel] [PATCH] xen-netfront: Remove BUGs on paged skb data which crosses a page boundary

2014-11-26 Thread David Miller
From: Seth Forshee seth.fors...@canonical.com Date: Tue, 25 Nov 2014 20:28:24 -0600 These BUGs can be erroneously triggered by frags which refer to tail pages within a compound page. The data in these pages may overrun the hardware page while still being contained within the compound page,

Re: [Xen-devel] [PATCH] xen-netback: do not report success if backend_create_xenvif() fails

2014-11-24 Thread David Miller
From: Alexey Khoroshilov khoroshi...@ispras.ru Date: Mon, 24 Nov 2014 13:58:00 +0300 If xenvif_alloc() or xenbus_scanf() fail in backend_create_xenvif(), xenbus is left in offline mode but netback_probe() reports success. The patch implements propagation of error code for

<    1   2