qed: iWARP - Fix tc for MPA ll2 connection
authorMichal Kalderon <michal.kalderon@marvell.com>
Thu, 13 Jun 2019 08:29:42 +0000 (11:29 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 26 Jul 2019 07:14:07 +0000 (09:14 +0200)
commit6a47a42f51cfa5821a82137185db0f1f6442c001
tree2951d909b5169bce27f4ea0176de1f18b7e14a39
parent670fb965da030261bda293b67fb196d6924a4e60
qed: iWARP - Fix tc for MPA ll2 connection

[ Upstream commit cb94d52b93c74fe1f2595734fabeda9f8ae891ee ]

The driver needs to assign a lossless traffic class for the MPA ll2
connection to ensure no packets are dropped when returning from the
driver as they will never be re-transmitted by the peer.

Fixes: ae3488ff37dc ("qed: Add ll2 connection for processing unaligned MPA packets")
Signed-off-by: Ariel Elior <ariel.elior@marvell.com>
Signed-off-by: Michal Kalderon <michal.kalderon@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/qlogic/qed/qed_iwarp.c