[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [3/4] [NET]: Rename feature-tso to feature-gso-tcpv4
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 <herbert@xxxxxxxxxxxxxxxxxxx> Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx> 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) _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |