[dpdk-dev] [PATCH 2/3] net/virtio-user: avoid parsing process mappings

Maxime Coquelin maxime.coquelin at redhat.com
Tue Sep 11 14:58:20 CEST 2018



On 09/05/2018 06:28 AM, Tiwei Bie wrote:
> Recently some memory APIs were introduced to allow users to
> get the file descriptor and offset for each memory segment.
> We can leverage those APIs to get rid of the /proc magic on
> memory table preparation in vhost-user backend.
> 
> Signed-off-by: Tiwei Bie <tiwei.bie at intel.com>
> ---
>   drivers/net/virtio/virtio_user/vhost_user.c | 211 +++++++++-----------
>   1 file changed, 90 insertions(+), 121 deletions(-)
> 

Nice to get rid off the /proc parsing!

Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>

Thanks,
Maxime


More information about the dev mailing list