# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID be3e07723b734c664dfbde868e53ef6f9dac2b32
# Parent addde2d2d97a7a5d399e4f6c41206cb303a7669b
[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>
---
linux-2.6-xen-sparse/drivers/xen/netback/xenbus.c | 5 +++--
linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c | 4 ++--
2 files changed, 5 insertions(+), 4 deletions(-)
diff -r addde2d2d97a -r be3e07723b73
linux-2.6-xen-sparse/drivers/xen/netback/xenbus.c
--- a/linux-2.6-xen-sparse/drivers/xen/netback/xenbus.c Mon Jul 03 09:06:59
2006 +0100
+++ b/linux-2.6-xen-sparse/drivers/xen/netback/xenbus.c Mon Jul 03 09:07:33
2006 +0100
@@ -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 addde2d2d97a -r be3e07723b73
linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c
--- a/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c Mon Jul 03
09:06:59 2006 +0100
+++ b/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c Mon Jul 03
09:07:33 2006 +0100
@@ -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-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|