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

2023-11-23 Thread Heng Qi
在 2023/11/22 下午5:29, Yinjun Zhang 写道: On Mon, 20 Nov 2023 20:37:34 +0800, Heng Qi wrote: <...> @@ -2179,6 +2220,7 @@ static void virtnet_disable_queue_pair(struct virtnet_info *vi, int qp_index) virtnet_napi_tx_disable(&vi->sq[qp_index].napi); napi_disable(&vi->rq[qp_index].n

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

2023-11-23 Thread Heng Qi
在 2023/11/22 下午1:52, Jason Wang 写道: On Mon, Nov 20, 2023 at 8:38 PM Heng Qi wrote: By comparing the traffic information in the complete napi processes, let the virtio-net driver automatically adjust the coalescing moderation parameters of each receive queue. Signed-off-by: Heng Qi --- v2->

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

2023-11-22 Thread Yinjun Zhang
On Mon, 20 Nov 2023 20:37:34 +0800, Heng Qi wrote: <...> > @@ -2179,6 +2220,7 @@ static void virtnet_disable_queue_pair(struct > virtnet_info *vi, int qp_index) > virtnet_napi_tx_disable(&vi->sq[qp_index].napi); > napi_disable(&vi->rq[qp_index].napi); > xdp_rxq_info_unreg(&vi->rq

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

2023-11-21 Thread Jason Wang
On Wed, Nov 22, 2023 at 1:52 PM Jason Wang wrote: > > On Mon, Nov 20, 2023 at 8:38 PM Heng Qi wrote: > > > > By comparing the traffic information in the complete napi processes, > > let the virtio-net driver automatically adjust the coalescing > > moderation parameters of each receive queue. > >

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

2023-11-21 Thread Jason Wang
On Mon, Nov 20, 2023 at 8:38 PM Heng Qi wrote: > > By comparing the traffic information in the complete napi processes, > let the virtio-net driver automatically adjust the coalescing > moderation parameters of each receive queue. > > Signed-off-by: Heng Qi > --- > v2->v3: > - Some minor modifica