[dpdk-dev] [PATCH v2] baseband/turbo_sw: optimization of turbo software driver

De Lara Guarch, Pablo pablo.de.lara.guarch at intel.com
Tue Apr 24 19:53:33 CEST 2018



> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of KamilX Chalupnik
> Sent: Tuesday, April 17, 2018 3:34 PM
> To: dev at dpdk.org
> Cc: Mokhtar, Amr <amr.mokhtar at intel.com>; Chalupnik, KamilX
> <kamilx.chalupnik at intel.com>
> Subject: [dpdk-dev] [PATCH v2] baseband/turbo_sw: optimization of turbo
> software driver

Optimization of the driver is not a good title, in my opinion.
Instead, call out what you are actually changing.
You should separate this patch into two patches, based on the two bullet points below.

> 
> Optimization of Turbo Software driver:
> - resource-hungry piece of code removed or optimized
> - validation of decoder/encoder parameters put under debug flug
> 

...

> 
> +#ifdef RTE_LIBRTE_BBDEV_DEBUG

Where is this macro defined?
In DPDK we are avoiding the use of compile time options when possible,
so it is a better idea to use a runtime option to avoid the execution of part of the code
(passed through device configuration maybe?). Otherwise, compilation checking
gets more difficult.




More information about the dev mailing list