Re: [Xen-devel] [PATCH v2 11/30] xen/x86: split Dom0 build into PV and PVHv2

2016-10-03 Thread Jan Beulich
>>> On 03.10.16 at 12:09, wrote: > I've added the following patch to my queue, in order to allow the user to > select whether they want to use HAP or shadow, I've tested it locally and > there seems to be no issues in building a PVHv2 Dom0 using shadow. Hmm, two remarks: For one, I'm not convin

Re: [Xen-devel] [Qemu-devel] [v9 00/19] QEMU:Xen stubdom vTPM for HVM virtual machine(QEMU Part)

2016-10-03 Thread Emil Condrea
Anthony, I've split the reorganization and code style issues in a separate patch series which I've posted today: http://markmail.org/message/feu6u3f7py5vt77v Thanks On Mon, Jul 25, 2016 at 5:09 PM, Anthony PERARD wrote: > On Sun, Jul 10, 2016 at 02:47:31PM +0300, Emil Condrea wrote: >> Emil Co

Re: [Xen-devel] [PATCH v2 12/30] xen/x86: make print_e820_memory_map global

2016-10-03 Thread Jan Beulich
>>> On 03.10.16 at 18:23, wrote: > On Fri, Sep 30, 2016 at 09:04:24AM -0600, Jan Beulich wrote: >> >>> On 27.09.16 at 17:57, wrote: >> > So that it can be called from the Dom0 builder. >> >> Why would the Dom0 builder need to call it, when it doesn't so far? > > IMHO, I find it useful to print

[Xen-devel] [PATCH 05/15] xen: Move xenstore_update to xen_pvdev.c

2016-10-03 Thread Emil Condrea
* xenstore_update -> xen_pvdev.c * xenstore_update_fe -> xen_frontend.c Signed-off-by: Emil Condrea --- hw/xen/xen_backend.c | 43 +-- hw/xen/xen_frontend.c | 18 ++ hw/xen/xen_pvdev.c| 24

[Xen-devel] [PATCH 12/15] xen: Rename xen_be_evtchn_event

2016-10-03 Thread Emil Condrea
Prepare xen_be_evtchn_event to be shared with frontends: * xen_be_evtchn_event -> xen_pv_evtchn_event Signed-off-by: Emil Condrea --- hw/xen/xen_backend.c | 2 +- hw/xen/xen_pvdev.c | 2 +- include/hw/xen/xen_pvdev.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff -

[Xen-devel] [PATCH 15/15] xen: Rename xen_be_frontend_changed

2016-10-03 Thread Emil Condrea
xen_be_frontend_changed -> xen_fe_frontend_changed Signed-off-by: Emil Condrea --- hw/xen/xen_backend.c | 2 +- hw/xen/xen_frontend.c | 4 ++-- include/hw/xen/xen_frontend.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/hw/xen/xen_backend.c b/hw/xen/xen_

[Xen-devel] [PATCH 14/15] xen: Rename xen_be_del_xendev

2016-10-03 Thread Emil Condrea
Prepare xen_be_del_xendev to be shared with frontends: * xen_be_del_xendev -> xen_pv_del_xendev Signed-off-by: Emil Condrea --- hw/xen/xen_backend.c | 2 +- hw/xen/xen_pvdev.c | 2 +- include/hw/xen/xen_pvdev.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a

[Xen-devel] [PATCH 10/15] xen: Rename xen_be_unbind_evtchn

2016-10-03 Thread Emil Condrea
Prepare xen_be_unbind_evtchn to be shared with frontends: * xen_be_unbind_evtchn -> xen_pv_unbind_evtchn Signed-off-by: Emil Condrea --- hw/block/xen_disk.c| 2 +- hw/char/xen_console.c | 2 +- hw/display/xenfb.c | 2 +- hw/net/xen_nic.c | 2 +- hw/usb/xen-usb.c

[Xen-devel] [PATCH 08/15] xen: Move xenstore cleanup and mkdir functions

2016-10-03 Thread Emil Condrea
The name of the functions moved to xen_pvdev.c: * xenstore_cleanup_dir * xen_config_cleanup * xenstore_mkdir Signed-off-by: Emil Condrea --- hw/xen/xen_backend.c | 49 - hw/xen/xen_pvdev.c | 51 +

[Xen-devel] [PATCH 11/15] xen: Rename xen_be_send_notify

