OSDN Git Service

bnx2x: prevent timeouts when using PFC
authorYaniv Rosner <yaniv.rosner@broadcom.com>
Tue, 11 Sep 2012 04:34:10 +0000 (04:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Sep 2012 20:37:52 +0000 (16:37 -0400)
commit375944cb7c96bf66914a73b1858e5865c439b335
tree01b0300097d038edb86d1212d9053016f1c5de96
parent217aeb896a4a9f00006ce4b193c216f739234296
bnx2x: prevent timeouts when using PFC

Prevent updating the xmac PFC configuration when using a link speed
slower than 10G -the umac block is responsible for 1G or slower connections,
therefore it is possible the xmac block is reset when connection is slower.

Signed-off-by: Yaniv Rosner <yaniv.rosner@broadcom.com>
Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c