]> git.baikalelectronics.ru Git - kernel.git/commit
bnxt_en: Check the FW_LLDP_AGENT flag before allowing DCBX host agent.
authorMichael Chan <michael.chan@broadcom.com>
Sat, 22 Apr 2017 00:11:25 +0000 (20:11 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Apr 2017 17:54:47 +0000 (13:54 -0400)
commitea2fba0ecc1d5b1446d6e9ae5cca60feb59e6d16
treed3f6ccc5c39316d227334bcd4d447f31931bb5de
parent44428a9b9fd63c64cab99f3b643aa6bbb035469a
bnxt_en: Check the FW_LLDP_AGENT flag before allowing DCBX host agent.

Check the additional flag in bnxt_hwrm_func_qcfg() before allowing
DCBX to be done in host mode.

Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.c