2016-10-03 Thread Emil Condrea
Prepare xen_be_send_notify to be shared with frontends: * xen_be_send_notify -> xen_pv_send_notify Signed-off-by: Emil Condrea --- hw/block/xen_disk.c| 4 ++-- hw/char/xen_console.c | 4 ++-- hw/display/xenfb.c | 8 hw/net/xen_nic.c | 4 ++-- hw/usb/xen-u

[Xen-devel] [PATCH 03/15] xen: Create a new file xen_pvdev.c

2016-10-03 Thread Emil Condrea
The purpose of the new file is to store generic functions shared by frontend and backends such as xenstore operations, xendevs. Signed-off-by: Quan Xu Signed-off-by: Emil Condrea --- hw/xen/Makefile.objs | 2 +- hw/xen/xen_backend.c | 126 +---

[Xen-devel] [PATCH 13/15] xen: Rename xen_be_find_xendev

2016-10-03 Thread Emil Condrea
Prepare xen_be_find_xendev to be shared with frontends: * xen_be_find_xendev -> xen_pv_find_xendev Signed-off-by: Emil Condrea --- hw/display/xenfb.c | 4 ++-- hw/xen/xen_backend.c | 2 +- hw/xen/xen_pvdev.c | 2 +- include/hw/xen/xen_pvdev.h | 2 +- 4 files changed, 5 ins

[Xen-devel] [PATCH 09/15] xen: Rename xen_be_printf to xen_pv_printf

2016-10-03 Thread Emil Condrea
Prepare xen_be_printf to be used by both backend and frontends: * xen_be_printf -> xen_pv_printf Signed-off-by: Emil Condrea --- hw/block/xen_disk.c| 58 +++--- hw/char/xen_console.c | 10 hw/display/xenfb.c | 42

[Xen-devel] [PATCH 02/15] xen: Fix coding style warnings

2016-10-03 Thread Emil Condrea
Fixes: * WARNING: line over 80 characters Signed-off-by: Emil Condrea --- hw/block/xen_disk.c | 3 ++- hw/char/xen_console.c| 6 -- hw/display/xenfb.c | 30 -- hw/net/xen_nic.c | 12 hw/xen/xen_backend.c

[Xen-devel] [PATCH 04/15] xen: Create a new file xen_frontend.c

2016-10-03 Thread Emil Condrea
Its purpose is to store frontend related functions. Signed-off-by: Quan Xu Signed-off-by: Emil Condrea --- hw/block/xen_disk.c | 1 + hw/display/xenfb.c| 1 + hw/net/xen_nic.c | 1 + hw/usb/xen-usb.c | 1 + hw/xen/Makefile.objs | 2 +

[Xen-devel] [PATCH 07/15] xen: Prepare xendev qtail to be shared with frontends

2016-10-03 Thread Emil Condrea
* move xendevs qtail to xen_pvdev.c * change xen_be_get_xendev to use a new function: xen_pv_insert_xendev Signed-off-by: Emil Condrea --- hw/xen/xen_backend.c | 51 +- hw/xen/xen_pvdev.c| 57 +++

[Xen-devel] [PATCH 06/15] xen: Move evtchn functions to xen_pvdev.c

2016-10-03 Thread Emil Condrea
The name of the functions moved: * xen_be_evtchn_event * xen_be_unbind_evtchn * xen_be_send_notify Signed-off-by: Emil Condrea --- hw/xen/xen_backend.c | 35 --- hw/xen/xen_pvdev.c | 35 +++ include/hw/xen/xen_b

[Xen-devel] [PATCH 01/15] xen: Fix coding style errors

2016-10-03 Thread Emil Condrea
Fixes the following errors: * ERROR: line over 90 characters * ERROR: code indent should never use tabs * ERROR: space prohibited after that open square bracket '[' * ERROR: do not initialise statics to 0 or NULL * ERROR: "(foo*)" should be "(foo *)" Signed-off-by: Emil Condrea --- hw/char/

[Xen-devel] [PATCH 00/15] Refactor common part of xen backend and frontend

2016-10-03 Thread Emil Condrea
This patch series was splitted from QEMU:Xen stubdom vTPM for HVM virtual machine http://markmail.org/message/fkix7g3a5zdj7lvr It contains a reorganization of xen backend and frontend functions together with code style fixes. Common functions shared by backends and frontends are moved to xen_pvde

Re: [Xen-devel] [PATCH net-next 0/7] xen-netback: guest rx side refactor

2016-10-03 Thread David Miller
From: Paul Durrant Date: Mon, 3 Oct 2016 08:31:05 +0100 > This series refactors the guest rx side of xen-netback: > > - The code is moved into its own source module. > > - The prefix variant of GSO handling is retired (since it is no longer > in common use, and alternatives exist). > > - The

[Xen-devel] [ovmf baseline-only test] 67791: regressions - FAIL

2016-10-03 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 67791 ovmf real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/67791/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemuu-ovmf-amd64 15 guest-localmigr

[Xen-devel] [ovmf test] 101249: all pass - PUSHED

2016-10-03 Thread osstest service owner
flight 101249 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/101249/ Perfect :-) All tests in this flight passed as required version targeted for testing: ovmf c0b7e2b2bfc2748112607bfe83fc99cf48c97b48 baseline version: ovmf 8550b5f0810f306850f9a

[Xen-devel] [xen-unstable test] 101247: tolerable FAIL - PUSHED

2016-10-03 Thread osstest service owner
flight 101247 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/101247/ Failures :-/ but no regressions. Tests which are failing intermittently (not blocking): test-armhf-armhf-xl-arndale 3 host-install(3) broken in 101246 pass in 101247 test-armhf-armhf-xl-credit2 16

[Xen-devel] [xen-unstable baseline-only test] 67790: regressions - FAIL

2016-10-03 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 67790 xen-unstable real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/67790/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-armhf-armhf-libvirt-qcow2 9 debian-di-ins

[Xen-devel] [ovmf test] 101248: all pass - PUSHED

2016-10-03 Thread osstest service owner
flight 101248 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/101248/ Perfect :-) All tests in this flight passed as required version targeted for testing: ovmf 8550b5f0810f306850f9a07ee551099155d89ae0 baseline version: ovmf ed72804638c9b240477c5

[Xen-devel] [PATCH RFC] x86/Intel: virtualize support for cpuid faulting

2016-10-03 Thread Kyle Huey
rr (http://rr-project.org/), a Linux userspace record-and-replay reverse- execution debugger, would like to trap and emulate the CPUID instruction. This would allow us to a) mask away certain hardware features that rr does not support (e.g. RDRAND) and b) enable trace portability across machines by

[Xen-devel] [xen-unstable test] 101246: trouble: blocked/broken/fail/pass

2016-10-03 Thread osstest service owner
flight 101246 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/101246/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: test-armhf-armhf-xl-arndale 3 host-install(3)broken REGR. vs. 10124

[Xen-devel] [xen-unstable baseline-only test] 67784: regressions - FAIL

2016-10-03 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 67784 xen-unstable real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/67784/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemuu-ovmf-amd64 6 xen-boo

Re: [Xen-devel] [PATCH v3 4/4] Addressed comments on quorum and security team members

2016-10-03 Thread Ian Jackson
Lars Kurth writes ("[PATCH v3 4/4] Addressed comments on quorum and security team members"): > Main changes > Leadership team decisions: express quorum in terms of +1 votes > Security Team Members: election > Project Wide Decision Making: minor text changes The resulting series is a little odd be

Re: [Xen-devel] [PATCH v2 12/30] xen/x86: make print_e820_memory_map global

2016-10-03 Thread Roger Pau Monne
On Fri, Sep 30, 2016 at 09:04:24AM -0600, Jan Beulich wrote: > >>> On 27.09.16 at 17:57, wrote: > > So that it can be called from the Dom0 builder. > > Why would the Dom0 builder need to call it, when it doesn't so far? IMHO, I find it useful to print the domain 0 memory map during creation. It

Re: [Xen-devel] Livepatch for Xen 4.9

2016-10-03 Thread Andrew Cooper
On 03/10/16 15:16, Konrad Rzeszutek Wilk wrote: > Hey! > > [CC-ing xen-devel] > > Xen 4.8-rc1 is out and means taking a break from some of the Livepatch > hypervisor > parts for me. > > My plan for 4.8 is to concentrate on any livepatch fallout and doing OSSTest > along > with Marcos (CC-ed) and

Re: [Xen-devel] [PATCH RFC] xen: make it possible to disable XEN_TMEM

2016-10-03 Thread Vitaly Kuznetsov
Konrad Rzeszutek Wilk writes: > On Mon, Oct 03, 2016 at 04:02:48PM +0200, Vitaly Kuznetsov wrote: >> XEN_TMEM config option has no prompt and it is enabled as module by >> default if CLEANCACHE or FRONTSWAP options are set with no way to disable >> it. The only in-tree user of the tmem interface

[Xen-devel] [PATCH] libxl: fix issues in 38cd0664

2016-10-03 Thread Wei Liu
A few issues were introduced in 38cd0664 ("libxl/arm: Add the size of ACPI tables to maxmem"): 1. d_config was not properly initialised and disposed of. 2. using libxl_retrieve_domain_configuration caused thread to deadlock itself. Fix those issues by: 1. properly initialise and dispose of d_

Re: [Xen-devel] Livepatch for Xen 4.9

2016-10-03 Thread Jan Beulich
>>> Konrad Rzeszutek Wilk 10/03/16 4:18 PM >>> >2) We could also do some form of restartable patching. That is seed the code >(where we are going to >put a trampoline) with 'CC'. Then do memcpy over the the 'CC' the new >instructions (jump). If the >NMI/MCE handler hits that code it would call t

Re: [Xen-devel] [PATCH RFC] xen: make it possible to disable XEN_TMEM

2016-10-03 Thread Konrad Rzeszutek Wilk
On Mon, Oct 03, 2016 at 04:02:48PM +0200, Vitaly Kuznetsov wrote: > XEN_TMEM config option has no prompt and it is enabled as module by > default if CLEANCACHE or FRONTSWAP options are set with no way to disable > it. The only in-tree user of the tmem interface is xen-selfballoon which And if CONF

[Xen-devel] Livepatch for Xen 4.9

2016-10-03 Thread Konrad Rzeszutek Wilk
Hey! [CC-ing xen-devel] Xen 4.8-rc1 is out and means taking a break from some of the Livepatch hypervisor parts for me. My plan for 4.8 is to concentrate on any livepatch fallout and doing OSSTest along with Marcos (CC-ed) and see if we can wrestle it to expand on what we want to have done. H

[Xen-devel] [PATCH RFC] xen: make it possible to disable XEN_TMEM

2016-10-03 Thread Vitaly Kuznetsov
XEN_TMEM config option has no prompt and it is enabled as module by default if CLEANCACHE or FRONTSWAP options are set with no way to disable it. The only in-tree user of the tmem interface is xen-selfballoon which can itself be disabled so it makes sense to make it possible to disable XEN_TMEM too

[Xen-devel] [xen-unstable-smoke test] 101245: tolerable all pass - PUSHED

2016-10-03 Thread osstest service owner
flight 101245 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/101245/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-amd64-amd64-libvirt 12 migrate-support-checkfail never pass test-armhf-armhf-xl 1

[Xen-devel] [ANNOUNCEMENT] Xen 4.8 RC1

2016-10-03 Thread Wei Liu
Hi all Xen 4.8 RC1 is tagged. You can check that out from xen.git: git://xenbits.xen.org/xen.git 4.8.0-rc1 For you convenience there is also tarball at: http://bits.xensource.com/oss-xen/release/4.8.0-rc1/xen-4.8.0-rc1.tar.gz And the signature is at: http://bits.xensource.com/oss-xen/release/

Re: [Xen-devel] [PATCH] Xen 4.8.0-rc1 preparation

