[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>
This commit is contained in:
committed by
Jeff Garzik
parent
efcce83936
commit
8531c5ffbc
@@ -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;
|
||||
};
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user