OSDN Git Service

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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Nov 2019 14:54:07 +0000 (15:54 +0100)
commit8f64a1a7ff428a5f43a87433f5a39b222ac0b32a
treeef835a317a3046b79fc5d06626d5a8b83026c89c
parent9d8e2f352c16847d036001c5f8a8bc3440b18bb1
bnx2x: Ignore bandwidth attention in single function mode

[ Upstream commit 75a110a1783ef8324ffd763b24f4ac268253cbca ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c