qed: Do not advertise DCBX_LLD_MANAGED capability.
authorSudarsana Reddy Kalluru <sudarsana.kalluru@cavium.com>
Tue, 19 Jun 2018 04:58:02 +0000 (21:58 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 24 Aug 2018 11:09:02 +0000 (13:09 +0200)
commit9418ea8cf216abcbed3f3a5a2cea755d3aaa415b
tree7d4ef8170ddcad4ef262d65c4f8ecf6a6f8c5c5b
parent3b29b09a53abd1c8c9d32a8129a47372a93dd15a
qed: Do not advertise DCBX_LLD_MANAGED capability.

[ Upstream commit ff54d5cd9ec15546abc870452dd0b66eef4b4606 ]

Do not advertise DCBX_LLD_MANAGED capability i.e., do not allow
external agent to manage the dcbx/lldp negotiation. MFW acts as lldp agent
for qed* devices, and no other lldp agent is allowed to coexist with mfw.

Also updated a debug print, to not to display the redundant info.

Fixes: a1d8d8a51 ("qed: Add dcbnl support.")
Signed-off-by: Sudarsana Reddy Kalluru <Sudarsana.Kalluru@cavium.com>
Signed-off-by: Ariel Elior <ariel.elior@cavium.com>
Signed-off-by: Michal Kalderon <Michal.Kalderon@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/qlogic/qed/qed_dcbx.c