]> xenbits.xensource.com Git - people/ssmith/nc2-2.6.27.git/log
people/ssmith/nc2-2.6.27.git
15 years agoAdd netchannel2 VMQ support to an old version of the ixgbe driver. pq_for_merge
Steven Smith [Thu, 1 Oct 2009 09:54:10 +0000 (10:54 +0100)]
Add netchannel2 VMQ support to an old version of the ixgbe driver.

This is a bit of a mess, and doesn't really want to be applied as-is,
but might be useful for testing.

The VMQ patch which I have is against version 1.3.56.5 of the driver,
whereas the current 2.6.27 tree has version 2.0.34.3.  I don't
currently have access to any VMQ-capable hardware, and won't be at
Citrix long enough to acquire any, so this patch just rolls the driver
back to 1.3.56.5 and adds VMQ support to that.

The original VMQ patch was

Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
My only contribution was to run combinediff, but FWIW that's

Signed-off-by: Steven Smith <steven.smith@citrix.com>
15 years agoNC2 VMQ support.
Steven Smith [Thu, 1 Oct 2009 09:05:08 +0000 (10:05 +0100)]
NC2 VMQ support.

This only includes the transmit half, because the receiver uses an
unmodified posted buffers mode implementation.

This includes various bits of patches which were

Signed-off-by: Jose Renato Santos <jsantos@hpl.hp.com>
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Signed-off-by: Steven Smith <steven.smith@citrix.com>
All bugs are mine, of course.

15 years agoPosted buffer mode support.
Steven Smith [Wed, 30 Sep 2009 16:25:00 +0000 (17:25 +0100)]
Posted buffer mode support.

In this mode, domains are expected to pre-post a number of receive
buffers to their peer, and the peer will then copy packets into those
buffers when it wants to transmit.  This is similar to the way
netchannel1 worked.

This isn't particularly useful by itself, because the software-only
implementation is slower than the other transmission modes, and is
disabled unless you set a #define, but it's necessary for VMQ support.

Signed-off-by: Steven Smith <steven.smith@citrix.com>
15 years agoAdd the basic VMQ APIs. Nobody uses or implements them at the moment,
Steven Smith [Thu, 1 Oct 2009 09:21:17 +0000 (10:21 +0100)]
Add the basic VMQ APIs.  Nobody uses or implements them at the moment,
but that will change shortly.

This includes various bits of patches which were

Signed-off-by: Jose Renato Santos <jsantos@hpl.hp.com>
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Signed-off-by: Steven Smith <steven.smith@citrix.com>
All bugs are mine, of course.

15 years agoAdd support for automatically creating and destroying bypass rings
Steven Smith [Fri, 2 Oct 2009 09:29:19 +0000 (10:29 +0100)]
Add support for automatically creating and destroying bypass rings
in response to observed traffic.

This is designed to minimise the overhead of the autobypass machine,
and in particular to minimise the overhead in dom0, potentially at the
cost of not always detecting that a bypass would be useful.  In
particular, it isn't triggered by transmit_policy_small packets, and
so if you have a lot of very small packets then no bypass will be
created.

Signed-off-by: Steven Smith <steven.smith@citrix.com>
15 years agoAdd some userspace tools for managing the creation and destruction of bypass rings.
Steven Smith [Wed, 30 Sep 2009 15:26:52 +0000 (16:26 +0100)]
Add some userspace tools for managing the creation and destruction of bypass rings.

These are pretty skanky.  It's not clear where they should live, or
even whether they should live at all, but they're handy for testing.

Signed-off-by: Steven Smith <steven.smith@citrix.com>
15 years agoBypass support, for both frontend and backend.
Steven Smith [Wed, 30 Sep 2009 15:24:37 +0000 (16:24 +0100)]
Bypass support, for both frontend and backend.

A bypass is an auxiliary ring attached to a netchannel2 interface
which is used to communicate with a particular remote guest,
completely bypassing the bridge in dom0.  This is quite a bit faster,
and can also help to prevent dom0 from becoming a bottleneck on large
systems.

Bypasses are inherently incompatible with packet filtering in domain
0.  This is a moderately unusual configuration (there'll usually be a
firewall protecting the dom0 host stack, but bridge filtering is less
common), and we rely on the user turning off bypasses if they're doing
it.

Signed-off-by: Steven Smith <steven.smith@citrix.com>
15 years agoAdd support for receiver-map mode.
Steven Smith [Wed, 30 Sep 2009 12:28:28 +0000 (13:28 +0100)]
Add support for receiver-map mode.

In this mode of operation, the receiving domain maps the sending
domain's buffers, rather than grant-copying them into local memory.
This is marginally faster, but requires the receiving domain to be
somewhat trusted, because:

a) It can see anything else which happens to be on the same page
   as the transmit buffer, and
b) It can just hold onto the pages indefinitely, causing a memory leak
   in the transmitting domain.

It's therefore only really suitable for talking to a trusted peer, and
we use it in that way.

Signed-off-by: Steven Smith <steven.smith@citrix.com>
15 years agoTSO support.
Steven Smith [Wed, 30 Sep 2009 11:13:09 +0000 (12:13 +0100)]
TSO support.

This includes both TSO-send and TSO-receive support.

Signed-off-by: Steven Smith <steven.smith@citrix.com>
15 years agoJumbogram support.
Steven Smith [Wed, 30 Sep 2009 10:48:13 +0000 (11:48 +0100)]
Jumbogram support.

Most of the hard work was already done, and it just needed to be
plumbed through.

Signed-off-by: Steven Smith <steven.smith@citrix.com>
15 years agoScatter-gather support.
Steven Smith [Wed, 30 Sep 2009 10:37:34 +0000 (11:37 +0100)]
Scatter-gather support.

Signed-off-by: Steven Smith <steven.smith@citrix.com>
15 years agoTransmit and receive checksum offload support.
Steven Smith [Wed, 30 Sep 2009 10:25:17 +0000 (11:25 +0100)]
Transmit and receive checksum offload support.

Signed-off-by: Steven Smith <steven.smith@citrix.com>
15 years agoAdd a fall-back poller, in case finish messages get stuck somewhere.
Steven Smith [Wed, 30 Sep 2009 09:53:53 +0000 (10:53 +0100)]
Add a fall-back poller, in case finish messages get stuck somewhere.

We try to avoid the event channel notification when sending finish
messages, for performance reasons, but that can lead to a deadlock if
you have a lot of packets going in one direction and nothing coming
the other way.  Fix it by just polling for messages every second when
there are unfinished packets outstanding.

Signed-off-by: Steven Smith <steven.smith@citrix.com>
15 years agoAdd a very basic netchannel2 implementation.
Steven Smith [Wed, 30 Sep 2009 08:54:02 +0000 (09:54 +0100)]
Add a very basic netchannel2 implementation.

This is functional, in the sense that packets can be sent and
received, but lacks any advanced features.

Signed-off-by: Steven Smith <steven.smith@citrix.com>
15 years agoExtend the grant tables implementation with an improved allocation batching mechanism.
Steven Smith [Tue, 29 Sep 2009 15:50:37 +0000 (16:50 +0100)]
Extend the grant tables implementation with an improved allocation batching mechanism.

The current batched allocation mechanism only allows grefs to be
withdrawn from the pre-allocated pool one at a time; the new scheme
allows them to be withdrawn in groups.  There aren't currently any
users of this facility, but it will simplify some of the NC2 logic
(coming up shortly).

Signed-off-by: Steven Smith <steven.smith@citrix.com>
15 years agoAdd support for transitive grants.
Steven Smith [Tue, 29 Sep 2009 15:45:29 +0000 (16:45 +0100)]
Add support for transitive grants.

These allow a domain A which has been granted access on a page of
domain B's memory to issue domain C with a copy-grant on the same
page.  This is useful e.g. for forwarding packets between domains.

Signed-off-by: Steven Smith <steven.smith@citrix.com>
15 years agoAdd support for copy only (sub-page) grants. These are like normal
Steven Smith [Tue, 29 Sep 2009 15:41:23 +0000 (16:41 +0100)]
Add support for copy only (sub-page) grants.  These are like normal
access grants, except:

-- They can't be used to map the page (so can only be used in a
   GNTTABOP_copy hypercall).
-- It's possible to grant access with a finer granularity than whole
   pages.
-- Xen guarantees that they can be revoked quickly (a normal map
   grant can only be revoked with the cooperation of the domain which
   has been granted access).

Signed-off-by: Steven Smith <steven.smith@citrix.com>
15 years agoIntroduce support for version 2 grant tables. Use them by default
Steven Smith [Tue, 29 Sep 2009 15:22:45 +0000 (16:22 +0100)]
Introduce support for version 2 grant tables.  Use them by default
when available.

This doesn't include any of the new features, like copy grants or
transitive grants, but it does include most of the V2 infrastructure.

Signed-off-by: Steven Smith <steven.smith@citrix.com>
15 years agoFix a long-standing memory leak in the grant tables implementation.
Steven Smith [Tue, 29 Sep 2009 15:30:09 +0000 (16:30 +0100)]
Fix a long-standing memory leak in the grant tables implementation.
According to the interface comments, gnttab_end_foreign_access() is
supposed to free the page once the grant is no longer in use, from a
polling timer, but that was never implemented.  Implement it.

This shouldn't make any real difference, because the existing drivers
all arrange that with well-behaved backends references are never ended
while they're still in use, but it tidies things up a bit.

Signed-off-by: Steven Smith <steven.smith@citrix.com>
15 years agoRemove some trivial code duplication in gnttab.c.
Steven Smith [Tue, 29 Sep 2009 15:08:13 +0000 (16:08 +0100)]
Remove some trivial code duplication in gnttab.c.

Signed-off-by: Steven Smith <steven.smith@citrix.com>
15 years agoUse the foreign page tracking logic in netback.c. This isn't terribly
Steven Smith [Tue, 29 Sep 2009 15:01:53 +0000 (16:01 +0100)]
Use the foreign page tracking logic in netback.c.  This isn't terribly
useful, but will be necessary if anything else ever introduces mappings
of foreign pages into the network stack.

Signed-off-by: Steven Smith <steven.smith@citrix.com>
15 years agoIntroduce a live_maps facility for tracking which domain foreign pages
Steven Smith [Tue, 29 Sep 2009 14:54:09 +0000 (15:54 +0100)]
Introduce a live_maps facility for tracking which domain foreign pages
were mapped from in a reasonably uniform way.

This isn't terribly useful at present, but will make it much easier to
forward mapped packets between domains when there are multiple drivers
loaded which can produce such packets (e.g. netback1 and netback2).

Signed-off-by: Steven Smith <steven.smith@citrix.com>
15 years agopatch bridge-carrier
Steven Smith [Fri, 2 Oct 2009 11:58:57 +0000 (12:58 +0100)]
patch bridge-carrier

15 years agopatch on-the-fly-cx-change
Steven Smith [Fri, 2 Oct 2009 11:58:57 +0000 (12:58 +0100)]
patch on-the-fly-cx-change

15 years agopatch pass2-driver
Steven Smith [Fri, 2 Oct 2009 11:58:57 +0000 (12:58 +0100)]
patch pass2-driver

15 years agopatch xen-acpi-wmi
Steven Smith [Fri, 2 Oct 2009 11:58:57 +0000 (12:58 +0100)]
patch xen-acpi-wmi

15 years agopatch swiotlb-1meg
Steven Smith [Fri, 2 Oct 2009 11:58:57 +0000 (12:58 +0100)]
patch swiotlb-1meg

15 years agopatch sysrq-loglevel
Steven Smith [Fri, 2 Oct 2009 11:58:57 +0000 (12:58 +0100)]
patch sysrq-loglevel

15 years agopatch oom-debug-me-harder
Steven Smith [Fri, 2 Oct 2009 11:58:57 +0000 (12:58 +0100)]
patch oom-debug-me-harder

15 years agopatch oom-debugging
Steven Smith [Fri, 2 Oct 2009 11:58:57 +0000 (12:58 +0100)]
patch oom-debugging

15 years agoAdd extra debugging code to find out what's going on when unaccounted
Steven Smith [Fri, 2 Oct 2009 11:58:57 +0000 (12:58 +0100)]
Add extra debugging code to find out what's going on when unaccounted
space is used in swap.

15 years ago* * *
Steven Smith [Fri, 2 Oct 2009 11:58:57 +0000 (12:58 +0100)]
* * *

15 years agopatch bridge-no-topology-change-when-no-stp.patch
Steven Smith [Fri, 2 Oct 2009 11:58:57 +0000 (12:58 +0100)]
patch bridge-no-topology-change-when-no-stp.patch

15 years agopatch bonding-vlan-fixes.patch
Steven Smith [Fri, 2 Oct 2009 11:58:57 +0000 (12:58 +0100)]
patch bonding-vlan-fixes.patch

15 years agopatch debug-dump-skb-info-when-invalid
Steven Smith [Fri, 2 Oct 2009 11:58:57 +0000 (12:58 +0100)]
patch debug-dump-skb-info-when-invalid

15 years agopatch bonding-no-updelay-on-first-active-slave.patch
Steven Smith [Fri, 2 Oct 2009 11:58:57 +0000 (12:58 +0100)]
patch bonding-no-updelay-on-first-active-slave.patch

15 years agopatch bonding-balance-slb-fixes3.patch
Steven Smith [Fri, 2 Oct 2009 11:58:57 +0000 (12:58 +0100)]
patch bonding-balance-slb-fixes3.patch

15 years agopatch bonding-balance-slb-fixes2.patch
Steven Smith [Fri, 2 Oct 2009 11:58:57 +0000 (12:58 +0100)]
patch bonding-balance-slb-fixes2.patch

15 years agopatch bonding-balance-slb-fixes.patch
Steven Smith [Fri, 2 Oct 2009 11:58:57 +0000 (12:58 +0100)]
patch bonding-balance-slb-fixes.patch

15 years agopatch quiet-no-ufo
Steven Smith [Fri, 2 Oct 2009 11:58:57 +0000 (12:58 +0100)]
patch quiet-no-ufo

15 years agopatch promisc-bridging
Steven Smith [Fri, 2 Oct 2009 11:58:57 +0000 (12:58 +0100)]
patch promisc-bridging

15 years agopatch bonding-default-slb.patch
Steven Smith [Fri, 2 Oct 2009 11:58:57 +0000 (12:58 +0100)]
patch bonding-default-slb.patch

15 years agopatch bonding-balance-slb.patch
Steven Smith [Fri, 2 Oct 2009 11:58:57 +0000 (12:58 +0100)]
patch bonding-balance-slb.patch

15 years agopatch bridge-locate-physical-device.patch
Steven Smith [Fri, 2 Oct 2009 11:58:57 +0000 (12:58 +0100)]
patch bridge-locate-physical-device.patch

15 years ago* * *
Steven Smith [Fri, 2 Oct 2009 11:58:57 +0000 (12:58 +0100)]
* * *

15 years agopatch vswitch-0.90.1.0.patch
Steven Smith [Fri, 2 Oct 2009 11:58:57 +0000 (12:58 +0100)]
patch vswitch-0.90.1.0.patch

15 years agoAdd a new ioctl to /proc/xen/privcmd which allows you to do certain
Steven Smith [Fri, 2 Oct 2009 11:58:57 +0000 (12:58 +0100)]
Add a new ioctl to /proc/xen/privcmd which allows you to do certain
XENMEM operations on restricted fds.

15 years agoAdd a new ioctl to /proc/xen/privcmd which allows SCHEDOP_shutdown to
Steven Smith [Fri, 2 Oct 2009 11:58:57 +0000 (12:58 +0100)]
Add a new ioctl to /proc/xen/privcmd which allows SCHEDOP_shutdown to
be applied on restricted fds.

15 years agoAdd a new ioctl to /proc/xen/privcmd which allows HVM operations to be
Steven Smith [Fri, 2 Oct 2009 11:58:57 +0000 (12:58 +0100)]
Add a new ioctl to /proc/xen/privcmd which allows HVM operations to be
performed on restricted domains.

15 years agoAdd a new ioctl to /proc/xen/privcmd which allows domctls to be performed
Steven Smith [Fri, 2 Oct 2009 11:58:57 +0000 (12:58 +0100)]
Add a new ioctl to /proc/xen/privcmd which allows domctls to be performed
without using the generic hypercall interface, so that they are available
on restricted fds.

This requires an unfortunate amount of fiddling with headers so that
XEN_GUEST_HANDLE_64 and uint64_aligned_t are available in kernel
space.

15 years agoAdd a RESTRICT ioctl to /proc/xen/privcmd, which allows a privcommand
Steven Smith [Fri, 2 Oct 2009 11:58:57 +0000 (12:58 +0100)]
Add a RESTRICT ioctl to /proc/xen/privcmd, which allows a privcommand
file descriptor to be restricted to only work with one domain.

Certain difficult operations, like hypercalls, are prohibited completely
on restricted handles.

