RE: [PATCH v3 4/4] virtio-crypto: rename skcipher algs

2022-03-04 Thread Gonglei (Arei) via Virtualization
> -Original Message- > From: zhenwei pi [mailto:pizhen...@bytedance.com] > Sent: Wednesday, March 2, 2022 11:39 AM > To: Gonglei (Arei) ; m...@redhat.com > Cc: jasow...@redhat.com; virtualization@lists.linux-foundation.org; > linux-cry...@vger.kernel.org; linux-ker...@vger.kernel.org; >

RE: [PATCH v3 3/4] virtio-crypto: implement RSA algorithm

2022-03-04 Thread Gonglei (Arei) via Virtualization
> -Original Message- > From: zhenwei pi [mailto:pizhen...@bytedance.com] > Sent: Wednesday, March 2, 2022 11:39 AM > To: Gonglei (Arei) ; m...@redhat.com > Cc: jasow...@redhat.com; virtualization@lists.linux-foundation.org; > linux-cry...@vger.kernel.org; linux-ker...@vger.kernel.org; >

RE: [PATCH v3 2/4] virtio-crypto: introduce akcipher service

2022-03-04 Thread Gonglei (Arei) via Virtualization
> -Original Message- > From: zhenwei pi [mailto:pizhen...@bytedance.com] > Sent: Wednesday, March 2, 2022 11:39 AM > To: Gonglei (Arei) ; m...@redhat.com > Cc: jasow...@redhat.com; virtualization@lists.linux-foundation.org; > linux-cry...@vger.kernel.org; linux-ker...@vger.kernel.org; >

Re: [PATCH v1 1/2] vdpa: Add support for querying vendor statistics

2022-03-04 Thread Si-Wei Liu
Sorry, I somehow missed this after my break. Please see comments in line. On 2/16/2022 10:46 PM, Eli Cohen wrote: On Wed, Feb 16, 2022 at 10:49:26AM -0800, Si-Wei Liu wrote: On 2/16/2022 12:00 AM, Eli Cohen wrote: Allows to read vendor statistics of a vdpa device. The specific statistics

Re: [PATCH 1/1] vhost: Protect the virtqueue from being cleared whilst still in use

2022-03-04 Thread Lee Jones
On Fri, 04 Mar 2022, Michael S. Tsirkin wrote: > On Wed, Mar 02, 2022 at 07:54:21AM +, Lee Jones wrote: > > vhost_vsock_handle_tx_kick() already holds the mutex during its call > > to vhost_get_vq_desc(). All we have to do is take the same lock > > during virtqueue clean-up and we mitigate

Re: [PATCH 1/1] vhost: Protect the virtqueue from being cleared whilst still in use

2022-03-04 Thread Michael S. Tsirkin
On Wed, Mar 02, 2022 at 07:54:21AM +, Lee Jones wrote: > vhost_vsock_handle_tx_kick() already holds the mutex during its call > to vhost_get_vq_desc(). All we have to do is take the same lock > during virtqueue clean-up and we mitigate the reported issues. > > Link:

Re: [PATCH 1/1] vhost: Protect the virtqueue from being cleared whilst still in use

2022-03-04 Thread Michael S. Tsirkin
On Wed, Mar 02, 2022 at 04:36:43PM +0100, Stefano Garzarella wrote: > On Wed, Mar 02, 2022 at 09:50:38AM -0500, Michael S. Tsirkin wrote: > > On Wed, Mar 02, 2022 at 03:11:21PM +0100, Stefano Garzarella wrote: > > > On Wed, Mar 02, 2022 at 08:35:08AM -0500, Michael S. Tsirkin wrote: > > > > On

Re: [PATCH v2 9/9] virtio_net: xdp xmit use virtio dma api

2022-03-04 Thread Michael S. Tsirkin
On Thu, Feb 24, 2022 at 07:04:02PM +0800, Xuan Zhuo wrote: > XDP xmit uses virtio dma api for DMA operations. No longer let virtio > core manage DMA address. > > To record the DMA address, allocate a space in the xdp_frame headroom to > store the DMA address. > > Introduce

Re: [PATCH v1 0/2] Show statistics for a vdpa device

2022-03-04 Thread Michael S. Tsirkin
On Wed, Feb 16, 2022 at 10:00:20AM +0200, Eli Cohen wrote: > The following two patch series adds support to read vendor statistics > for a vdpa device. > > The first patch lays the ground to allow an upstream driver to provide > statistics in the form of an attribute name/attribute value pairs. >

Re: [PATCH 1/1] vhost: Protect the virtqueue from being cleared whilst still in use

2022-03-04 Thread Lee Jones
On Fri, 04 Mar 2022, Michael S. Tsirkin wrote: > On Wed, Mar 02, 2022 at 07:54:21AM +, Lee Jones wrote: > > vhost_vsock_handle_tx_kick() already holds the mutex during its call > > to vhost_get_vq_desc(). All we have to do is take the same lock > > during virtqueue clean-up and we mitigate

Re: [PATCH v4 3/4] drivers/net/virtio_net: Added RSS hash report.

2022-03-04 Thread Andrew Melnichenko
Hi all, Yes, I'll prepare a new commit later. On Fri, Mar 4, 2022 at 10:08 AM Michael S. Tsirkin wrote: > > On Wed, Feb 23, 2022 at 03:15:28AM +0800, kernel test robot wrote: > > Hi Andrew, > > > > Thank you for the patch! Perhaps something to improve: > > > > [auto build test WARNING on

Re: [PATCH 1/1] vhost: Provide a kernel warning if mutex is held whilst clean-up in progress

2022-03-04 Thread Lee Jones
On Fri, 04 Mar 2022, Stefano Garzarella wrote: > On Thu, Mar 03, 2022 at 04:01:06PM -0500, Michael S. Tsirkin wrote: > > On Thu, Mar 03, 2022 at 09:14:36PM +0200, Leon Romanovsky wrote: > > > On Thu, Mar 03, 2022 at 03:19:29PM +, Lee Jones wrote: > > > > All workers/users should be halted

Re: [PATCH 1/1] vhost: Provide a kernel warning if mutex is held whilst clean-up in progress

2022-03-04 Thread Lee Jones
On Fri, 04 Mar 2022, Leon Romanovsky wrote: > On Thu, Mar 03, 2022 at 04:01:06PM -0500, Michael S. Tsirkin wrote: > > On Thu, Mar 03, 2022 at 09:14:36PM +0200, Leon Romanovsky wrote: > > > On Thu, Mar 03, 2022 at 03:19:29PM +, Lee Jones wrote: > > > > All workers/users should be halted before

Re: [PATCH v4 3/4] drivers/net/virtio_net: Added RSS hash report.

2022-03-04 Thread Michael S. Tsirkin
On Wed, Feb 23, 2022 at 03:15:28AM +0800, kernel test robot wrote: > Hi Andrew, > > Thank you for the patch! Perhaps something to improve: > > [auto build test WARNING on mst-vhost/linux-next] > [also build test WARNING on net/master horms-ipvs/master net-next/master > linus/master v5.17-rc5