bnx2x: Ignore bandwidth attention in single function mode
authorShahed Shaikh <Shahed.Shaikh@cavium.com>
Thu, 20 Sep 2018 18:22:51 +0000 (11:22 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 Sep 2018 16:14:21 +0000 (09:14 -0700)
commit75a110a1783ef8324ffd763b24f4ac268253cbca
tree1685af15d222312c532f555d1ef0c5e69a8ce6f0
parent753039650455b0efcbbcc3f1f28ac429f9edd717
bnx2x: Ignore bandwidth attention in single function mode

This is a workaround for FW bug -
MFW generates bandwidth attention in single function mode, which
is only expected to be generated in multi function mode.
This undesired attention in SF mode results in incorrect HW
configuration and resulting into Tx timeout.

Signed-off-by: Shahed Shaikh <Shahed.Shaikh@cavium.com>
Signed-off-by: Ariel Elior <ariel.elior@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c