Shahaf Shuler a482a41a63 net/mlx5: fix secondary process mempool registration
Secondary process is not allowed to register mempools on the flight.

The code will return invalid memory key for such case.

Fixes: 87ec44ce1651 ("net/mlx5: add operations for secondary process")
Cc: stable@dpdk.org

Signed-off-by: Shahaf Shuler <shahafs@mellanox.com>
Signed-off-by: Xueming Li <xuemingl@mellanox.com>
Acked-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
2018-01-29 10:04:28 +01:00
..
2017-08-01 00:08:12 +02:00
2017-10-06 02:49:47 +02:00
2017-04-04 19:02:45 +02:00
2018-01-16 18:47:49 +01:00
2017-04-28 14:46:18 +02:00
2018-01-16 18:47:49 +01:00
2018-01-16 18:47:49 +01:00
2017-11-12 05:02:42 +01:00
2018-01-16 18:47:49 +01:00
2017-11-12 05:02:42 +01:00
2017-04-04 15:52:50 +02:00
2018-01-20 16:10:20 +01:00
2018-01-16 18:47:49 +01:00
2017-08-05 11:37:09 +02:00
2018-01-21 15:51:52 +01:00
2018-01-21 15:51:52 +01:00
2018-01-16 18:47:49 +01:00
2017-10-24 21:28:42 +02:00