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:35:38 +0000 (16:35 +0100)
commit58b35c925d5ba9dd0a124cd3f7bbbc4a560e9c91
tree48cd3ad19c2973688b64f1cd08d3e6b392dc4f79
parentb5421330144aad3388b6268a621619f21800d162
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