summary refs log tree commit diff
path: root/drivers/net/bnx2x.h
diff options
context:
space:
mode:
authorEilon Greenstein <eilong@broadcom.com>2009-02-12 08:36:40 +0000
committerDavid S. Miller <davem@davemloft.net>2009-02-15 23:31:14 -0800
commit8a1c38d17d88c8df3dcbea1c01a390ab2087f8ad (patch)
tree786527b3f4b3b7af13380fdc752f00898ebddf44 /drivers/net/bnx2x.h
parent748e543974eec6afb1f55f8430781150d0da8b0a (diff)
downloadlinux-8a1c38d17d88c8df3dcbea1c01a390ab2087f8ad.tar.gz
bnx2x: BW shaper enhancements
Some of the configuration can be set when loading the device and shouldn't be
re-calculated after each link up indication since it is not dependent on the
link speed

Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2x.h')
-rw-r--r--drivers/net/bnx2x.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/bnx2x.h b/drivers/net/bnx2x.h
index b411497a4fd3..b40d4f127d3c 100644
--- a/drivers/net/bnx2x.h
+++ b/drivers/net/bnx2x.h
@@ -883,6 +883,9 @@ struct bnx2x {
 	struct bnx2x_common	common;
 	struct bnx2x_port	port;
 
+	struct cmng_struct_per_port cmng;
+	u32			vn_weight_sum;
+
 	u32			mf_config;
 	u16			e1hov;
 	u8			e1hmf;