common/mlx5: add ConnectX-7 and Bluefield-3 device IDs
[dpdk.git] / lib / librte_table / rte_table_hash_key8.c
index 1811ad8..34e3ed1 100644 (file)
@@ -31,6 +31,7 @@
 
 #endif
 
+#ifdef RTE_ARCH_64
 struct rte_bucket_4_8 {
        /* Cache line 0 */
        uint64_t signature;
@@ -43,6 +44,21 @@ struct rte_bucket_4_8 {
        /* Cache line 1 */
        uint8_t data[0];
 };
+#else
+struct rte_bucket_4_8 {
+       /* Cache line 0 */
+       uint64_t signature;
+       uint64_t lru_list;
+       struct rte_bucket_4_8 *next;
+       uint32_t pad;
+       uint64_t next_valid;
+
+       uint64_t key[4];
+
+       /* Cache line 1 */
+       uint8_t data[0];
+};
+#endif
 
 struct rte_table_hash {
        struct rte_table_stats stats;