bnxt_en: Check if firmware LLDP agent is running.
authorMichael Chan <michael.chan@broadcom.com>
Wed, 8 Mar 2017 23:44:34 +0000 (18:44 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Mar 2017 01:38:31 +0000 (17:38 -0800)
commitbc39f885a9c3bdbff0a96ecaf07b162a78eff6e4
tree86f3639682d9d8b91ac1d4ca884bf60ca4a9818f
parentb386cd362ffea09d05c56bfa85d104562e860647
bnxt_en: Check if firmware LLDP agent is running.

Set DCB_CAP_DCBX_HOST capability flag only if the firmware LLDP agent
is not running.

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
drivers/net/ethernet/broadcom/bnxt/bnxt.h
drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c