numam-dpdk/lib/compressdev
Raja Zidane c0941508b3 compressdev: fix socket ID type
Socket ID is used and interpreted as integer, one of the possible
values for socket id is -1 (SOCKET_ID_ANY).
here socket_id is defined as unsigned 8 bit integer, so when putting
-1, it is interpreted as 255, which causes allocation errors when
trying to allocate from socket_id (255).

change socket_id from unsigned 8 bit integer to integer.

Fixes: ed7dd94f7f ("compressdev: add basic device management")
Cc: stable@dpdk.org

Signed-off-by: Raja Zidane <rzidane@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
2022-03-04 11:00:06 +01:00
..
meson.build build/windows: remove separate list of libs 2021-10-22 22:40:59 +02:00
rte_comp.c lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
rte_comp.h lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
rte_compressdev_internal.h compressdev: fix socket ID type 2022-03-04 11:00:06 +01:00
rte_compressdev_pmd.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_compressdev_pmd.h lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
rte_compressdev.c lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
rte_compressdev.h lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
version.map lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00