ia64/xen-unstable

changeset 10644:be3e07723b73

[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 <herbert@gondor.apana.org.au>
author kaf24@firebug.cl.cam.ac.uk
date Mon Jul 03 09:07:33 2006 +0100 (2006-07-03)
parents addde2d2d97a
children fd6d12935b56
files linux-2.6-xen-sparse/drivers/xen/netback/xenbus.c linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c
line diff
     1.1 --- a/linux-2.6-xen-sparse/drivers/xen/netback/xenbus.c	Mon Jul 03 09:06:59 2006 +0100
     1.2 +++ b/linux-2.6-xen-sparse/drivers/xen/netback/xenbus.c	Mon Jul 03 09:07:33 2006 +0100
     1.3 @@ -102,9 +102,10 @@ static int netback_probe(struct xenbus_d
     1.4  		}
     1.5  
     1.6  #if 0 /* KAF: After the protocol is finalised. */
     1.7 -		err = xenbus_printf(xbt, dev->nodename, "feature-tso", "%d", 1);
     1.8 +		err = xenbus_printf(xbt, dev->nodename, "feature-gso-tcpv4",
     1.9 +				    "%d", 1);
    1.10  		if (err) {
    1.11 -			message = "writing feature-tso";
    1.12 +			message = "writing feature-gso-tcpv4";
    1.13  			goto abort_transaction;
    1.14  		}
    1.15  #endif
     2.1 --- a/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c	Mon Jul 03 09:06:59 2006 +0100
     2.2 +++ b/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c	Mon Jul 03 09:07:33 2006 +0100
     2.3 @@ -1098,8 +1098,8 @@ static int xennet_set_tso(struct net_dev
     2.4  		struct netfront_info *np = netdev_priv(dev);
     2.5  		int val;
     2.6  
     2.7 -		if (xenbus_scanf(XBT_NIL, np->xbdev->otherend, "feature-tso",
     2.8 -				 "%d", &val) < 0)
     2.9 +		if (xenbus_scanf(XBT_NIL, np->xbdev->otherend,
    2.10 +				 "feature-gso-tcpv4", "%d", &val) < 0)
    2.11  			val = 0;
    2.12  #if 0 /* KAF: After the protocol is finalised. */
    2.13  		if (!val)