[dpdk-dev] dpdk 2.0.0: Issue mapping mempool into guest using IVSHMEM

2015-05-19 Thread Mauricio Vásquez
Thank you for your answer Bruce, I think you refer to the example "l2fwd-ivshmem", Don't you? I compiled and run it, it works. I was reviewing the code and I found that the function rte_mempool_lookup is not used in the guest. In the host a structure containing pointers to the rings is allocated

[dpdk-dev] dpdk 2.0.0: Issue mapping mempool into guest using IVSHMEM

2015-05-19 Thread Bruce Richardson
On Mon, May 18, 2015 at 10:32:37AM +0200, Mauricio V?squez wrote: > Hi all, > > I'm trying to map a mempool into a guest using the IVSHMEM library but the > mempool is not visible from the guest. > > The code I'm running is quite simple, on the host I run a primary DPDK > process that creates the

[dpdk-dev] dpdk 2.0.0: Issue mapping mempool into guest using IVSHMEM

2015-05-18 Thread Mauricio Vásquez
Hi all, I'm trying to map a mempool into a guest using the IVSHMEM library but the mempool is not visible from the guest. The code I'm running is quite simple, on the host I run a primary DPDK process that creates the mempool, creates a metadata file and then adds the mempool to it. The code is: