Re: [PATCH net-next v2 3/3] tun: AF_XDP Tx zero-copy support

2024-03-01 Thread Maciej Fijalkowski
On Wed, Feb 28, 2024 at 07:05:56PM +0800, Yunjian Wang wrote: > This patch set allows TUN to support the AF_XDP Tx zero-copy feature, > which can significantly reduce CPU utilization for XDP programs. Why no Rx ZC support though? What will happen if I try rxdrop xdpsock against tun with this patch

Re: [PATCH net-next] sfc: reduce the number of requested xdp ev queues

2021-01-21 Thread Maciej Fijalkowski
On Thu, Jan 21, 2021 at 06:11:30PM +0100, Jesper Dangaard Brouer wrote: > On Wed, 20 Jan 2021 13:27:59 -0800 > Ivan Babrou wrote: > > > Without this change the driver tries to allocate too many queues, > > breaching the number of available msi-x interrupts on machines > > with many logical cpus a

Re: [PATCH net v3] ixgbe: fix double clean of tx descriptors with xdp

2019-08-26 Thread Maciej Fijalkowski
On Thu, 22 Aug 2019 20:12:37 +0300 Ilya Maximets wrote: > Tx code doesn't clear the descriptors' status after cleaning. > So, if the budget is larger than number of used elems in a ring, some > descriptors will be accounted twice and xsk_umem_complete_tx will move > prod_tail far beyond the prod_

Re: [PATCH net-next 3/4] mvpp2: add basic XDP support

2020-07-02 Thread Maciej Fijalkowski
On Thu, Jul 02, 2020 at 11:08:19AM +0300, ilias.apalodi...@linaro.org wrote: > On Tue, Jun 30, 2020 at 08:09:29PM +0200, Matteo Croce wrote: > > From: Matteo Croce > > > > Add XDP native support. > > By now only XDP_DROP, XDP_PASS and XDP_REDIRECT > > verdicts are supported. > > > > Co-developed

Re: [PATCH 10/13] selftests/bpf: test_xsk: Split xskxceiver

2025-03-18 Thread Maciej Fijalkowski
On Thu, Mar 13, 2025 at 11:48:08AM +0100, Bastien Curutchet (eBPF Foundation) wrote: > AF_XDP features are tested by the test_xsk.sh script but not by the > test_progs framework. The tests used by the script are defined in > xksxceiver.c which can't be integrated in the test_progs framework as is.

Re: [PATCH 00/13] selftests/bpf: Integrate test_xsk.c to test_progs framework

2025-03-14 Thread Maciej Fijalkowski
On Thu, Mar 13, 2025 at 11:47:58AM +0100, Bastien Curutchet (eBPF Foundation) wrote: > Hi all, > > This patch series continues the work to migrate the script tests into > prog_tests. Hi Bastien, the sole purpose of this is a cleanup of some sort? > > The test_xsk.sh script tests lots of AF_XD