[PATCH V3 2/7] table: add entry ID for learner tables

Thomas Monjalon thomas at monjalon.net
Sat Sep 24 10:25:05 CEST 2022


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>





More information about the dev mailing list