[dpdk-dev] [PATCH v2 3/3] test/cryptodev: fix handling for config parameters

Dybkowski, AdamX adamx.dybkowski at intel.com
Wed Feb 3 11:31:04 CET 2021


> -----Original Message-----
> From: Power, Ciara <ciara.power at intel.com>
> Sent: Tuesday, 2 February, 2021 17:58
> To: dev at dpdk.org
> Cc: akhil.goyal at nxp.com; Doherty, Declan <declan.doherty at intel.com>;
> Dybkowski, AdamX <adamx.dybkowski at intel.com>; Power, Ciara
> <ciara.power at intel.com>
> Subject: [PATCH v2 3/3] test/cryptodev: fix handling for config parameters
> 
> The crypto perf graphing script did not handle parsing parameters from the JSON
> config files correctly.
> A common parsing function is used for both EAL and app parameters, to ensure
> they are handled the same way and to reduce code duplication.
> Short parameters are now passed with the value being a second argument,
> rather than as one argument with dividing space.
> Long parameters with no expected value are supported for EAL now also.
> e.g. "--no-huge" can be added to config as "no-huge": true
> 
> Fixes: f400e0b82bf1 ("app/crypto-perf: add script to graph perf results")
> 
> Signed-off-by: Ciara Power <ciara.power at intel.com>

Acked-by: Adam Dybkowski <adamx.dybkowski at intel.com>


More information about the dev mailing list