bnx2x: Fix PF-VF communication over multi-cos queues.
authorManish Chopra <manishc@marvell.com>
Tue, 5 Nov 2019 05:51:11 +0000 (21:51 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 31 Dec 2019 15:44:46 +0000 (16:44 +0100)
commit197803ca31017f4fe52336a2a220796d0deb647a
treead62f53355a9b64ffaaadf5a5e7d062cdfe3133b
parent6431e1fb7b6ca5496aecedfce3a18c7ead236231
bnx2x: Fix PF-VF communication over multi-cos queues.

[ Upstream commit dc5a3d79c345871439ffe72550b604fcde9770e1 ]

PF driver doesn't enable tx-switching for all cos queues/clients,
which causes packets drop from PF to VF. Fix this by enabling
tx-switching on all cos queues/clients.

Signed-off-by: Manish Chopra <manishc@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c