commit | 9315edca9b1d0daf41f81e1f5d4fb995d3cbc634 | [log] [tgz] |
---|---|---|
author | Michael Chan <michael.chan@broadcom.com> | Mon Jul 24 12:34:25 2017 -0400 |
committer | David S. Miller <davem@davemloft.net> | Mon Jul 24 17:29:58 2017 -0700 |
tree | 6fb04a9f9f529c6e2a7f6a368c83a1b75449173b | |
parent | adcc331e42e639ea44ac3c746db6c7207c3f69c0 [diff] |
bnxt_en: Report firmware DCBX agent. Report DCB_CAP_DCBX_LLD_MANAGED only if the firmware DCBX agent is enabled and running for PF or VF. Otherwise, if both LLDP and DCBX agents are disabled in firmware, we report DCB_CAP_DCBX_LLD_HOST and allow host IEEE DCB settings. This patch refines the current logic in the driver. Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>