Thread View: linux.kernel.netdev
1 messages
1 total messages
Started by Stanislav Fomichev
Thu, 15 Oct 2026 21:34
Re: [PATCH net v4 3/4] netdevsim: support devmem RX and TX bindings
Author: Stanislav Fomichev
Date: Thu, 15 Oct 2026 21:34
Date: Thu, 15 Oct 2026 21:34
22 lines
9934 bytes
9934 bytes
On 10/15, Mina Almasry wrote: > Set a 64-bit DMA mask on nsim_bus_dev, enable NETMEM_TX_DMA on the > netdevsim net_device, and configure page_pool instances with > PP_FLAG_ALLOW_UNREADABLE_NETMEM and queue_idx, plus PP_FLAG_DMA_MAP | > PP_FLAG_DMA_SYNC_DEV when CONFIG_HAS_DMA is set, so devmem bind-rx and > bind-tx netlink operations can be tested against netdevsim in software > selftests. > > The pp_hold debugfs file allocates pages from the queue 0 page pool, so > refuse it when that pool is backed by a memory provider, and take the > netdev instance lock there so a concurrent bind-rx cannot swap the pool > in between. The software PSP path checksums the payload when the peer > does not decapsulate, so drop unreadable skbs there. > > Cc: Tariq Toukan <tariqt@nvidia.com> > Cc: Kaifeng Wang <kaifengw@google.com> > Assisted-by: LLM > Signed-off-by: Mina Almasry <almasrymina@google.com> > Reviewed-by: Dragos Tatulea <dtatulea@nvidia.com> Acked-by: Stanislav Fomichev <sdf@fomichev.me>
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads