On 20-Mar-18 8:50 AM, Jianfeng Tan wrote:
Previously, vfio uses its own private channel for the secondary
process to get container fd and group fd from the primary process.

This patch changes to use the generic mp channel.

Test:
   1. Bind two NICs to vfio-pci.

   2. Start the primary and secondary process.
     $ (symmetric_mp) -c 2 -- -p 3 --num-procs=2 --proc-id=0
     $ (symmetric_mp) -c 4 --proc-type=auto -- -p 3 \
                                --num-procs=2 --proc-id=1

Cc: anatoly.bura...@intel.com

Signed-off-by: Jianfeng Tan <jianfeng....@intel.com>
---
v5->v6: (Address comments from Anatoly)
   - Naming, return checking, logging.
   - Move vfio action register after rte_bus_probe().

Acked-by: Anatoly Burakov <anatoly.bura...@intel.com>

--
Thanks,
Anatoly

Reply via email to