aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bonding/bonding.h
diff options
context:
space:
mode:
authorArthur Kepner <akepner@sgi.com>2005-08-23 01:34:53 -0400
committerJeff Garzik <jgarzik@pobox.com>2005-08-23 01:34:53 -0400
commit8531c5ffbca65f6df868637c26e6df6f88bff738 (patch)
tree2f4fc2f57c83b4d67e06273df4964dc1d724daa5 /drivers/net/bonding/bonding.h
parentefcce839360fb3a7b6dedeacaec80f68b0f2d052 (diff)
downloadkernel_samsung_aries-8531c5ffbca65f6df868637c26e6df6f88bff738.zip
kernel_samsung_aries-8531c5ffbca65f6df868637c26e6df6f88bff738.tar.gz
kernel_samsung_aries-8531c5ffbca65f6df868637c26e6df6f88bff738.tar.bz2
[PATCH] bonding: inherit zero-copy flags of slaves
This change allows a bonding device to inherit the "zero-copy" features of its slave devices. It was inspired by a couple of previous postings on this topic: http://marc.theaimsgroup.com/?l=bonding-devel&m=111924607327794&w=2 http://marc.theaimsgroup.com/?l=bonding-devel&m=111925242706297&w=2 and it's largely a combination of the patches that appear in those emails. Signed-off-by: Arthur Kepner <akepner@sgi.com>
Diffstat (limited to 'drivers/net/bonding/bonding.h')
-rw-r--r--drivers/net/bonding/bonding.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/bonding/bonding.h b/drivers/net/bonding/bonding.h
index d27f377..3881969 100644
--- a/drivers/net/bonding/bonding.h
+++ b/drivers/net/bonding/bonding.h
@@ -211,6 +211,9 @@ struct bonding {
struct bond_params params;
struct list_head vlan_list;
struct vlan_group *vlgrp;
+ /* the features the bonding device supports, independently
+ * of any slaves */
+ int bond_features;
};
/**