DPDK patches and discussions
 help / color / mirror / Atom feed
From: David Marchand <david.marchand@redhat.com>
To: Maxime Coquelin <maxime.coquelin@redhat.com>
Cc: dev@dpdk.org, chenbox@nvidia.com
Subject: Re: [PATCH 4/6] vhost: refactor VDUSE reconnection log mapping
Date: Thu, 24 Oct 2024 09:55:29 +0200	[thread overview]
Message-ID: <CAJFAV8zOfpbem50nLT8yq8FLrDEr3xmZD94G8t5YDDpo=v_JYg@mail.gmail.com> (raw)
In-Reply-To: <712b60db-8cc8-4aee-b869-550e264959c6@redhat.com>

On Wed, Oct 23, 2024 at 9:04 PM Maxime Coquelin
<maxime.coquelin@redhat.com> wrote:
> >> +static int
> >> +vduse_reconnect_log_map(const char *dev_name, struct vhost_reconnect_data **reco_log, bool create)
> >
> > You can pass struct virtio_net *dev instead of patch 6.
>
> At patch 4, the struct virtio_net *dev has not yet been allocated when
> this function is called.

Ah yes, I missed this point.

>
> Or, maybe you mean I should squash patch 6 with this one?

No keep it as is, moving patches or squashing does not improve the diff.


-- 
David Marchand


  reply	other threads:[~2024-10-24  7:55 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-23 15:15 [PATCH 0/6] VDUSE reconnection fixes and cleanup Maxime Coquelin
2024-10-23 15:15 ` [PATCH 1/6] vhost: fix vduse device creation error handling Maxime Coquelin
2024-10-23 16:06   ` David Marchand
2024-10-23 18:55     ` Maxime Coquelin
2024-10-23 15:15 ` [PATCH 2/6] vhost: fix possible TOCTOU in VDUSE dev creation Maxime Coquelin
2024-10-23 16:06   ` David Marchand
2024-10-23 15:15 ` [PATCH 3/6] vhost: fix VDUSE reconnect device start failure Maxime Coquelin
2024-10-23 16:06   ` David Marchand
2024-10-23 18:57     ` Maxime Coquelin
2024-10-23 15:15 ` [PATCH 4/6] vhost: refactor VDUSE reconnection log mapping Maxime Coquelin
2024-10-23 16:07   ` David Marchand
2024-10-23 19:04     ` Maxime Coquelin
2024-10-24  7:55       ` David Marchand [this message]
2024-10-23 15:15 ` [PATCH 5/6] vhost: fix and refactor VDUSE reconnect log check Maxime Coquelin
2024-10-23 16:08   ` David Marchand
2024-10-23 15:15 ` [PATCH 6/6] vhost: move VDUSE reconnection after device is created Maxime Coquelin

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='CAJFAV8zOfpbem50nLT8yq8FLrDEr3xmZD94G8t5YDDpo=v_JYg@mail.gmail.com' \
    --to=david.marchand@redhat.com \
    --cc=chenbox@nvidia.com \
    --cc=dev@dpdk.org \
    --cc=maxime.coquelin@redhat.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).