qed: Fix SPQ entries not returned to pool in error flows

[ Upstream commit fb5e7438e7 ]

qed_sp_destroy_request() API was added for SPQ users that need to
free/return the entry they acquired in their error flows.

Signed-off-by: Denis Bolotin <denis.bolotin@cavium.com>
Signed-off-by: Michal Kalderon <michal.kalderon@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Denis Bolotin 2018-11-08 16:46:10 +02:00 • committed by Greg Kroah-Hartman
commit b228e58a6f
8 changed files with 45 additions and 15 deletions