net/mlx5: allocate verbs object into shared memory
authorXueming Li <xuemingl@mellanox.com>
Fri, 6 Oct 2017 15:45:50 +0000 (23:45 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 12 Oct 2017 00:36:57 +0000 (01:36 +0100)
commit1e3a39f72d5d088cd3038241d799dd102e50f0d2
treee5d04113a316007ecbb06500b468f9ab0655df38
parentf8b9a3bad46702704211d416073090c0bb7cfa6e
net/mlx5: allocate verbs object into shared memory

PMD uses Verbs object which were not available in the shared memory.

This patch modify the location where Verbs objects are allocated (from
process memory address space to shared memory address space) and thus
allow a secondary process to use those object by mapping this shared
memory space its own memory space.

Signed-off-by: Xueming Li <xuemingl@mellanox.com>
Acked-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
drivers/net/mlx5/mlx5.c