diff options
author | Arthur Kepner <akepner@sgi.com> | 2005-08-23 01:34:53 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-08-23 01:34:53 -0400 |
commit | 8531c5ffbca65f6df868637c26e6df6f88bff738 (patch) | |
tree | 2f4fc2f57c83b4d67e06273df4964dc1d724daa5 /drivers/net/bonding/bonding.h | |
parent | efcce839360fb3a7b6dedeacaec80f68b0f2d052 (diff) | |
download | kernel_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.h | 3 |
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; }; /** |