]> git.droids-corp.org - dpdk.git/commit
common/cnxk: fix bitmap usage for TM
authorNithin Dabilpuram <ndabilpuram@marvell.com>
Thu, 3 Mar 2022 07:00:41 +0000 (12:30 +0530)
committerJerin Jacob <jerinj@marvell.com>
Thu, 3 Mar 2022 17:28:16 +0000 (18:28 +0100)
commit66d485fb50d8de4e78deefebdadc4723c2db2ea2
tree7b07aebece579d378f041e9bb43a4180eb01ebd4
parente816a255f7795710e7d9a12029b766c7e72aedf2
common/cnxk: fix bitmap usage for TM

Revert change [1] to return error on case where no slab of free
resources is found. That error check break's a case where
there is a spare schedule queue to be reused that was just
allocated for sake of contiguous static TM nodes.

[1]
Fixes: 14f7e5d4bf2d ("common/cnxk: add missing checks of return values")
Cc: stable@dpdk.org
Signed-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
drivers/common/cnxk/roc_nix_tm.c