Nélio Laranjeiro ebd0cd832b net/mlx5: fix work queue array size
Indirection table size must be in log to communicate with verbs when the
number of queue is not a power of two, the maximum indirection table
size is use, but not converted to log2.  This makes a memory corruption.

Fixes: 4c7a0f5ff876 ("net/mlx5: make indirection tables shareable")

Signed-off-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
Acked-by: Yongseok Koh <yskoh@mellanox.com>
2017-10-26 02:33:01 +02:00
..
2017-10-26 02:33:01 +02:00
2017-10-12 01:52:49 +01:00
2017-10-26 02:33:01 +02:00
2017-10-26 02:33:01 +02:00
2017-10-12 01:52:49 +01:00
2017-10-26 02:33:01 +02:00