public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Jiri Pirko <jiri@resnulli•us>
To: Parav Pandit <parav@nvidia•com>
Cc: mst@redhat•com, jasowang@redhat•com, davem@davemloft•net,
	kuba@kernel•org, netdev@vger•kernel.org, edumazet@google•com,
	pabeni@redhat•com, ast@kernel•org, daniel@iogearbox•net,
	hawk@kernel•org, virtualization@lists•linux-foundation.org,
	bpf@vger•kernel.org
Subject: Re: [PATCH 1/2] virtio-net: Keep stop() to follow mirror sequence of open()
Date: Thu, 2 Feb 2023 13:23:22 +0100	[thread overview]
Message-ID: <Y9urOpSJfCquaaI9@nanopsycho> (raw)
In-Reply-To: <20230202050038.3187-2-parav@nvidia.com>

Thu, Feb 02, 2023 at 06:00:37AM CET, parav@nvidia•com wrote:
>Cited commit in fixes tag frees rxq xdp info while RQ NAPI is
>still enabled and packet processing may be ongoing.
>
>Follow the mirror sequence of open() in the stop() callback.
>This ensures that when rxq info is unregistered, no rx
>packet processing is ongoing.
>
>Fixes: 754b8a21a96d ("virtio_net: setup xdp_rxq_info")
>Signed-off-by: Parav Pandit <parav@nvidia•com>

Reviewed-by: Jiri Pirko <jiri@nvidia•com>

  reply	other threads:[~2023-02-02 12:23 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-02  5:00 [PATCH 0/2] virtio-net: close() to follow mirror of open() Parav Pandit
2023-02-02  5:00 ` [PATCH 1/2] virtio-net: Keep stop() to follow mirror sequence " Parav Pandit
2023-02-02 12:23   ` Jiri Pirko [this message]
2023-02-02  5:00 ` [PATCH 2/2] virtio-net: Maintain reverse cleanup order Parav Pandit
2023-02-02 12:26   ` Jiri Pirko
2023-02-02 15:10     ` Parav Pandit
2023-02-02 15:46       ` Jiri Pirko
2023-02-02 16:33         ` Parav Pandit
2023-02-02 10:56 ` [PATCH 0/2] virtio-net: close() to follow mirror of open() Michael S. Tsirkin
2023-02-02 18:40 ` patchwork-bot+netdevbpf

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=Y9urOpSJfCquaaI9@nanopsycho \
    --to=jiri@resnulli$(echo .)us \
    --cc=ast@kernel$(echo .)org \
    --cc=bpf@vger$(echo .)kernel.org \
    --cc=daniel@iogearbox$(echo .)net \
    --cc=davem@davemloft$(echo .)net \
    --cc=edumazet@google$(echo .)com \
    --cc=hawk@kernel$(echo .)org \
    --cc=jasowang@redhat$(echo .)com \
    --cc=kuba@kernel$(echo .)org \
    --cc=mst@redhat$(echo .)com \
    --cc=netdev@vger$(echo .)kernel.org \
    --cc=pabeni@redhat$(echo .)com \
    --cc=parav@nvidia$(echo .)com \
    --cc=virtualization@lists$(echo .)linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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