summaryrefslogtreecommitdiff
path: root/drivers/net/bonding/bonding.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/bonding/bonding.h')
-rw-r--r--drivers/net/bonding/bonding.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/net/bonding/bonding.h b/drivers/net/bonding/bonding.h
index a9f4f9f..a606ea0 100644
--- a/drivers/net/bonding/bonding.h
+++ b/drivers/net/bonding/bonding.h
@@ -25,6 +25,9 @@
#include <linux/etherdevice.h>
#include "bond_3ad.h"
#include "bond_alb.h"
+#ifdef CONFIG_HW_DISTRIBUTION_WITH_OH
+#include "hw_distribution.h"
+#endif
#define DRV_VERSION "3.7.1"
#define DRV_RELDATE "April 27, 2011"
@@ -167,6 +170,10 @@ struct bond_params {
int resend_igmp;
int lp_interval;
int packets_per_slave;
+#ifdef CONFIG_HW_DISTRIBUTION_WITH_OH
+ struct oh_port_priv *ohp;
+ struct rtnl_link_stats64 oh_stats;
+#endif
};
struct bond_parm_tbl {