[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 8 Aug 2019 08:28:46 -0400 (EDT)
From: Pankaj Gupta <pagupta@...hat.com>
To: Greg KH <gregkh@...uxfoundation.org>
Cc: amit@...nel.org, mst@...hat.com, arnd@...db.de,
virtualization@...ts.linux-foundation.org, jasowang@...hat.com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 2/2] virtio_ring: packed ring: fix
virtqueue_detach_unused_buf
> > This patch makes packed ring code compatible with split ring in function
> > 'virtqueue_detach_unused_buf_*'.
>
> What does that mean? What does this "fix"?
Patch 1 frees the buffers When a port is unplugged from the virtio
console device. It does this with the help of 'virtqueue_detach_unused_buf_split/packed'
function. For split ring case, corresponding function decrements avail ring index.
For packed ring code, this functionality is not available, so this patch adds the
required support and hence help to remove the unused buffer completely.
Thanks,
Pankaj
>
> thanks,
>
> greg k-h
>
Powered by blists - more mailing lists