Re: [PATCH 1/2] virtio-net: Keep stop() to follow mirror sequence of open()

2023-02-02 Thread Jiri Pirko
Thu, Feb 02, 2023 at 06:00:37AM CET, pa...@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 >p

[PATCH 1/2] virtio-net: Keep stop() to follow mirror sequence of open()

2023-02-01 Thread Parav Pandit via Virtualization
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: set