diff options
author | Shmulik Ravid <shmulikr@broadcom.com> | 2011-05-17 22:55:31 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-05-18 17:28:52 -0400 |
commit | 0be6bc62cdd5e1bed75b2122ba7d26fc245b534b (patch) | |
tree | 26ba471185895cd1f0648db5111a3aa21720db10 /drivers/net/bnx2x/bnx2x.h | |
parent | 60a34277d5da958e7f39a942e0ed1016a904f6c6 (diff) |
bnx2x: add support for retrieving dcb peer configuration
This patch adds support to the bnx2x for retrieving dcb peer (remote)
configuration from the embedded DCBX stack.
Signed-off-by: Shmulik Ravid <shmulikr@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2x/bnx2x.h')
-rw-r--r-- | drivers/net/bnx2x/bnx2x.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/bnx2x/bnx2x.h b/drivers/net/bnx2x/bnx2x.h index 16a76f074df5..668a578c49e9 100644 --- a/drivers/net/bnx2x/bnx2x.h +++ b/drivers/net/bnx2x/bnx2x.h | |||
@@ -1242,6 +1242,10 @@ struct bnx2x { | |||
1242 | /* DCBX Negotiation results */ | 1242 | /* DCBX Negotiation results */ |
1243 | struct dcbx_features dcbx_local_feat; | 1243 | struct dcbx_features dcbx_local_feat; |
1244 | u32 dcbx_error; | 1244 | u32 dcbx_error; |
1245 | #ifdef BCM_DCBNL | ||
1246 | struct dcbx_features dcbx_remote_feat; | ||
1247 | u32 dcbx_remote_flags; | ||
1248 | #endif | ||
1245 | u32 pending_max; | 1249 | u32 pending_max; |
1246 | }; | 1250 | }; |
1247 | 1251 | ||