summaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorBobby Eshleman <bobbyeshleman@meta.com>2026-05-14 10:22:30 -0700
committerJakub Kicinski <kuba@kernel.org>2026-05-18 18:49:06 -0700
commit1abe839b34aea45051d08ccf99229e74e18abdf3 (patch)
tree37481c8e0a29f25a5c69538ed5c35b174b891299 /scripts/objdiff
parent6ce2bb048055ee599c0f35f1a90ff5db29ba5d65 (diff)
net: devmem: support TX over NETMEM_TX_NO_DMA devices
When a netkit virtual device leases queues from a physical NIC, devmem TX bindings created on the netkit device must still result in the dmabuf being mapped for dma by the physical device. This patch accomplishes this by teaching the bind handler to search for the underlying DMA-capable device by looking it up via leased rx queues. The function netdev_find_netmem_tx_dev(), used for finding the underlying DMA-capable device, can be extended to support other non-netkit NETMEM_TX_NO_DMA devices in the future if needed. Additionally, this patch extends validate_xmit_unreadable_skb() to support the netkit case, where the skb is validated twice: once on the netkit guest device and again on the physical NIC after BPF redirect or ip forwarding. Acked-by: Stanislav Fomichev <sdf@fomichev.me> Signed-off-by: Bobby Eshleman <bobbyeshleman@meta.com> Link: https://patch.msgid.link/20260514-tcp-dm-netkit-v5-3-408c59b91e66@meta.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions