[dpdk-dev] [PATCH v3 1/5] eal: bring forward multi-process channel init
Tan, Jianfeng
jianfeng.tan at intel.com
Fri Apr 20 16:08:25 CEST 2018
On 4/20/2018 4:16 PM, Burakov, Anatoly wrote:
> On 19-Apr-18 5:50 PM, Jianfeng Tan wrote:
>> Adjust the init sequence: put mp channel init before bus scan
>> so that we can init the vdev bus through mp channel in the
>> secondary process before the bus scan.
>>
>> Signed-off-by: Jianfeng Tan <jianfeng.tan at intel.com>
>> Reviewed-by: Qi Zhang <qi.z.zhang at intel.com>
>> ---
>
> Hi Jianfeng,
>
> Just a general question. I can't recall if we've discussed this
> internally,
I don't think we once discussed this.
> but does this new IPC-based vdev bus scan trigger any memory allocations?
No, we don't.
> So far bus scans were well-behaved and didn't do that.
>
I think it's due to that even in the master branch implementation, bus
scan is ahead of memory init. So we don't use any rte_malloc in bus scan.
Thanks,
Jianfeng
More information about the dev
mailing list