[dpdk-dev] [PATCH] app/test-pipeline: Fix table hash lru initialization

Dumitrescu, Cristian cristian.dumitrescu at intel.com
Fri Sep 23 16:37:08 CEST 2016



> -----Original Message-----
> From: Rao, GuruprasadX
> Sent: Friday, September 23, 2016 2:55 PM
> To: dev at dpdk.org
> Cc: Chokkalingam, SankarX <sankarx.chokkalingam at intel.com>; Dumitrescu,
> Cristian <cristian.dumitrescu at intel.com>; Singh, Jasvinder
> <jasvinder.singh at intel.com>
> Subject: [PATCH] app/test-pipeline: Fix table hash lru initialization
> 
> macro ‘APP_METADATA_OFFSET’ was not used to initialize
> ‘signature_offset’ and ‘key_offset’ part of struct
> rte_table_hash_lru_params.
> Instead integer offset values were directly used.
> 
> with this fix 'hash-8-lru', 'hash-16-lru', 'hash-32-lru' table types are
> able to forward traffic as expected.
> 
> Fixes: 48f31ca50cc4 ("app/pipeline: packet framework benchmark")
> 
> Signed-off-by: Sankar Chokkalingam <sankarx.chokkalingam at intel.com>
> Signed-off-by: Guruprasad Rao <guruprasadx.rao at intel.com>
> ---
>  app/test-pipeline/pipeline_hash.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 

Acked-by: Cristian Dumitrescu <cristian.dumitrescu at intel.com>



More information about the dev mailing list