X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Ftable%2Frte_swx_table.h;h=f93e5f3f95b56fed2f194471e49d0970ea5474d4;hb=28dde5da503ed09f10cdfb295e390b114df7330a;hp=e23f2304c6fcdba010f3957b8fab613a4f107a55;hpb=99a2dd955fba6e4cc23b77d590a033650ced9c45;p=dpdk.git diff --git a/lib/table/rte_swx_table.h b/lib/table/rte_swx_table.h index e23f2304c6..f93e5f3f95 100644 --- a/lib/table/rte_swx_table.h +++ b/lib/table/rte_swx_table.h @@ -16,7 +16,8 @@ extern "C" { */ #include -#include + +#include /** Match type. */ enum rte_swx_table_match_type { @@ -68,7 +69,7 @@ struct rte_swx_table_entry { /** Used to facilitate the membership of this table entry to a * linked list. */ - TAILQ_ENTRY(rte_swx_table_entry) node; + RTE_TAILQ_ENTRY(rte_swx_table_entry) node; /** Key value for the current entry. Array of *key_size* bytes or NULL * if the *key_size* for the current table is 0. @@ -111,7 +112,7 @@ struct rte_swx_table_entry { }; /** List of table entries. */ -TAILQ_HEAD(rte_swx_table_entry_list, rte_swx_table_entry); +RTE_TAILQ_HEAD(rte_swx_table_entry_list, rte_swx_table_entry); /** * Table memory footprint get