Re: [PATCH net-next v3 4/8] virtio-net: xsk zero copy xmit implement wakeup and xmit

2021-04-07 Thread Magnus Karlsson
On Tue, Apr 6, 2021 at 3:33 PM Jason Wang wrote: > > > 在 2021/3/31 下午3:11, Xuan Zhuo 写道: > > When the user calls sendto to consume the data in the xsk tx queue, > > virtnet_xsk_wakeup will be called. > > > > In wakeup, it will try to send a part of the data directly, the quantity > > is operated b

Re: [PATCH net-next v3 4/8] virtio-net: xsk zero copy xmit implement wakeup and xmit

2021-04-05 Thread Jason Wang
在 2021/3/31 下午3:11, Xuan Zhuo 写道: When the user calls sendto to consume the data in the xsk tx queue, virtnet_xsk_wakeup will be called. In wakeup, it will try to send a part of the data directly, the quantity is operated by the module parameter xsk_budget. Any reason that we can't use NAPI

[PATCH net-next v3 4/8] virtio-net: xsk zero copy xmit implement wakeup and xmit

2021-03-31 Thread Xuan Zhuo
When the user calls sendto to consume the data in the xsk tx queue, virtnet_xsk_wakeup will be called. In wakeup, it will try to send a part of the data directly, the quantity is operated by the module parameter xsk_budget. There are two purposes for this realization: 1. Send part of the data qui