Hi Damjan,

Thanks for the response. We are able to get pass few hurdles in enabling 
OCTEONTx mempool ops, I may have follow up questions on this after further 
testing. Appreciate your help

Regards,
Nitin

> On 07-Jun-2018, at 20:03, Damjan Marion <dmar...@me.com> wrote:
> 
> 
> Dear Nitin,
> 
> VPP expect that buffer memory is in contiguous shareable VA space represented 
> by single mmap()-able file descriptor
> and VPP needs to know that file descriptor.
> 
> Regards,
> 
> Damjan
> 
>> On 6 Jun 2018, at 11:04, Nitin Saxena <nitin.sax...@cavium.com> wrote:
>> 
>> Hi Damjan,
>> 
>> I want separate email-thread for the OCTEONTx mempool ops.
>> 
>>> Regarding the octeon tx mempool, no idea what it is,
>> OCTEONTx mempool ops uses hardware mempool allocator instead of DPDK 
>> software mempool. This is not enabled by default in DPDK but once enabled 
>> all buffers are managed by OCTEONTx hardware allocator.
>> 
>>> VPP expects that buffer memory is allocated by VPP and then given to
>>> DPDK via rte_mempool_create_empty() and rte_mempool_populate_iova_tab().
>> This I understood that VPP calls rte_mempool_populate_iova_tab() but I want 
>> to know why VPP allocates buffer on its own and not allow DPDK to create its 
>> own buffers? Why VPP cannot call rte_pktmbuf_pool_create()? Is there a 
>> limitation?
>> 
>> Thanks,
>> Nitin
>> 
>>> On Wednesday 06 June 2018 02:20 PM, Damjan Marion wrote:
>>> Regarding the octeon tx mempool, no idea what it is, but will not be
>>> surprised that it is not compatible with the way how we use buffer
>>> memory in vpp.
>>> VPP expects that buffer memory is allocated by VPP and then given to
>>> DPDK via rte_mempool_create_empty() and rte_mempool_populate_iova_tab().
>> 
>> 
>> 
> 

-=-=-=-=-=-=-=-=-=-=-=-
Links:

You receive all messages sent to this group.

View/Reply Online (#9561): https://lists.fd.io/g/vpp-dev/message/9561
View All Messages In Topic (3): https://lists.fd.io/g/vpp-dev/topic/21380227
Mute This Topic: https://lists.fd.io/mt/21380227/21656
New Topic: https://lists.fd.io/g/vpp-dev/post

Change Your Subscription: https://lists.fd.io/g/vpp-dev/editsub/21656
Group Home: https://lists.fd.io/g/vpp-dev
Contact Group Owner: vpp-dev+ow...@lists.fd.io
Terms of Service: https://lists.fd.io/static/tos
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub
Email sent to: arch...@mail-archive.com
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to