qed: Disable RoCE dpm when DCBx change occurs
authorMintz, Yuval <Yuval.Mintz@cavium.com>
Tue, 20 Jun 2017 13:00:02 +0000 (16:00 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Jun 2017 16:34:07 +0000 (12:34 -0400)
commit9331dad1bb7f3438c27e4f57136b6ad683d11fe0
tree214dc8108e0dcecc99cd676e3f584f7eb87ed2b8
parent26462ad9c7ea18643f1a37adeab8b7eff6c5f5f4
qed: Disable RoCE dpm when DCBx change occurs

If DCBx update occurs while QPs are open, stop sending edpms until all
QPs are closed.

Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_dcbx.c
drivers/net/ethernet/qlogic/qed/qed_roce.c
drivers/net/ethernet/qlogic/qed/qed_roce.h