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, schalla@marvell.com
Subject: Re: [PATCH 2/2] net/virtio: fix notification area initialization
Date: Tue, 12 Mar 2024 15:12:20 +0100	[thread overview]
Message-ID: <CAJFAV8zovqtkz-d7Uj9qO6qSZjn2EjaTsEaEJft=1Dg+dYvNgw@mail.gmail.com> (raw)
In-Reply-To: <20240312104849.667036-3-maxime.coquelin@redhat.com>

On Tue, Mar 12, 2024 at 11:48 AM Maxime Coquelin
<maxime.coquelin@redhat.com> wrote:
>
> Notification area is a Virtio feature that require to be

requires*

> negotiated because not all devices support it. Currently,
> it is tried to be initialized as soon as the backend
> implements the callback, so it assumes all Vhost-vDPA
> devices support it.
>
> This patch skips calling the notification area map callback
> if the device does not advertise its support.
>
> Fixes: 0fd2782660c8 ("net/virtio-user: support notification area mapping")
>
> Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>

Reviewed-by: David Marchand <david.marchand@redhat.com>


-- 
David Marchand


      reply	other threads:[~2024-03-12 14:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-12 10:48 [PATCH 0/2] net/virtio: vhost-vdpa fixes Maxime Coquelin
2024-03-12 10:48 ` [PATCH 1/2] net/virtio: fix vDPA device init advertising control queue Maxime Coquelin
2024-03-12 14:10   ` David Marchand
2024-03-12 10:48 ` [PATCH 2/2] net/virtio: fix notification area initialization Maxime Coquelin
2024-03-12 14:12   ` David Marchand [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='CAJFAV8zovqtkz-d7Uj9qO6qSZjn2EjaTsEaEJft=1Dg+dYvNgw@mail.gmail.com' \
    --to=david.marchand@redhat.com \
    --cc=chenbox@nvidia.com \
    --cc=dev@dpdk.org \
    --cc=maxime.coquelin@redhat.com \
    --cc=schalla@marvell.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).