2016-10-03 Thread Wei Liu
On Mon, Oct 03, 2016 at 11:59:49AM +0100, Ian Jackson wrote: > * Change QEMU_UPSTREAM_REVISION MINIOS_UPSTREAM_REVISION and > QEMU_TRADITIONAL_REVISION to refer to the Xen 4.8.0-rc1 tags. > > * Change README and xen/Makefile to refer to Xen 4.8.0-rc (note, the > RC number is not included, so w

Re: [Xen-devel] [PATCH v2 30/30] xen: allow setting the store pfn HVM parameter

2016-10-03 Thread Paul Durrant
> -Original Message- > From: Xen-devel [mailto:xen-devel-boun...@lists.xen.org] On Behalf Of > Roger Pau Monne > Sent: 27 September 2016 16:57 > To: xen-de...@lists.xenproject.org > Cc: Andrew Cooper ; > boris.ostrov...@oracle.com; Roger Pau Monne ; Jan > Beulich > Subject: [Xen-devel] [PA

[Xen-devel] [PATCH] Xen 4.8.0-rc1 preparation

2016-10-03 Thread Ian Jackson
* Change QEMU_UPSTREAM_REVISION MINIOS_UPSTREAM_REVISION and QEMU_TRADITIONAL_REVISION to refer to the Xen 4.8.0-rc1 tags. * Change README and xen/Makefile to refer to Xen 4.8.0-rc (note, the RC number is not included, so we do not have to update these again). I reran autogen.sh as per the re

Re: [Xen-devel] [PATCH v2 28/30] xen/x86: add MSI-X emulation to PVHv2 Dom0

2016-10-03 Thread Paul Durrant
> -Original Message- > From: Xen-devel [mailto:xen-devel-boun...@lists.xen.org] On Behalf Of > Roger Pau Monne > Sent: 27 September 2016 16:57 > To: xen-de...@lists.xenproject.org > Cc: boris.ostrov...@oracle.com; Roger Pau Monne > Subject: [Xen-devel] [PATCH v2 28/30] xen/x86: add MSI-X e

Re: [Xen-devel] [PATCH v2 26/30] xen/x86: add PCIe emulation

2016-10-03 Thread Paul Durrant
> -Original Message- > From: Roger Pau Monne [mailto:roger@citrix.com] > Sent: 27 September 2016 16:57 > To: xen-de...@lists.xenproject.org > Cc: konrad.w...@oracle.com; boris.ostrov...@oracle.com; Roger Pau Monne > ; Paul Durrant ; Jan > Beulich ; Andrew Cooper > > Subject: [PATCH v2

Re: [Xen-devel] [PATCH v2 22/30] xen/x86: support PVHv2 Dom0 BAR remapping

2016-10-03 Thread Paul Durrant
> -Original Message- > From: Roger Pau Monne [mailto:roger@citrix.com] > Sent: 27 September 2016 16:57 > To: xen-de...@lists.xenproject.org > Cc: konrad.w...@oracle.com; boris.ostrov...@oracle.com; Roger Pau Monne > ; Paul Durrant ; Jan > Beulich ; Andrew Cooper > > Subject: [PATCH v2

Re: [Xen-devel] [PATCH v2 11/30] xen/x86: split Dom0 build into PV and PVHv2

2016-10-03 Thread Roger Pau Monne
On Fri, Sep 30, 2016 at 09:03:34AM -0600, Jan Beulich wrote: > >>> On 27.09.16 at 17:57, wrote: > > --- a/docs/misc/xen-command-line.markdown > > +++ b/docs/misc/xen-command-line.markdown > > @@ -663,6 +663,13 @@ Pin dom0 vcpus to their respective pcpus > > > > Flag that makes a 64bit dom0 boot

[Xen-devel] [distros-debian-sid test] 67789: regressions - FAIL

2016-10-03 Thread Platform Team regression test user
flight 67789 distros-debian-sid real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/67789/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-armhf-pvops 5 kernel-build fail REGR. vs. 67762 Regression

Re: [Xen-devel] [PATCH v2 20/30] xen/x86: add the basic infrastructure to import QEMU passthrough code

2016-10-03 Thread Paul Durrant
> -Original Message- > From: Roger Pau Monne [mailto:roger@citrix.com] > Sent: 27 September 2016 16:57 > To: xen-de...@lists.xenproject.org > Cc: konrad.w...@oracle.com; boris.ostrov...@oracle.com; Roger Pau Monne > ; Jan Beulich ; Andrew Cooper > ; Paul Durrant > Subject: [PATCH v2 20

Re: [Xen-devel] [PATCH v2 19/30] xen/dcpi: add a dpci passthrough handler for hardware domain

2016-10-03 Thread Paul Durrant
> -Original Message- > From: Roger Pau Monne [mailto:roger@citrix.com] > Sent: 27 September 2016 16:57 > To: xen-de...@lists.xenproject.org > Cc: konrad.w...@oracle.com; boris.ostrov...@oracle.com; Roger Pau Monne > ; Paul Durrant ; Jan > Beulich ; Andrew Cooper > > Subject: [PATCH v2

[Xen-devel] [xen-unstable test] 101244: tolerable FAIL

2016-10-03 Thread osstest service owner
flight 101244 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/101244/ Failures :-/ but no regressions. Tests which are failing intermittently (not blocking): test-amd64-amd64-xl-qemut-debianhvm-amd64 9 debian-hvm-install fail in 101242 pass in 101244 test-armhf-armhf-

Re: [Xen-devel] [PATCH] xen/x86: Initialize per_cpu(xen_vcpu, 0) a little earlier

2016-10-03 Thread Sander Eikelenboom
On 2016-10-03 00:45, Boris Ostrovsky wrote: xen_cpuhp_setup() calls mutex_lock() which, when CONFIG_DEBUG_MUTEXES is defined, ends up calling xen_save_fl(). That routine expects per_cpu(xen_vcpu, 0) to be already initialized. Signed-off-by: Boris Ostrovsky Reported-by: Sander Eikelenboom --- S

Re: [Xen-devel] [PATCH v2 13/30] xen: introduce a new format specifier to print sizes in human-readable form

2016-10-03 Thread Paul Durrant
> -Original Message- > From: Xen-devel [mailto:xen-devel-boun...@lists.xen.org] On Behalf Of > Roger Pau Monne > Sent: 27 September 2016 16:57 > To: xen-de...@lists.xenproject.org > Cc: Stefano Stabellini ; Wei Liu > ; George Dunlap ; > Andrew Cooper ; Ian Jackson > ; Tim (Xen.org) ; Jan Be

Re: [Xen-devel] [PATCH v2 03/30] xen/x86: fix parameters and return value of *_set_allocation functions

2016-10-03 Thread Paul Durrant
> -Original Message- > From: Xen-devel [mailto:xen-devel-boun...@lists.xen.org] On Behalf Of > Roger Pau Monne > Sent: 27 September 2016 16:57 > To: xen-de...@lists.xenproject.org > Cc: George Dunlap ; Andrew Cooper > ; Tim (Xen.org) ; Jan Beulich > ; boris.ostrov...@oracle.com; Roger Pau M

[Xen-devel] [PATCH net-next 6/7] xen-netback: batch copies for multiple to-guest rx packets

2016-10-03 Thread Paul Durrant
From: David Vrabel Instead of flushing the copy ops when an packet is complete, complete packets when their copy ops are done. This improves performance by reducing the number of grant copy hypercalls. Latency is still limited by the relatively small size of the copy batch. Signed-off-by: Davi

[Xen-devel] [PATCH net-next 5/7] xen-netback: process guest rx packets in batches

2016-10-03 Thread Paul Durrant
From: David Vrabel Instead of only placing one skb on the guest rx ring at a time, process a batch of up-to 64. This improves performance by ~10% in some tests. Signed-off-by: David Vrabel [re-based] Signed-off-by: Paul Durrant --- Cc: Wei Liu --- drivers/net/xen-netback/rx.c | 15 +

[Xen-devel] [PATCH net-next 4/7] xen-netback: immediately wake tx queue when guest rx queue has space

2016-10-03 Thread Paul Durrant
From: David Vrabel When an skb is removed from the guest rx queue, immediately wake the tx queue, instead of after processing them. Signed-off-by: David Vrabel [re-based] Signed-off-by: Paul Durrant --- Cc: Wei Liu --- drivers/net/xen-netback/rx.c | 24 1 file change

[Xen-devel] [PATCH net-next 7/7] xen/netback: add fraglist support for to-guest rx

2016-10-03 Thread Paul Durrant
From: Ross Lagerwall This allows full 64K skbuffs (with 1500 mtu ethernet, composed of 45 fragments) to be handled by netback for to-guest rx. Signed-off-by: Ross Lagerwall [re-based] Signed-off-by: Paul Durrant --- Cc: Wei Liu --- drivers/net/xen-netback/interface.c | 2 +- drivers/net/xen

[Xen-devel] [PATCH net-next 2/7] xen-netback: retire guest rx side prefix GSO feature

2016-10-03 Thread Paul Durrant
As far as I am aware only very old Windows network frontends make use of this style of passing GSO packets from backend to frontend. These frontends can easily be replaced by the freely available Xen Project Windows PV network frontend, which uses the 'default' mechanism for passing GSO packets, wh

[Xen-devel] [PATCH net-next 0/7] xen-netback: guest rx side refactor

2016-10-03 Thread Paul Durrant
This series refactors the guest rx side of xen-netback: - The code is moved into its own source module. - The prefix variant of GSO handling is retired (since it is no longer in common use, and alternatives exist). - The code is then simplified and modifications made to improve performance.

[Xen-devel] [PATCH net-next 1/7] xen-netback: separate guest side rx code into separate module

2016-10-03 Thread Paul Durrant
The netback source module has become very large and somewhat confusing. This patch simply moves all code related to the backend to frontend (i.e guest side rx) data-path into a separate rx source module. This patch contains no functional change, it is code movement and minimal changes to avoid pat

[Xen-devel] [PATCH net-next 3/7] xen-netback: refactor guest rx

2016-10-03 Thread Paul Durrant
From: David Vrabel Refactor the to-guest (rx) path to: 1. Push responses for completed skbs earlier, reducing latency. 2. Reduce the per-queue memory overhead by greatly reducing the maximum number of grant copy ops in each hypercall (from 4352 to 64). Each struct xenvif_queue is now onl