Re: [PATCH net-next 2/2] tun: AF_XDP Rx zero-copy support

2024-01-29 Thread Jason Wang
rnel.org; > > da...@davemloft.net; magnus.karls...@intel.com; net...@vger.kernel.org; > > linux-kernel@vger.kernel.org; k...@vger.kernel.org; > > virtualizat...@lists.linux.dev; xudingke > > Subject: Re: [PATCH net-next 2/2] tun: AF_XDP Rx zero-copy support >

Re: [PATCH net-next 2/2] tun: AF_XDP Rx zero-copy support

2024-01-29 Thread Jason Wang
rnel.org; > > da...@davemloft.net; magnus.karls...@intel.com; net...@vger.kernel.org; > > linux-kernel@vger.kernel.org; k...@vger.kernel.org; > > virtualizat...@lists.linux.dev; xudingke > > Subject: Re: [PATCH net-next 2/2] tun: AF_XDP Rx zero-copy support >

RE: [PATCH net-next 2/2] tun: AF_XDP Rx zero-copy support

2024-01-29 Thread wangyunjian
ernel.org; > linux-kernel@vger.kernel.org; k...@vger.kernel.org; > virtualizat...@lists.linux.dev; xudingke > Subject: Re: [PATCH net-next 2/2] tun: AF_XDP Rx zero-copy support > > On Thu, Jan 25, 2024 at 8:54 PM wangyunjian > wrote: > > > > > > > > >

RE: [PATCH net-next 2/2] tun: AF_XDP Rx zero-copy support

2024-01-29 Thread wangyunjian
ernel.org; > linux-kernel@vger.kernel.org; k...@vger.kernel.org; > virtualizat...@lists.linux.dev; xudingke > Subject: Re: [PATCH net-next 2/2] tun: AF_XDP Rx zero-copy support > > On Sat, Jan 27, 2024 at 5:34 PM wangyunjian > wrote: > > > > > > -Origin

Re: [PATCH net-next 2/2] tun: AF_XDP Rx zero-copy support

2024-01-28 Thread Jason Wang
uijn.ker...@gmail.com; k...@kernel.org; > > > da...@davemloft.net; magnus.karls...@intel.com; > > > net...@vger.kernel.org; linux-kernel@vger.kernel.org; > > > k...@vger.kernel.org; virtualizat...@lists.linux.dev; xudingke > > > > > > Subject: Re: [PAT

Re: [PATCH net-next 2/2] tun: AF_XDP Rx zero-copy support

2024-01-28 Thread Jason Wang
r...@gmail.com; k...@kernel.org; > > da...@davemloft.net; magnus.karls...@intel.com; net...@vger.kernel.org; > > linux-kernel@vger.kernel.org; k...@vger.kernel.org; > > virtualizat...@lists.linux.dev; xudingke > > Subject: Re: [PATCH net-next 2/2] tun: AF_XDP Rx zero-copy support

Re: [PATCH net-next 2/2] tun: AF_XDP Rx zero-copy support

2024-01-28 Thread kernel test robot
Hi Yunjian, kernel test robot noticed the following build warnings: [auto build test WARNING on net-next/main] url: https://github.com/intel-lab-lkp/linux/commits/Yunjian-Wang/xsk-Remove-non-zero-dma_page-check-in-xp_assign_dev/20240124-174011 base: net-next/main patch link:

Re: [PATCH net-next 2/2] tun: AF_XDP Rx zero-copy support

2024-01-28 Thread kernel test robot
Hi Yunjian, kernel test robot noticed the following build warnings: [auto build test WARNING on net-next/main] url: https://github.com/intel-lab-lkp/linux/commits/Yunjian-Wang/xsk-Remove-non-zero-dma_page-check-in-xp_assign_dev/20240124-174011 base: net-next/main patch link:

Re: [PATCH net-next 2/2] tun: AF_XDP Rx zero-copy support

2024-01-27 Thread kernel test robot
Hi Yunjian, kernel test robot noticed the following build warnings: [auto build test WARNING on net-next/main] url: https://github.com/intel-lab-lkp/linux/commits/Yunjian-Wang/xsk-Remove-non-zero-dma_page-check-in-xp_assign_dev/20240124-174011 base: net-next/main patch link:

RE: [PATCH net-next 2/2] tun: AF_XDP Rx zero-copy support

2024-01-27 Thread wangyunjian
; magnus.karls...@intel.com; > > net...@vger.kernel.org; linux-kernel@vger.kernel.org; > > k...@vger.kernel.org; virtualizat...@lists.linux.dev; xudingke > > > > Subject: Re: [PATCH net-next 2/2] tun: AF_XDP Rx zero-copy support > > > > On Wed, Jan 24, 2024 at 5:38 PM Yunjian W

RE: [PATCH net-next 2/2] tun: AF_XDP Rx zero-copy support

2024-01-25 Thread wangyunjian
ernel.org; > linux-kernel@vger.kernel.org; k...@vger.kernel.org; > virtualizat...@lists.linux.dev; xudingke > Subject: Re: [PATCH net-next 2/2] tun: AF_XDP Rx zero-copy support > > On Wed, Jan 24, 2024 at 5:38 PM Yunjian Wang > wrote: > > > > Now the zero-co

RE: [PATCH net-next 2/2] tun: AF_XDP Rx zero-copy support

2024-01-25 Thread wangyunjian
karls...@intel.com > Cc: net...@vger.kernel.org; linux-kernel@vger.kernel.org; > k...@vger.kernel.org; virtualizat...@lists.linux.dev; xudingke > ; wangyunjian > Subject: Re: [PATCH net-next 2/2] tun: AF_XDP Rx zero-copy support > > Yunjian Wang wrote: > > Now the zero-

Re: [PATCH net-next 2/2] tun: AF_XDP Rx zero-copy support

2024-01-24 Thread Jason Wang
On Wed, Jan 24, 2024 at 5:38 PM Yunjian Wang wrote: > > Now the zero-copy feature of AF_XDP socket is supported by some > drivers, which can reduce CPU utilization on the xdp program. > This patch set allows tun to support AF_XDP Rx zero-copy feature. > > This patch tries to address this by: > -

Re: [PATCH net-next 2/2] tun: AF_XDP Rx zero-copy support

2024-01-24 Thread Jason Wang
On Thu, Jan 25, 2024 at 3:05 AM Willem de Bruijn wrote: > > Yunjian Wang wrote: > > Now the zero-copy feature of AF_XDP socket is supported by some > > drivers, which can reduce CPU utilization on the xdp program. > > This patch set allows tun to support AF_XDP Rx zero-copy feature. > > > > This

Re: [PATCH net-next 2/2] tun: AF_XDP Rx zero-copy support

2024-01-24 Thread Willem de Bruijn
Yunjian Wang wrote: > Now the zero-copy feature of AF_XDP socket is supported by some > drivers, which can reduce CPU utilization on the xdp program. > This patch set allows tun to support AF_XDP Rx zero-copy feature. > > This patch tries to address this by: > - Use peek_len to consume a