Re: [PATCH 0/2] virtio-net: close() to follow mirror of open()

2023-02-02 Thread Michael S. Tsirkin
On Thu, Feb 02, 2023 at 07:00:36AM +0200, Parav Pandit wrote: > Hi, > > This two small patches improves ndo_close() callback to follow > the mirror sequence of ndo_open() callback. This improves the code auditing > and also ensure that xdp rxq info is not unregistered while NAPI on > RXQ is

[PATCH 0/2] virtio-net: close() to follow mirror of open()

2023-02-01 Thread Parav Pandit via Virtualization
Hi, This two small patches improves ndo_close() callback to follow the mirror sequence of ndo_open() callback. This improves the code auditing and also ensure that xdp rxq info is not unregistered while NAPI on RXQ is ongoing. Please review. Patch summary: patch-1 ensures that xdp rq info is