]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/mlx5/mlx5.h
mlx5: use separate indirection table for default hash Rx queue
[dpdk.git] / drivers / net / mlx5 / mlx5.h
index 4407b188c44d55547037b0d83a6cc238982dd33e..29fc1dade73f3ff7e0a805252189d4c0b01dc094 100644 (file)
@@ -106,8 +106,9 @@ struct priv {
        unsigned int txqs_n; /* TX queues array size. */
        struct rxq *(*rxqs)[]; /* RX queues. */
        struct txq *(*txqs)[]; /* TX queues. */
-       /* Indirection table referencing all RX WQs. */
-       struct ibv_exp_rwq_ind_table *ind_table;
+       /* Indirection tables referencing all RX WQs. */
+       struct ibv_exp_rwq_ind_table *(*ind_tables)[];
+       unsigned int ind_tables_n; /* Number of indirection tables. */
        /* Hash RX QPs feeding the indirection table. */
        struct hash_rxq (*hash_rxqs)[];
        unsigned int hash_rxqs_n; /* Hash RX QPs array size. */