Skip to content
Commit 7c6d5041 authored by Satha Rao's avatar Satha Rao Committed by Greg Kroah-Hartman
Browse files

octeontx2-af: fixed resource availability check

[ Upstream commit 4e635f9d ]

txschq_alloc response have two different arrays to store continuous
and non-continuous schedulers of each level. Requested count should
be checked for each array separately.

Fixes: 5d9b976d

 ("octeontx2-af: Support fixed transmit scheduler topology")
Signed-off-by: default avatarSatha Rao <skoteshwar@marvell.com>
Signed-off-by: default avatarSunil Kovvuri Goutham <sgoutham@marvell.com>
Signed-off-by: default avatarNaveen Mamindlapalli <naveenm@marvell.com>
Reviewed-by: default avatarSridhar Samudrala <sridhar.samudrala@intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent b4a3cae5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment