mempool/octeontx: support freeing
authorSantosh Shukla <santosh.shukla@caviumnetworks.com>
Sun, 8 Oct 2017 12:40:06 +0000 (18:10 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 8 Oct 2017 17:30:50 +0000 (19:30 +0200)
commit806714f1e7f95efae9dede5f10c9349ce1ecd5c9
tree47d28b9f5e6c3895c62785af5ddc14ad6a242aa4
parent02fd6c744350e99308f594791698beca7be1bf67
mempool/octeontx: support freeing

Upon pool free request from application, Octeon FPA free
does following:
- Uses mbox to reset fpapf pool setup.
- frees fpavf resources.

Signed-off-by: Santosh Shukla <santosh.shukla@caviumnetworks.com>
Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
drivers/mempool/octeontx/octeontx_fpavf.c
drivers/mempool/octeontx/octeontx_fpavf.h
drivers/mempool/octeontx/rte_mempool_octeontx.c