mirror-linux/drivers/net/netdevsim
Joe Damato f71c549b26 netdevsim: Mark NAPI ID on skb in nsim_rcv
Previously, nsim_rcv was not marking the NAPI ID on the skb, leading to
applications seeing a napi ID of 0 when using SO_INCOMING_NAPI_ID.

To add to the userland confusion, netlink appears to correctly report
the NAPI IDs for netdevsim queues but the resulting file descriptor from
a call to accept() was reporting a NAPI ID of 0.

Signed-off-by: Joe Damato <jdamato@fastly.com>
Link: https://patch.msgid.link/20250424002746.16891-2-jdamato@fastly.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-04-24 18:30:01 -07:00
..
Makefile netdevsim: add dummy macsec offload 2023-07-14 09:16:53 +01:00
bpf.c netdevsim: 'support' multi-buf XDP 2025-03-12 13:39:59 -07:00
bus.c netdevsim: allow two netdevsim ports to be connected 2024-03-01 10:43:10 +00:00
dev.c netdevsim: use cond_resched() in nsim_dev_trap_report_work() 2024-10-15 09:58:43 -07:00
ethtool.c net: ethtool: try to protect all callback with netdev instance lock 2025-03-06 12:59:44 -08:00
fib.c netdevsim: Add trailing zero to terminate the string in nsim_nexthop_bucket_activity_write() 2024-10-29 11:43:01 -07:00
health.c netdevsim: prevent bad user input in nsim_dev_health_break_write() 2024-12-15 13:26:47 -08:00
hwstats.c netdevsim: don't embed file_operations into your structs 2025-01-15 13:14:36 +01:00
ipsec.c xfrm: provide common xdo_dev_offload_ok callback implementation 2025-02-21 08:08:15 +01:00
macsec.c netdevsim: macsec: pad u64 to correct length in logs 2024-10-23 09:51:06 +02:00
netdev.c netdevsim: Mark NAPI ID on skb in nsim_rcv 2025-04-24 18:30:01 -07:00
netdevsim.h netdevsim: add dummy device notifiers 2025-04-03 15:32:08 -07:00
psample.c
udp_tunnels.c net: netdevsim: try to close UDP port harness races 2025-01-27 14:24:34 -08:00