Mark Zhang 357f3e1756 RDMA/nldev: Fix failure to send large messages
[ Upstream commit fc8f93ad3e5485d45c992233c96acd902992dfc4 ]

Return "-EMSGSIZE" instead of "-EINVAL" when filling a QP entry, so that
new SKBs will be allocated if there's not enough room in current SKB.

Fixes: 65959522f806 ("RDMA: Add support to dump resource tracker in RAW format")
Signed-off-by: Mark Zhang <markzhang@nvidia.com>
Reviewed-by: Patrisious Haddad <phaddad@nvidia.com>
Link: https://lore.kernel.org/r/b5e9c62f6b8369acab5648b661bf539cbceeffdc.1669636336.git.leonro@nvidia.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-01-14 10:15:52 +01:00
..
2021-04-14 08:42:12 +02:00
2020-01-25 15:11:37 -04:00
2020-08-06 16:43:36 -07:00
2021-01-09 13:46:24 +01:00
2020-07-06 14:54:46 -03:00
2020-10-17 11:18:18 -07:00