All of lore.kernel.org
 help / color / mirror / Atom feed
From: Maxime Coquelin <maxime.coquelin@redhat.com>
To: Xuan Ding <xuan.ding@intel.com>, dev@dpdk.org, chenbo.xia@intel.com
Cc: jiayu.hu@intel.com, anatoly.burakov@intel.com
Subject: Re: [dpdk-dev] [PATCH v2] vhost: remove async dma map status
Date: Fri, 29 Oct 2021 11:36:17 +0200	[thread overview]
Message-ID: <c0c494ac-7bb7-7bb6-5acf-18219891c3a5@redhat.com> (raw)
In-Reply-To: <20211027100026.99650-1-xuan.ding@intel.com>



On 10/27/21 12:00, Xuan Ding wrote:
> Async dma map status flag was added to prevent the unnecessary unmap
> when DMA devices bound to kernel driver. This brings maintenance cost
> for a lot of code. This patch removes the dma map status by using
> rte_errno instead.
> 
> This patch relies on the following patch to fix a partial
> unmap check in vfio unmapping API.
> [1] https://www.mail-archive.com/dev@dpdk.org/msg226464.html
> 
> Cc: anatoly.burakov@intel.com
> 
> Signed-off-by: Xuan Ding <xuan.ding@intel.com>
> ---
> v2:
> * Fix a typo in commit log.
> ---
>   lib/vhost/vhost.h      |  3 --
>   lib/vhost/vhost_user.c | 70 ++++++++----------------------------------
>   2 files changed, 13 insertions(+), 60 deletions(-)
> 

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

Thanks,
Maxime


  reply	other threads:[~2021-10-29  9:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-27  9:55 [dpdk-dev] [PATCH] vhost: remove async dma map status Xuan Ding
2021-10-27 10:00 ` [dpdk-dev] [PATCH v2] " Xuan Ding
2021-10-29  9:36   ` Maxime Coquelin [this message]
2021-10-29 10:35   ` Maxime Coquelin
2021-10-30 13:46     ` Ding, Xuan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c0c494ac-7bb7-7bb6-5acf-18219891c3a5@redhat.com \
    --to=maxime.coquelin@redhat.com \
    --cc=anatoly.burakov@intel.com \
    --cc=chenbo.xia@intel.com \
    --cc=dev@dpdk.org \
    --cc=jiayu.hu@intel.com \
    --cc=xuan.ding@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.