15 years agoAdd a RESTRICT ioctl to /dev/xen/evtchn, which allows an event channel
Steven Smith [Fri, 2 Oct 2009 11:58:57 +0000 (12:58 +0100)]
Add a RESTRICT ioctl to /dev/xen/evtchn, which allows an event channel
file descriptor to be restricted to only working with a particular domain.

15 years agopatch CA-13783-ipmi-fixes
Steven Smith [Fri, 2 Oct 2009 11:58:56 +0000 (12:58 +0100)]
patch CA-13783-ipmi-fixes

15 years agopatch CA-14400-reduce-printk-levels
Steven Smith [Fri, 2 Oct 2009 11:58:56 +0000 (12:58 +0100)]
patch CA-14400-reduce-printk-levels

15 years agopatch quiet-intel-rng
Steven Smith [Fri, 2 Oct 2009 11:58:57 +0000 (12:58 +0100)]
patch quiet-intel-rng

15 years agopatch quiet-sd-cache-info
Steven Smith [Fri, 2 Oct 2009 11:58:57 +0000 (12:58 +0100)]
patch quiet-sd-cache-info

15 years agopatch quieten-serio-i8042-warning.patch
Steven Smith [Fri, 2 Oct 2009 11:58:57 +0000 (12:58 +0100)]
patch quieten-serio-i8042-warning.patch

15 years agoIndex: tmp-ca4382/fs/fat/inode.c
Steven Smith [Fri, 2 Oct 2009 11:58:57 +0000 (12:58 +0100)]
Index: tmp-ca4382/fs/fat/inode.c
===================================================================

15 years agopatch kernel-configuration
Steven Smith [Fri, 2 Oct 2009 11:58:57 +0000 (12:58 +0100)]
patch kernel-configuration

15 years agopatch enable-xen-save-restore.patch
Steven Smith [Fri, 2 Oct 2009 11:58:57 +0000 (12:58 +0100)]
patch enable-xen-save-restore.patch

15 years agopatch increase-nr-dynirq
Steven Smith [Fri, 2 Oct 2009 11:58:57 +0000 (12:58 +0100)]
patch increase-nr-dynirq

15 years agopatch create_config.sh-x86_64-sane-default
Steven Smith [Fri, 2 Oct 2009 11:58:57 +0000 (12:58 +0100)]
patch create_config.sh-x86_64-sane-default

15 years agopatch utility-guest
Steven Smith [Fri, 2 Oct 2009 11:58:57 +0000 (12:58 +0100)]
patch utility-guest

15 years agopatch config-create_config-script
Steven Smith [Fri, 2 Oct 2009 11:58:57 +0000 (12:58 +0100)]
patch config-create_config-script

15 years agoWatch the online node in the backend area, as well as the state node
Steven Smith [Fri, 2 Oct 2009 11:58:57 +0000 (12:58 +0100)]
Watch the online node in the backend area, as well as the state node
in the frontend area, and fire the frontend state changed watch
whenever it changes.  This allows us to catch the case where a device
shuts down in a domU and then gets xm detach'd from in dom0.

Otherwise, the backend doesn't shut down correctly, since online was
set when the frontend shut down and we don't get another kick when it
becomes unset.

