[PATCH v1 08/11] test/bbdev: increase max burst size

Maxime Coquelin maxime.coquelin at redhat.com
Tue Oct 17 21:45:57 CEST 2023



On 9/29/23 20:13, Hernan Vargas wrote:
> Increase max burst size to 1023.
> 
> Signed-off-by: Hernan Vargas <hernan.vargas at intel.com>
> ---
>   app/test-bbdev/main.h | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/app/test-bbdev/main.h b/app/test-bbdev/main.h
> index dc10a505d141..ac0083ec6673 100644
> --- a/app/test-bbdev/main.h
> +++ b/app/test-bbdev/main.h
> @@ -16,7 +16,7 @@
>   #define TEST_FAILED     -1
>   #define TEST_SKIPPED    1
>   
> -#define MAX_BURST 512U
> +#define MAX_BURST 1023U

Why not 1024? It does not sound natural to change from a pow2 to a pow2
- 1, maybe add a comment to justify?

>   #define MAX_OPS 1024U
>   #define DEFAULT_BURST 32U
>   #define DEFAULT_OPS 64U



More information about the dev mailing list