]> git.droids-corp.org - dpdk.git/commit
compress/mlx5: support out-of-space status
authorRaja Zidane <rzidane@nvidia.com>
Sun, 27 Feb 2022 14:00:52 +0000 (16:00 +0200)
committerAkhil Goyal <gakhil@marvell.com>
Fri, 4 Mar 2022 09:41:20 +0000 (10:41 +0100)
commitd2781de684dcbd6ba706332a2d93307fd3918c41
treed9fb3b12f7fbd594ebb4acb17a8b8d8baf5f7439
parent68d3287f4ef43318728e4a134b7aa33d5c52b12d
compress/mlx5: support out-of-space status

When trying to dequeue, an OP may fail due to insufficient
space for the OP output, the compressdev API defines out-of-space
for OP status. The driver can detect out-of-space errors and
report them to the user. Check if hw_error_syndrome specifies
out-of-space and set the OP status accordingly.
Also added an error message for a case of missing B-final flag.

Fixes: f8c97babc9f4 ("compress/mlx5: add data-path functions")
Cc: stable@dpdk.org
Signed-off-by: Raja Zidane <rzidane@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
drivers/common/mlx5/mlx5_prm.h
drivers/compress/mlx5/mlx5_compress.c