mbox series

[v4,0/3] DMA map anonymous memory to eth devices

Message ID cover.1554613242.git.shahafs@mellanox.com (mailing list archive)
Headers
Series DMA map anonymous memory to eth devices |

Message

Shahaf Shuler April 7, 2019, 5:02 a.m. UTC
  Small series to use the APIs introduced by commit c33a675b6276 ("bus: introduce device level DMA memory mapping")

On v4:
 * simplify return logic from mbuf_pool_create.
 * remove extern from mempools structure.

On v3:
 * remove redundant return.

On v2:
 * enforcing parameter validity at option parse time.
 * precede unmap to be before unregister.
 * extended debug log verbosity to include eth device name.
 * precede unmap and unregister to happen before eth devices are detached.

Shahaf Shuler (3):
  app/testpmd: fix mempool free on exit
  app/testpmd: support creation of no IOVA contig mempools
  app/testpmd: map anonymous memory for eth devices

 app/test-pmd/parameters.c             | 13 +++++
 app/test-pmd/testpmd.c                | 91 +++++++++++++++++++++++++++---
 app/test-pmd/testpmd.h                |  2 +
 doc/guides/testpmd_app_ug/run_app.rst |  5 ++
 4 files changed, 104 insertions(+), 7 deletions(-)
  

Comments

Ferruh Yigit April 11, 2019, 2:07 p.m. UTC | #1
On 4/7/2019 6:02 AM, Shahaf Shuler wrote:
> Small series to use the APIs introduced by commit c33a675b6276 ("bus: introduce device level DMA memory mapping")
> 
> On v4:
>  * simplify return logic from mbuf_pool_create.
>  * remove extern from mempools structure.
> 
> On v3:
>  * remove redundant return.
> 
> On v2:
>  * enforcing parameter validity at option parse time.
>  * precede unmap to be before unregister.
>  * extended debug log verbosity to include eth device name.
>  * precede unmap and unregister to happen before eth devices are detached.
> 
> Shahaf Shuler (3):
>   app/testpmd: fix mempool free on exit
>   app/testpmd: support creation of no IOVA contig mempools
>   app/testpmd: map anonymous memory for eth devices

Series applied to dpdk-next-net/master, thanks.