]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bnxt_en: Call bnxt_dcb_init() after getting firmware DCBX configuration.
authorMichael Chan <michael.chan@broadcom.com>
Tue, 16 May 2017 20:39:43 +0000 (16:39 -0400)
committerSomasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
Tue, 11 Jul 2017 00:04:09 +0000 (17:04 -0700)
commiteebecf502ea6c0e3d51c41a56923088572b1a2dd
tree1b7003fd44c9daf6080347c54d9f01bfea800e82
parent8c2876b86e2ec7d2f6f46a380d64d43f0cd2a74b
bnxt_en: Call bnxt_dcb_init() after getting firmware DCBX configuration.

Orabug: 264025332632559926366387

In the current code, bnxt_dcb_init() is called too early before we
determine if the firmware DCBX agent is running or not.  As a result,
we are not setting the DCB_CAP_DCBX_HOST and DCB_CAP_DCBX_LLD_MANAGED
flags properly to report to DCBNL.

Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 87fe603274aa9889c05cca3c3e45675e1997cb13)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
Conflicts:
drivers/net/ethernet/broadcom/bnxt/bnxt.c
Signed-off-by: Somasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
drivers/net/ethernet/broadcom/bnxt/bnxt.c