diff options
author | Dmitry Kravkov <dmitry@broadcom.com> | 2011-11-13 04:34:25 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-11-13 16:03:54 -0500 |
commit | 00253a8cf3119af6cb07c9de2c08a50d39fc7201 (patch) | |
tree | bf1a57a3eea158bb2927db82a8032b398650b4b6 /drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c | |
parent | b306f5edf6615d3abeba16914872c24c9be29051 (diff) | |
download | lwn-00253a8cf3119af6cb07c9de2c08a50d39fc7201.tar.gz lwn-00253a8cf3119af6cb07c9de2c08a50d39fc7201.zip |
bnx2x: propagate DCBX negotiation
We need propagate the DCBX results from PMF to other functions
on the same port, in order to properly update netdev structure
and allow following new ETS and PFC configurations.
Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c')
-rw-r--r-- | drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c index 3f80c11a29a7..e9a91a347c75 100644 --- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c +++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c @@ -1927,7 +1927,9 @@ int bnx2x_nic_load(struct bnx2x *bp, int load_mode) break; } - if (!bp->port.pmf) + if (bp->port.pmf) + bnx2x_update_drv_flags(bp, DRV_FLAGS_DCB_CONFIGURED, 0); + else bnx2x__link_status_update(bp); /* start the timer */ |