aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/bnx2x/bnx2x_dcb.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/drivers/net/bnx2x/bnx2x_dcb.c b/drivers/net/bnx2x/bnx2x_dcb.c
index b51a759c1036..45cf3ceef144 100644
--- a/drivers/net/bnx2x/bnx2x_dcb.c
+++ b/drivers/net/bnx2x/bnx2x_dcb.c
@@ -19,14 +19,14 @@
19#include <linux/netdevice.h> 19#include <linux/netdevice.h>
20#include <linux/types.h> 20#include <linux/types.h>
21#include <linux/errno.h> 21#include <linux/errno.h>
22#ifdef BCM_DCBNL
23#include <linux/dcbnl.h>
24#endif
25 22
26#include "bnx2x.h" 23#include "bnx2x.h"
27#include "bnx2x_cmn.h" 24#include "bnx2x_cmn.h"
28#include "bnx2x_dcb.h" 25#include "bnx2x_dcb.h"
29 26
27#ifdef BCM_DCBNL
28#include <linux/rtnetlink.h>
29#endif
30 30
31/* forward declarations of dcbx related functions */ 31/* forward declarations of dcbx related functions */
32static void bnx2x_dcbx_stop_hw_tx(struct bnx2x *bp); 32static void bnx2x_dcbx_stop_hw_tx(struct bnx2x *bp);
@@ -702,6 +702,12 @@ void bnx2x_dcbx_set_params(struct bnx2x *bp, u32 state)
702 case BNX2X_DCBX_STATE_TX_RELEASED: 702 case BNX2X_DCBX_STATE_TX_RELEASED:
703 DP(NETIF_MSG_LINK, "BNX2X_DCBX_STATE_TX_RELEASED\n"); 703 DP(NETIF_MSG_LINK, "BNX2X_DCBX_STATE_TX_RELEASED\n");
704 bnx2x_fw_command(bp, DRV_MSG_CODE_DCBX_PMF_DRV_OK, 0); 704 bnx2x_fw_command(bp, DRV_MSG_CODE_DCBX_PMF_DRV_OK, 0);
705#ifdef BCM_DCBNL
706 /**
707 * Send a notification for the new negotiated parameters
708 */
709 dcbnl_cee_notify(bp->dev, RTM_GETDCB, DCB_CMD_CEE_GET, 0, 0);
710#endif
705 return; 711 return;
706 default: 712 default:
707 BNX2X_ERR("Unknown DCBX_STATE\n"); 713 BNX2X_ERR("Unknown DCBX_STATE\n");