WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] [NET] back: Change 'copyall' xenstore nod

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [NET] back: Change 'copyall' xenstore node to 'request-rx-copy', which
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Sat, 19 Aug 2006 02:40:24 +0000
Delivery-date: Fri, 18 Aug 2006 19:42:05 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Node ID 6217dbbba0affcb64aeae7803fc1d3cadf231d51
# Parent  5233c4b076b9aa073eff63508461b7bfa597737c
[NET] back: Change 'copyall' xenstore node to 'request-rx-copy', which
is slightly more informative and mirrors the 'feature-rx-copy' name
which communicates the feature in the other direction (back->front).
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 linux-2.6-xen-sparse/drivers/xen/netback/xenbus.c |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff -r 5233c4b076b9 -r 6217dbbba0af 
linux-2.6-xen-sparse/drivers/xen/netback/xenbus.c
--- a/linux-2.6-xen-sparse/drivers/xen/netback/xenbus.c Wed Aug 16 16:06:32 
2006 +0100
+++ b/linux-2.6-xen-sparse/drivers/xen/netback/xenbus.c Wed Aug 16 16:11:12 
2006 +0100
@@ -355,7 +355,7 @@ static int connect_rings(struct backend_
 {
        struct xenbus_device *dev = be->dev;
        unsigned long tx_ring_ref, rx_ring_ref;
-       unsigned int evtchn, copyall;
+       unsigned int evtchn, rx_copy;
        int err;
        int val;
 
@@ -372,17 +372,18 @@ static int connect_rings(struct backend_
                return err;
        }
 
-       err = xenbus_scanf(XBT_NIL, dev->otherend, "copyall", "%u", &copyall);
+       err = xenbus_scanf(XBT_NIL, dev->otherend, "request-rx-copy", "%u",
+                          &rx_copy);
        if (err == -ENOENT) {
                err = 0;
-               copyall = 0;
+               rx_copy = 0;
        }
        if (err < 0) {
-               xenbus_dev_fatal(dev, err, "reading %s/copyall",
+               xenbus_dev_fatal(dev, err, "reading %s/request-rx-copy",
                                 dev->otherend);
                return err;
        }
-       be->netif->copying_receiver = !!copyall;
+       be->netif->copying_receiver = !!rx_copy;
 
        if (xenbus_scanf(XBT_NIL, dev->otherend, "feature-rx-notify", "%d",
                         &val) < 0)

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [NET] back: Change 'copyall' xenstore node to 'request-rx-copy', which, Xen patchbot-unstable <=