> -----Original Message-----
> From: Thomas Monjalon <tho...@monjalon.net>
> Sent: Saturday, September 24, 2022 9:25 AM
> To: Dumitrescu, Cristian <cristian.dumitre...@intel.com>
> Cc: dev@dpdk.org
> Subject: Re: [PATCH V3 2/7] table: add entry ID for learner tables
> 
> 30/08/2022 20:58, Cristian Dumitrescu:
> > @@ -202,6 +213,7 @@ rte_swx_table_learner_lookup(void *table,
> >                          uint8_t **key,
> >                          uint64_t *action_id,
> >                          uint8_t **action_data,
> > +                        size_t *entry_id,
> 
> size_t is not automatically included (I think since a recent commit),
> so I have to add this:
> 
> --- a/lib/table/rte_swx_table_learner.h
> +++ b/lib/table/rte_swx_table_learner.h
> @@ -47,6 +47,7 @@ extern "C" {
>   */
> 
>  #include <stdint.h>
> +#include <sys/types.h>
> 
>  #include <rte_compat.h>
> 
> 

Thanks, Thomas!

Is there a package that I need to update? I am mostly using gcc 11.2.0.

Regards,
Cristian

Reply via email to