15 years ago__gnttab_dma_map_page can be called from a softirq (via the network
Steven Smith [Fri, 2 Oct 2009 11:58:57 +0000 (12:58 +0100)]
__gnttab_dma_map_page can be called from a softirq (via the network
transmit softirq for example) therefor gnttab_copy_grant_page needs to
take gntab_dma_lock in an interrupt safe manner.

15 years ago# HG changeset patch
Steven Smith [Fri, 2 Oct 2009 11:58:57 +0000 (12:58 +0100)]
# HG changeset patch
# User rread@ubuntu.eng.hq.xensource.com
# Node ID 86a2de4955f301841fb7d254e9dd5d801d108deb
# Parent  2a2de73f10ef15f396d54e31953e7bc4640e9252
[xen-xo] CA-259 fake out GET_IDLUN scsi ioctl

Signed-off-by: Andrew Peace <andrew.peace@xensource.com>
Signed-off-by: Robert Read <rread@xensource.com>
15 years agopatch export-pci_walk_bus.patch
Steven Smith [Fri, 2 Oct 2009 11:58:57 +0000 (12:58 +0100)]
patch export-pci_walk_bus.patch

15 years agopatch flr-change-sbr-d3r-lists
Steven Smith [Fri, 2 Oct 2009 11:58:57 +0000 (12:58 +0100)]
patch flr-change-sbr-d3r-lists

15 years agopatch remove-release-flr
Steven Smith [Fri, 2 Oct 2009 11:58:57 +0000 (12:58 +0100)]
patch remove-release-flr

15 years agopatch pciback-flr
Steven Smith [Fri, 2 Oct 2009 11:58:57 +0000 (12:58 +0100)]
patch pciback-flr

15 years agopatch netback-fix-receive-checksum-setup.patch
Steven Smith [Fri, 2 Oct 2009 11:58:57 +0000 (12:58 +0100)]
patch netback-fix-receive-checksum-setup.patch

15 years agopatch netback-thread
Steven Smith [Fri, 2 Oct 2009 11:58:57 +0000 (12:58 +0100)]
patch netback-thread

15 years agopatch netback-defensive.patch
Steven Smith [Fri, 2 Oct 2009 11:58:57 +0000 (12:58 +0100)]
patch netback-defensive.patch

15 years agoThere's no point in sending lots of little packets to a copying
Steven Smith [Fri, 2 Oct 2009 11:58:57 +0000 (12:58 +0100)]
There's no point in sending lots of little packets to a copying
receiver if we can instead arrange to copy them all into a single RX
buffer.  We need to copy anyway, so there's no overhead here, and this
is a little bit easier on the receiving domain's network stack.

15 years agoEnsure that packet csums are computed correctly when sending a GSO
Steven Smith [Fri, 2 Oct 2009 11:58:57 +0000 (12:58 +0100)]
Ensure that packet csums are computed correctly when sending a GSO
packet to an interface which supports scatter-gather but not transmit
checksum offloads.

Signed-off-by: Steven Smith <ssmith@xensource.com>
15 years ago[NETBACK] Try to pull a minimum of 72 bytes into the skb data area
Steven Smith [Fri, 2 Oct 2009 11:58:57 +0000 (12:58 +0100)]
[NETBACK] Try to pull a minimum of 72 bytes into the skb data area
when receiving a packet into netback.  The previous number, 64, tended
to place a fragment boundary in the middle of the TCP header options
and led to unnecessary fragmentation in Windows <-> Windows
networking.

Signed-off-by: Steven Smith <ssmith@xensource.com>
15 years agoIt is possible for a frontend to generate a TSO request which doesn't
Steven Smith [Fri, 2 Oct 2009 11:58:57 +0000 (12:58 +0100)]
It is possible for a frontend to generate a TSO request which doesn't
actually need segmentation (i.e. with size < MTU).  Make sure this
doesn't crash the backend.

15 years agoThe Windows drivers push the network frontend to state Closed, then
Steven Smith [Fri, 2 Oct 2009 11:58:57 +0000 (12:58 +0100)]
The Windows drivers push the network frontend to state Closed, then
Initialised, then Closed again as part of device disable.  Make sure
the backend doesn't get stuck at closed.

15 years agoArrange that netback waits for the hotplug scripts to complete before
Steven Smith [Fri, 2 Oct 2009 11:58:57 +0000 (12:58 +0100)]
Arrange that netback waits for the hotplug scripts to complete before
going to state Connected.  WHQL gets quite upset if it sends packets
which don't arrive, and that can happen if our hotplug scripts are
slow and don't hook the network interface up to the bridge in time.

15 years agopatch netback-watch-csum-offload
Steven Smith [Fri, 2 Oct 2009 11:58:57 +0000 (12:58 +0100)]
patch netback-watch-csum-offload

15 years agopatch disconnect-netback-on-close
Steven Smith [Fri, 2 Oct 2009 11:58:57 +0000 (12:58 +0100)]
patch disconnect-netback-on-close

15 years agoIt turns out that Windows occasionally generates packets in which the
Steven Smith [Fri, 2 Oct 2009 11:58:57 +0000 (12:58 +0100)]
It turns out that Windows occasionally generates packets in which the
IP and TCP headers are in different fragments.  Make sure that the
backends can handle this.

15 years agoAdd support to netback for delivering packets at a certain offset into
Steven Smith [Fri, 2 Oct 2009 11:58:57 +0000 (12:58 +0100)]
Add support to netback for delivering packets at a certain offset into
the page.

15 years agocommit 3976878f6d3c6faa1aed3a9d40ccf8c10647cd36
Steven Smith [Fri, 2 Oct 2009 11:58:56 +0000 (12:58 +0100)]
commit 3976878f6d3c6faa1aed3a9d40ccf8c10647cd36
Author: Ian Campbell <Ian.Campbell@citrix.com>
Date:   Fri Mar 27 15:44:31 2009 +0000

    blktap: cleanup usage of sysfs
    - do not deadock when writing to remove node
    - check __must_check function return values

15 years agopatch forward-port-block-drivers.patch
Steven Smith [Fri, 2 Oct 2009 11:58:57 +0000 (12:58 +0100)]
patch forward-port-block-drivers.patch

15 years agopatch blktap_multi_page_ring
Steven Smith [Fri, 2 Oct 2009 11:58:56 +0000 (12:58 +0100)]
patch blktap_multi_page_ring

15 years agopatch blkback_multi_page_ring
Steven Smith [Fri, 2 Oct 2009 11:58:56 +0000 (12:58 +0100)]
patch blkback_multi_page_ring

15 years agoCA-27974: Fix blktap shutdown race due to improper event ordering.
Steven Smith [Fri, 2 Oct 2009 11:58:56 +0000 (12:58 +0100)]
CA-27974: Fix blktap shutdown race due to improper event ordering.

Writing shutdown-done before switching device state to closed (6)
opens a remarkably small race window to fall through: The agent
removes the device directory just before the write to the 'state'
field will recreate it again. This in turn leads to xenbus failing to
remove the device, since removal is guided by directory existence.

With shutdown-done and connection state being rather independent,
trivially fixing event ordering to write shutdown-done last appears
safe but mandatory. Comment this tiny detail.

15 years agoprefer spin_lock_init to SPIN_LOCK_UNLOCKED.
Steven Smith [Fri, 2 Oct 2009 11:58:56 +0000 (12:58 +0100)]
prefer spin_lock_init to SPIN_LOCK_UNLOCKED.

The former is prefered and keep lockdep happy.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
15 years agoCA-24604: Signal blktap kthread start as a state change notification to udev.
Steven Smith [Fri, 2 Oct 2009 11:58:56 +0000 (12:58 +0100)]
CA-24604: Signal blktap kthread start as a state change notification to udev.

15 years agoCA-25742: Forward a shutdown-request="force" to userspace from blktap.
Steven Smith [Fri, 2 Oct 2009 11:58:56 +0000 (12:58 +0100)]
CA-25742: Forward a shutdown-request="force" to userspace from blktap.

15 years agopatch blktap2
Steven Smith [Fri, 2 Oct 2009 11:58:56 +0000 (12:58 +0100)]
patch blktap2

15 years agopatch blkback-pagemap
Steven Smith [Fri, 2 Oct 2009 11:58:56 +0000 (12:58 +0100)]
patch blkback-pagemap

15 years agopatch CA-24784-resource-leak
Steven Smith [Fri, 2 Oct 2009 11:58:56 +0000 (12:58 +0100)]
patch CA-24784-resource-leak

15 years agopatch CA-24267-blkback-unpause
Steven Smith [Fri, 2 Oct 2009 11:58:56 +0000 (12:58 +0100)]
patch CA-24267-blkback-unpause

15 years agopatch CA-20346-blktap-vma-unmap
Steven Smith [Fri, 2 Oct 2009 11:58:56 +0000 (12:58 +0100)]
patch CA-20346-blktap-vma-unmap

15 years agopatch blk-latency-stats
Steven Smith [Fri, 2 Oct 2009 11:58:56 +0000 (12:58 +0100)]
patch blk-latency-stats

15 years agopatch ratelimit-blktap-wprintk
Steven Smith [Fri, 2 Oct 2009 11:58:57 +0000 (12:58 +0100)]
patch ratelimit-blktap-wprintk

15 years agoClose block devices when the pv drivers take over and flush the buffer cache.
Steven Smith [Fri, 2 Oct 2009 11:58:57 +0000 (12:58 +0100)]
Close block devices when the pv drivers take over and flush the buffer cache.
- close and free the block devices in qemu when we switch to pv drivers in
  the guest
- use BLKFLSBUF to flush the buffer cache, both in qemu and in blkback