bnx2x: Consider DCBX remote error
authorDmitry Kravkov <dmitry@broadcom.com>
Mon, 19 Aug 2013 06:11:58 +0000 (09:11 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Aug 2013 07:21:47 +0000 (00:21 -0700)
commit79b17a9493a79923cc1af4da64e1c4931273f0f5
treebcc7ecc8d9543b1c8221bf6bd46d9bd62181c597
parent07b4eb3b53f692a75fc0bc35c43345f331b7cca4
bnx2x: Consider DCBX remote error

When publishing information via getfeatcfg(), bnx2x driver didn't consider
remote errors (e.g., switch that doesn't support DCBX) when setting the
error flags.

Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: Ariel Elior <ariele@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_dcb.c