[dpdk-dev] [PATCH v6] vfio: change to use generic multi-process channel

Burakov, Anatoly anatoly.burakov at intel.com
Thu Apr 12 17:26:08 CEST 2018


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.burakov at intel.com
> 
> Signed-off-by: Jianfeng Tan <jianfeng.tan at 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.burakov at intel.com>

-- 
Thanks,
Anatoly


More information about the dev mailing list