RE: [PATCH net-next v5 4/4] virtio-net: support rx netdim

2023-11-30 Thread Yinjun Zhang
On Thursday, November 30, 2023 8:42 PM, Heng Qi wrote: <...> > static void virtnet_remove(struct virtio_device *vdev) > { > struct virtnet_info *vi = vdev->priv; > + int i; > > virtnet_cpu_notif_remove(vi); > > /* Make

Re: [PATCH net-next v5 4/4] virtio-net: support rx netdim

2023-11-30 Thread Heng Qi
在 2023/11/30 下午8:23, Paolo Abeni 写道: On Thu, 2023-11-30 at 20:09 +0800, Heng Qi wrote: 在 2023/11/30 下午5:33, Paolo Abeni 写道: On Mon, 2023-11-27 at 10:55 +0800, Heng Qi wrote: @@ -4738,11 +4881,14 @@ static void remove_vq_common(struct virtnet_info *vi) static void virtnet_remove(struct vi

Re: [PATCH vhost v13 11/12] virtio_ring: introduce dma sync api for virtqueue

2023-11-30 Thread Xuan Zhuo
On Thu, 30 Nov 2023 05:10:42 -0500, "Michael S. Tsirkin" wrote: > On Thu, Nov 30, 2023 at 05:49:38PM +0800, Xuan Zhuo wrote: > > On Thu, 30 Nov 2023 04:45:58 -0500, "Michael S. Tsirkin" > > wrote: > > > On Thu, Aug 10, 2023 at 08:30:56PM +0800, Xuan Zhuo wrote: > > > > These API has been introd

Re: [PATCH vhost v13 11/12] virtio_ring: introduce dma sync api for virtqueue

2023-11-30 Thread Michael S. Tsirkin
On Thu, Nov 30, 2023 at 05:49:38PM +0800, Xuan Zhuo wrote: > On Thu, 30 Nov 2023 04:45:58 -0500, "Michael S. Tsirkin" > wrote: > > On Thu, Aug 10, 2023 at 08:30:56PM +0800, Xuan Zhuo wrote: > > > These API has been introduced: > > > > > > * virtqueue_dma_need_sync > > > * virtqueue_dma_sync_singl

Re: [PATCH vhost v13 11/12] virtio_ring: introduce dma sync api for virtqueue

2023-11-30 Thread Michael S. Tsirkin
On Thu, Aug 10, 2023 at 08:30:56PM +0800, Xuan Zhuo wrote: > These API has been introduced: > > * virtqueue_dma_need_sync > * virtqueue_dma_sync_single_range_for_cpu > * virtqueue_dma_sync_single_range_for_device > > These APIs can be used together with the premapped mechanism to sync the > DMA a

Re: [PATCH net-next v5 4/4] virtio-net: support rx netdim

2023-11-30 Thread Paolo Abeni
On Mon, 2023-11-27 at 10:55 +0800, Heng Qi wrote: > @@ -4738,11 +4881,14 @@ static void remove_vq_common(struct virtnet_info *vi) > static void virtnet_remove(struct virtio_device *vdev) > { > struct virtnet_info *vi = vdev->priv; > + int i; > > virtnet_cpu_notif_remove(vi); >