From: kfraser@localhost.localdomain Date: Wed, 16 Aug 2006 15:11:12 +0000 (+0100) Subject: [NET] back: Change 'copyall' xenstore node to 'request-rx-copy', which X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~15710^2~80 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=38cf7a91273b261084171a8c82fcde7da9eefd87;p=xen.git [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 --- diff --git a/linux-2.6-xen-sparse/drivers/xen/netback/xenbus.c b/linux-2.6-xen-sparse/drivers/xen/netback/xenbus.c index f69d770680..6bb87a636e 100644 --- a/linux-2.6-xen-sparse/drivers/xen/netback/xenbus.c +++ b/linux-2.6-xen-sparse/drivers/xen/netback/xenbus.c @@ -355,7 +355,7 @@ static int connect_rings(struct backend_info *be) { 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_info *be) return err; } - err = xenbus_scanf(XBT_NIL, dev->otherend, "copyall", "%u", ©all); + 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)