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)
commit7d63818a35851cf00867248d5ab50a8fe8df5943
treed3f6ccc5c39316d227334bcd4d447f31931bb5de
parent38a21b34aacd4db7b7b74c61afae42ea6718448d
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