diff options
author | Shmulik Ravid <shmulikr@broadcom.com> | 2011-05-18 02:55:31 +0000 |
---|---|---|
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) | |
download | linux-0be6bc62cdd5e1bed75b2122ba7d26fc245b534b.tar.bz2 |
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 { /* DCBX Negotiation results */ struct dcbx_features dcbx_local_feat; u32 dcbx_error; +#ifdef BCM_DCBNL + struct dcbx_features dcbx_remote_feat; + u32 dcbx_remote_flags; +#endif u32 pending_max; }; |