qed: RoCE EDPM to honor PFC
authorMintz, Yuval <Yuval.Mintz@cavium.com>
Tue, 20 Jun 2017 13:00:01 +0000 (16:00 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Jun 2017 16:34:07 +0000 (12:34 -0400)
commit26462ad9c7ea18643f1a37adeab8b7eff6c5f5f4
tree627b19c7e02a73548c689aa77932799284956f73
parent1a4a69751f4d24ffd3530f5a9694636db1566a3b
qed: RoCE EDPM to honor PFC

Configure device according to DCBx results so that EDPMs
made by RoCE would honor flow-control.

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_reg_addr.h