DPDK patches and discussions
 help / color / mirror / Atom feed
From: Maxime Coquelin <maxime.coquelin@redhat.com>
To: xiangxia.m.yue@gmail.com, dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH] vhost: refine the vhost_new_device
Date: Fri, 15 Jun 2018 10:01:59 +0200	[thread overview]
Message-ID: <1d23b8f9-f5b5-b344-0052-93690973df7e@redhat.com> (raw)
In-Reply-To: <1528449484-8664-1-git-send-email-xiangxia.m.yue@gmail.com>



On 06/08/2018 11:18 AM, xiangxia.m.yue@gmail.com wrote:
> From: Tonghao Zhang<xiangxia.m.yue@gmail.com>
> 
> Make sure find avalid device id before allocating
> virtio_net, if not, return directly. It may avoid
> allocating and freeing virtio_net when there is
> not valid device id.
> 
> Signed-off-by: Tonghao Zhang<xiangxia.m.yue@gmail.com>
> ---
>   lib/librte_vhost/vhost.c | 16 ++++++++--------
>   1 file changed, 8 insertions(+), 8 deletions(-)

Applied to dpdk-next-virtio/master

Thanks,
Maxime

      parent reply	other threads:[~2018-06-15  8:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-08  9:18 xiangxia.m.yue
2018-06-08 14:05 ` Maxime Coquelin
2018-06-15  8:01 ` Maxime Coquelin [this message]

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=1d23b8f9-f5b5-b344-0052-93690973df7e@redhat.com \
    --to=maxime.coquelin@redhat.com \
    --cc=dev@dpdk.org \
    --cc=xiangxia.m.yue@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).