The attachment rules need a test driver that accepts native XDP and devmem bindings together. netdevsim runs XDP on ordinary skbs sent by its peer, not on provider payload. Declare native XDP support alongside devmem bindings so selftests can check both attach orders. This tests configuration, not access to provider data. Signed-off-by: Björn Töpel --- drivers/net/netdevsim/netdev.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/netdevsim/netdev.c b/drivers/net/netdevsim/netdev.c index 0372a9bd63bb..3d1657d24f60 100644 --- a/drivers/net/netdevsim/netdev.c +++ b/drivers/net/netdevsim/netdev.c @@ -880,6 +880,8 @@ static const struct netdev_queue_mgmt_ops nsim_queue_mgmt_ops = { .ndo_queue_mem_free = nsim_queue_mem_free, .ndo_queue_start = nsim_queue_start, .ndo_queue_stop = nsim_queue_stop, + /* XDP runs on the skbs of the peer, never on provider memory */ + .xdp_unreadable = true, }; static ssize_t -- 2.56.1