Re: [dpdk-dev] [PATCH v2 4/4] vfio: use the generic multi-process channel

2018-01-13 Thread Burakov, Anatoly
On 11-Jan-18 4:07 AM, Jianfeng Tan wrote: - } - /* fall-through on error */ - default: - RTE_LOG(ERR, EAL, " cannot get container fd!\n"); - close(socket_fd); - return -

[dpdk-dev] [PATCH v2 4/4] vfio: use the generic multi-process channel

2018-01-10 Thread Jianfeng Tan
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