Re: [PATCH net-next 1/8] virtio_net: mergeable xdp: put old page immediately

2023-04-02 Thread Xuan Zhuo
On Fri, 31 Mar 2023 17:01:54 +0800, Jason Wang wrote: > On Tue, Mar 28, 2023 at 8:04 PM Xuan Zhuo wrote: > > > > In the xdp implementation of virtio-net mergeable, it always checks > > whether two page is used and a page is selected to release. This is > > complicated for the processing of action

Re: [PATCH net-next 1/8] virtio_net: mergeable xdp: put old page immediately

2023-03-31 Thread Jason Wang
On Tue, Mar 28, 2023 at 8:04 PM Xuan Zhuo wrote: > > In the xdp implementation of virtio-net mergeable, it always checks > whether two page is used and a page is selected to release. This is > complicated for the processing of action, and be careful. > > In the entire process, we have such princip

[PATCH net-next 1/8] virtio_net: mergeable xdp: put old page immediately

2023-03-28 Thread Xuan Zhuo
In the xdp implementation of virtio-net mergeable, it always checks whether two page is used and a page is selected to release. This is complicated for the processing of action, and be careful. In the entire process, we have such principles: * If xdp_page is used (PASS, TX, Redirect), then we rele

Re: [PATCH net-next 1/8] virtio_net: mergeable xdp: put old page immediately

2023-03-22 Thread Xuan Zhuo
On Thu, 23 Mar 2023 13:38:30 +0800, Jason Wang wrote: > On Thu, Mar 23, 2023 at 9:43 AM Xuan Zhuo wrote: > > > > On Wed, 22 Mar 2023 16:22:18 +0800, Yunsheng Lin > > wrote: > > > On 2023/3/22 11:03, Xuan Zhuo wrote: > > > > In the xdp implementation of virtio-net mergeable, it always checks > >

Re: [PATCH net-next 1/8] virtio_net: mergeable xdp: put old page immediately

2023-03-22 Thread Jason Wang
On Thu, Mar 23, 2023 at 9:43 AM Xuan Zhuo wrote: > > On Wed, 22 Mar 2023 16:22:18 +0800, Yunsheng Lin > wrote: > > On 2023/3/22 11:03, Xuan Zhuo wrote: > > > In the xdp implementation of virtio-net mergeable, it always checks > > > whether two page is used and a page is selected to release. This

Re: [PATCH net-next 1/8] virtio_net: mergeable xdp: put old page immediately

2023-03-22 Thread Xuan Zhuo
On Thu, 23 Mar 2023 11:38:34 +0800, Yunsheng Lin wrote: > On 2023/3/23 9:36, Xuan Zhuo wrote: > > On Wed, 22 Mar 2023 16:22:18 +0800, Yunsheng Lin > > wrote: > >> On 2023/3/22 11:03, Xuan Zhuo wrote: > >>> In the xdp implementation of virtio-net mergeable, it always checks > >>> whether two page

Re: [PATCH net-next 1/8] virtio_net: mergeable xdp: put old page immediately

2023-03-22 Thread Xuan Zhuo
On Wed, 22 Mar 2023 16:22:18 +0800, Yunsheng Lin wrote: > On 2023/3/22 11:03, Xuan Zhuo wrote: > > In the xdp implementation of virtio-net mergeable, it always checks > > whether two page is used and a page is selected to release. This is > > complicated for the processing of action, and be carefu

[PATCH net-next 1/8] virtio_net: mergeable xdp: put old page immediately

2023-03-21 Thread Xuan Zhuo
In the xdp implementation of virtio-net mergeable, it always checks whether two page is used and a page is selected to release. This is complicated for the processing of action, and be careful. In the entire process, we have such principles: * If xdp_page is used (PASS, TX, Redirect), then we rele