net/mlx5: fix initialization in secondary process
authorOlivier Gournet <ogournet@corp.free.fr>
Mon, 17 Oct 2016 12:56:33 +0000 (14:56 +0200)
committerBruce Richardson <bruce.richardson@intel.com>
Wed, 26 Oct 2016 17:38:18 +0000 (19:38 +0200)
commit69491883cb3c10be73b55316b813909dcc61d8c5
tree3a109b5eae32036efdad8a6309de0073e3718c44
parent2c448da6aa1028fd75d631d3aa3c265483042aaa
net/mlx5: fix initialization in secondary process

The changes introduced by previous commits (ones in fixes lines) made
secondaries attempt to reinitialize the Tx queue structures of the primary
instead of their own, for which they also do not allocate enough memory,
leading to crashes.

Fixes: 1d88ba171942 ("net/mlx5: refactor Tx data path")
Fixes: 21c8bb4928c9 ("net/mlx5: split Tx queue structure")

Signed-off-by: Olivier Gournet <ogournet@corp.free.fr>
Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
drivers/net/mlx5/mlx5_ethdev.c