From: Herbert Xu Subject: [3/4] [NET]: Rename feature-tso to feature-gso-tcpv4 Date: Mon, 3 Jul 2006 14:46:11 +1000 Message-ID: <20060703044611.GC22928@gondor.apana.org.au> References: <20060630124703.GA23466@gondor.apana.org.au> <69ce918a310b3e9597230c7d8521eed3@cl.cam.ac.uk> <20060630132141.GA23719@gondor.apana.org.au> <6119c0c588ef3a01c19119bda86298fd@cl.cam.ac.uk> <20060701032609.GA29803@gondor.apana.org.au> <20060701033315.GA30050@gondor.apana.org.au> <69b713d882b30e730f7e83514eebe737@cl.cam.ac.uk> <20060701095948.GA387@gondor.apana.org.au> <20060701123825.GA4387@gondor.apana.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20060701123825.GA4387@gondor.apana.org.au> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: Xen Development Mailing List List-Id: xen-devel@lists.xenproject.org Hi: [NET]: Rename feature-tso to feature-gso-tcpv4 This patch renames the name feature-tso to feature-gso-tcpv4 for future expansion. Signed-off-by: Herbert Xu Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- diff -r 8c37d0d4526e -r 8c5fd9867b3c linux-2.6-xen-sparse/drivers/xen/netback/xenbus.c --- a/linux-2.6-xen-sparse/drivers/xen/netback/xenbus.c Mon Jul 03 14:31:15 2006 +1000 +++ b/linux-2.6-xen-sparse/drivers/xen/netback/xenbus.c Mon Jul 03 14:35:47 2006 +1000 @@ -102,9 +102,10 @@ static int netback_probe(struct xenbus_d } #if 0 /* KAF: After the protocol is finalised. */ - err = xenbus_printf(xbt, dev->nodename, "feature-tso", "%d", 1); + err = xenbus_printf(xbt, dev->nodename, "feature-gso-tcpv4", + "%d", 1); if (err) { - message = "writing feature-tso"; + message = "writing feature-gso-tcpv4"; goto abort_transaction; } #endif diff -r 8c37d0d4526e -r 8c5fd9867b3c linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c --- a/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c Mon Jul 03 14:31:15 2006 +1000 +++ b/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c Mon Jul 03 14:35:47 2006 +1000 @@ -1098,8 +1098,8 @@ static int xennet_set_tso(struct net_dev struct netfront_info *np = netdev_priv(dev); int val; - if (xenbus_scanf(XBT_NIL, np->xbdev->otherend, "feature-tso", - "%d", &val) < 0) + if (xenbus_scanf(XBT_NIL, np->xbdev->otherend, + "feature-gso-tcpv4", "%d", &val) < 0) val = 0; #if 0 /* KAF: After the protocol is finalised. */ if (!val)