Re: [vpp-dev] Gerrit review for memif DMA acceleration

2022-12-02 Thread Marvin Liu
Damjan, External memory VFIO mapping action can moved to master thread through rpc call. From the usage of host stack, pre-allocate is not enough for session segments as mapped size may vary and these segments will dynamically allocated and freed when session created and destroyed. Regards, M

Re: [vpp-dev] Gerrit review for memif DMA acceleration

2022-12-01 Thread Marvin Liu
Sure, I think it is possible as only few batches needed for typical workload. For dynamically mapping extended memory, I think this function is still needed as new segment will be allocated from system memory when new stream established. This action is happened in work thread. > -Original

Re: [vpp-dev] Gerrit review for memif DMA acceleration

2022-11-30 Thread Marvin Liu
Hi Damjan, VFIO map function now can be called from work thread in some cases. Like allocate physical memory for DMA batch and then do mapping for if no attached device, or a new session segment attached to VPP process. So I use event-logger for vfio logging. These numbers are collected from

[vpp-dev] Gerrit review for memif DMA acceleration

2022-11-29 Thread Marvin Liu
Hi Damjan and community, For extend the usage of latest introduced DMA infrastructure, I uploaded several patches for review. Before your review, let me briefly introduce these patches. In review 37572, add a new vfio mapped function for extended memory. T

Re: [vpp-dev] RFC: move the “1”st instance of the community meeting 3 hours earlier to reduce impact for earlier time zone

2022-11-23 Thread Marvin Liu
+1, looking forward to join community meeting and have more discussions. From: vpp-dev@lists.fd.io On Behalf Of Xu, Ting Sent: Thursday, November 24, 2022 10:22 AM To: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] RFC: move the “1”st instance of the community meeting 3 hours earlier to reduce impac