diff options
Diffstat (limited to 'drivers/net/bnx2x/bnx2x_dcb.h')
-rw-r--r-- | drivers/net/bnx2x/bnx2x_dcb.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/net/bnx2x/bnx2x_dcb.h b/drivers/net/bnx2x/bnx2x_dcb.h index 71b8eda43bd0..1e14775a18cb 100644 --- a/drivers/net/bnx2x/bnx2x_dcb.h +++ b/drivers/net/bnx2x/bnx2x_dcb.h | |||
@@ -183,9 +183,13 @@ void bnx2x_dcbx_set_state(struct bnx2x *bp, bool dcb_on, u32 dcbx_enabled); | |||
183 | 183 | ||
184 | enum { | 184 | enum { |
185 | BNX2X_DCBX_STATE_NEG_RECEIVED = 0x1, | 185 | BNX2X_DCBX_STATE_NEG_RECEIVED = 0x1, |
186 | BNX2X_DCBX_STATE_TX_PAUSED = 0x2, | 186 | #ifdef BCM_CNIC |
187 | BNX2X_DCBX_STATE_TX_RELEASED = 0x4 | 187 | BNX2X_DCBX_STATE_ISCSI_STOPPED, |
188 | #endif | ||
189 | BNX2X_DCBX_STATE_TX_PAUSED, | ||
190 | BNX2X_DCBX_STATE_TX_RELEASED | ||
188 | }; | 191 | }; |
192 | |||
189 | void bnx2x_dcbx_set_params(struct bnx2x *bp, u32 state); | 193 | void bnx2x_dcbx_set_params(struct bnx2x *bp, u32 state); |
190 | 194 | ||
191 | /* DCB netlink */ | 195 | /* DCB netlink */ |