Re: [Intel-wired-lan] [PATCH net-next v7 0/8] fix two bugs related to page_pool

2025-01-18 Thread Jesper Dangaard Brouer
On 17/01/2025 12.35, Yunsheng Lin wrote: On 2025/1/17 2:02, Jesper Dangaard Brouer wrote: Benchmark (bench_page_pool_simple) results from before and after patchset with patches 1-5m and rcu lock removal as requested. | Test name  |Cycles |   1-5 |    | Nanosec |    1-5

Re: [Intel-wired-lan] [PATCH net-next v7 0/8] fix two bugs related to page_pool

2025-01-16 Thread Jesper Dangaard Brouer
On 16/01/2025 13.52, Yunsheng Lin wrote: On 2025/1/16 1:40, Jesper Dangaard Brouer wrote: On 15/01/2025 12.33, Yunsheng Lin wrote: On 2025/1/14 22:31, Jesper Dangaard Brouer wrote: On 10/01/2025 14.06, Yunsheng Lin wrote: This patchset fix a possible time window problem for page_pool

Re: [Intel-wired-lan] [PATCH net-next v7 0/8] fix two bugs related to page_pool

2025-01-15 Thread Jesper Dangaard Brouer
On 15/01/2025 12.33, Yunsheng Lin wrote: On 2025/1/14 22:31, Jesper Dangaard Brouer wrote: On 10/01/2025 14.06, Yunsheng Lin wrote: This patchset fix a possible time window problem for page_pool and the dma API misuse problem as mentioned in [1], and try to avoid the overhead of the

Re: [Intel-wired-lan] [PATCH net-next v7 0/8] fix two bugs related to page_pool

2025-01-14 Thread Jesper Dangaard Brouer
On 10/01/2025 14.06, Yunsheng Lin wrote: This patchset fix a possible time window problem for page_pool and the dma API misuse problem as mentioned in [1], and try to avoid the overhead of the fixing using some optimization. From the below performance data, the overhead is not so obvious due

Re: [Intel-wired-lan] [PATCH net-next v6 1/8] page_pool: introduce page_pool_get_pp() API

2025-01-07 Thread Jesper Dangaard Brouer
On 06/01/2025 14.01, Yunsheng Lin wrote: > introduce page_pool_get_pp() API to avoid caller accessing > page->pp directly. > [...] diff --git a/include/net/page_pool/helpers.h b/include/net/page_pool/helpers.h index 543f54fa3020..9c4dbd2289b1 100644 --- a/include/net/page_pool/helpers.h +++ b/

Re: [Intel-wired-lan] [PATCH net-next v6 0/8] fix two bugs related to page_pool

2025-01-07 Thread Jesper Dangaard Brouer
On 06/01/2025 14.01, Yunsheng Lin wrote: This patchset fix a possible time window problem for page_pool and the dma API misuse problem as mentioned in [1], and try to avoid the overhead of the fixing using some optimization. From the below performance data, the overhead is not so obvious due

Re: [Intel-wired-lan] [RFC bpf-next 0/4] Add XDP rx hw hints support performing XDP_REDIRECT

2024-10-04 Thread Jesper Dangaard Brouer
On 04/10/2024 15.55, Arthur Fabre wrote: On Fri Oct 4, 2024 at 12:38 PM CEST, Jesper Dangaard Brouer wrote: [...] There are two different use-cases for the metadata: * "Hardware" metadata (like the hash, rx_timestamp...). There are only a few well known fields, and only XDP

Re: [Intel-wired-lan] [RFC bpf-next 0/4] Add XDP rx hw hints support performing XDP_REDIRECT

2024-10-04 Thread Jesper Dangaard Brouer
On 04/10/2024 04.13, Daniel Xu wrote: On Thu, Oct 03, 2024 at 01:26:08PM GMT, Stanislav Fomichev wrote: On 10/03, Arthur Fabre wrote: On Thu Oct 3, 2024 at 12:49 AM CEST, Stanislav Fomichev wrote: On 10/02, Toke Høiland-Jørgensen wrote: Stanislav Fomichev writes: On 10/01, Toke Høiland-

Re: [Intel-wired-lan] [RFC bpf-next 0/4] Add XDP rx hw hints support performing XDP_REDIRECT

2024-09-21 Thread Jesper Dangaard Brouer
On 21/09/2024 22.17, Alexander Lobakin wrote: From: Lorenzo Bianconi Date: Sat, 21 Sep 2024 18:52:56 +0200 This series introduces the xdp_rx_meta struct in the xdp_buff/xdp_frame &xdp_buff is on the stack. &xdp_frame consumes headroom. IOW they're size-sensitive and putting metadata dire

Re: [Intel-wired-lan] [PATCH net 2/2] page_pool: fix IOMMU crash when driver has already unbound

2024-09-19 Thread Jesper Dangaard Brouer
On 19/09/2024 13.15, Yunsheng Lin wrote: On 2024/9/19 17:42, Jesper Dangaard Brouer wrote: On 18/09/2024 19.06, Ilias Apalodimas wrote: In order not to do the dma unmmapping after driver has already unbound and stall the unloading of the networking driver, add the pool->items array

Re: [Intel-wired-lan] [PATCH net 2/2] page_pool: fix IOMMU crash when driver has already unbound

2024-09-19 Thread Jesper Dangaard Brouer
On 18/09/2024 19.06, Ilias Apalodimas wrote: In order not to do the dma unmmapping after driver has already unbound and stall the unloading of the networking driver, add the pool->items array to record all the pages including the ones which are handed over to network stack, so the page_pool can