doc: add Meson coding style to contributors guide
[dpdk.git] / lib / librte_table / rte_table_hash_key16.c
index 2cca1c9..c4384b1 100644 (file)
@@ -33,6 +33,7 @@
 
 #endif
 
+#ifdef RTE_ARCH_64
 struct rte_bucket_4_16 {
        /* Cache line 0 */
        uint64_t signature[4 + 1];
@@ -46,6 +47,22 @@ struct rte_bucket_4_16 {
        /* Cache line 2 */
        uint8_t data[0];
 };
+#else
+struct rte_bucket_4_16 {
+       /* Cache line 0 */
+       uint64_t signature[4 + 1];
+       uint64_t lru_list;
+       struct rte_bucket_4_16 *next;
+       uint32_t pad;
+       uint64_t next_valid;
+
+       /* Cache line 1 */
+       uint64_t key[4][2];
+
+       /* Cache line 2 */
+       uint8_t data[0];
+};
+#endif
 
 struct rte_table_hash {
        struct rte_table_stats stats;