From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=198.175.65.14 ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1796067139; b=ayuflusRuEPnbo4w4/DnwrP6q/O0/OPcYtkHy74pZDZY+FUIGoGzTn4ZmduinWRUM8iW nVMM8r8xNc4QT9F7Q9PMwti6LrOD7TpjyPaxtwKiEsRJNbbn1aBjIqSNVe22h5KUSEudI 0fLdzKH1N32yUpvP/PP/nBkM9sq9UPffWwcIqo22JmhYG0IjHPvh29aFUmzt4KFaBiEqA PQHRRP4OlHvDX89EM0d4zf5+Q1YElwM5sCZUUqivtP1J19oXvFoJkUdtd2i26hNViGQVX bLP0HyKBFKiHeh5+J7Q+DrHmwzjkv8i6zDpDZm3+z/zd8XjJdmwUm0oS2Y+fmtKRcSw== ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796067139; h=DMARC-Filter:DKIM-Signature:X-CSE-ConnectionGUID:X-CSE-MsgGUID: X-IronPort-AV:X-IronPort-AV:Received:X-CSE-ConnectionGUID: X-CSE-MsgGUID:X-ExtLoop1:X-IronPort-AV:Received:Received:Received: Received:Received:Received:Date:From:To:CC:Subject:Message-ID: References:Content-Type:Content-Disposition:Content-Transfer-Encoding: In-Reply-To:X-ClientProxiedBy:MIME-Version:X-MS-PublicTrafficType: X-MS-TrafficTypeDiagnostic:X-MS-Office365-Filtering-Correlation-Id: X-MS-Exchange-SenderADCheck:X-MS-Exchange-AntiSpam-Relay: X-Microsoft-Antispam:X-Microsoft-Antispam-Message-Info: X-Forefront-Antispam-Report: X-MS-Exchange-AntiSpam-MessageData-ChunkCount: X-MS-Exchange-AntiSpam-MessageData-0:X-Exchange-RoutingPolicyChecked: X-MS-Exchange-CrossTenant-Network-Message-Id: X-MS-Exchange-CrossTenant-AuthSource:X-MS-Exchange-CrossTenant-AuthAs: X-MS-Exchange-CrossTenant-OriginalArrivalTime: X-MS-Exchange-CrossTenant-FromEntityHeader: X-MS-Exchange-CrossTenant-Id:X-MS-Exchange-CrossTenant-MailboxType: X-MS-Exchange-CrossTenant-UserPrincipalName: X-MS-Exchange-Transport-CrossTenantHeadersStamped:X-OriginatorOrg; bh=kn2Yu3C8o9FTJVJFb+q9MXUJCR0LORT1rTLqRo4GQEk=; b=EDQ0rgefhuhmUtFFo3xH2KG1x2oOHc8dNlgqK8RUnWLpXXn0wBvrWnZsoSxZNZdD0mWP ldlKhzLejarKrf3Bce6cCM01+Ev3O4KzVp+j2zsDTnOIDG2kuTHi6cdycYpXpwkXsDhZT apyk5lTstQ4/oSWq4jBhFMHwPjViVZ6qD0oW2idD4BaMmDE1ErzxtBSfe9xfzR9QeN1wQ uB2Ks/6IclISOcWDa4hJq5oVsBKjwjaS2Qshi3/BuoDntbi3kRlLIzuaasKpgB1Huhyu7 AwP9MOtCxSVbUMjo5oaLowWn+U+aoMcrcm4DvtC3qp5+F0eFuzEvyZWmUufFebSDe6g== ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=VYIVwzg7; arc=pass header.oldest-pass=0 smtp.remote-ip=198.175.65.14 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.14]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8D7E2606A320 for ; Mon, 30 Nov 2026 19:32:18 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 8D7E2606A320 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=VYIVwzg7 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1796067138; x=1827603138; h=date:from:to:cc:subject:message-id:references: content-transfer-encoding:in-reply-to:mime-version; bh=kn2Yu3C8o9FTJVJFb+q9MXUJCR0LORT1rTLqRo4GQEk=; b=VYIVwzg7ld/Gj159RUk0j4lOQEtbnz8V+ZhFuG59FHF0ClugC/3W9Cm5 e/ohDNOvt6fsaElUn5mbL7TogxE3Ud595Qe9Pwfow5XGhEZd4Pe4QZHew nihiDKzyA2xPrBH9F3FizipJC1VLIEORBCRLJYFQ6gX2/9Bd9qqcdgyT5 4I6/+yD0Sn8CJJ+C8ANNv7yu/b13LjDpGlgSSil6fG2LSJsog3uZfezyW zHlDDHyHPrtYayNAx8eNX+YI6MnX7oys7u7/KwV6quG2Bl2MlGyGxXdlL /54OuyQ2aQXcIaeBP75DE9YfP1ZNg2gn8RCDs90BLmfvyxC4GbEIIVvaL A==; X-CSE-ConnectionGUID: OCVJXpA/TDuLQ0i5Ntjm2w== X-CSE-MsgGUID: 52t5Hdc9Qv2k5H8Stp7y7Q== X-IronPort-AV: E=McAfee;i="6800,10657,11982"; a="4821786" X-IronPort-AV: E=Sophos;i="6.27,243,1787036400"; d="scan'208";a="4821786" Received: from fmviesa013.fm.intel.com ([10.60.135.153]) by orvoesa106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Nov 2026 11:32:18 -0800 X-CSE-ConnectionGUID: Cvt27yBCTQ6TErkiqBSPKw== X-CSE-MsgGUID: /Ao0VBO4TJGFzHHHnIuEmQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.27,243,1787036400"; d="scan'208";a="15024432" Received: from fmsmsx901.amr.corp.intel.com ([10.18.126.90]) by fmviesa013.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Nov 2026 11:32:18 -0800 Received: from FMSMSX902.amr.corp.intel.com (10.18.126.91) by fmsmsx901.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.57; Mon, 30 Nov 2026 11:32:17 -0800 Received: from fmsedg901.ED.cps.intel.com (10.1.192.143) by FMSMSX902.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.57 via Frontend Transport; Mon, 30 Nov 2026 11:32:17 -0800 Received: from SA9PR02CU001.outbound.protection.outlook.com (40.93.196.41) by edgegateway.intel.com (192.55.55.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.57; Mon, 30 Nov 2026 11:32:17 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=USm6nEU65Srev0j1WycOdAleHaTC/wh/V24Wp/NwHvaYNRiouEk8UVoQc+Otjk7ih2rszyhVUpC8neqSLEFA4bdUfmB6SXWrAtpjo9Vid9PrBSlaB6A0bV8uZ3SfJFeLj5EH4yxgDpBI8Zz/m/qmlC6IFUJfIcYys+MLZT+51UyOEyy12BzDTfI98kduA6cpa71NZYOnWZcjNnT+UvtFl2jd71KZBcBqugyAH9CwFqAxOFQ0UjT+tdd01mkIky7u1Mq7VHDZp1ZzfqQPlesPx9Qeg1mogmVEplrWV26aQ+bnYHVKhMgtEL7roh0M1hUXX1BdEDPMdzTRWNeWGNAQbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=kn2Yu3C8o9FTJVJFb+q9MXUJCR0LORT1rTLqRo4GQEk=; b=yckRnrWVh8hvHgE3tM2XjlqzJqIbe4snYBMwpUIcGy0mWs/Yu4ayV4SINpr8lOdJzVpGYUya5aIjsO2eYaWh9Zm5S2YRqdEWt5e6TLjcpEZBe/cuFSZBm6EWc621sYU33SO4ACVjhZpQRLzofGxOwyxuxPkHOPiWJrjJbiWl493NwZkzjFHvEe1zqRbzYAeLfN0+/gcH45IkDhzH3OMq+H2uxnx7ypZSOsfjwa4VOEp6f+KlzXdAUstXrGd/22XbhLvSXLj1hE10nrXoW1y0l6kP4wiNwTUu1cGG8eONVdOiDDmPKM6wP7ic/TxzWKSz8vStitm0n+KPAWvT+PTjeg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: mx.microsoft.com 1; dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from LV2PR11MB868673.namprd11.prod.outlook.com (2603:10b6:408:422::13) by SA3PR11MB235483.namprd11.prod.outlook.com (2603:10b6:806:536::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.662.13; Mon, 30 Nov 2026 19:32:15 +0000 Received: from LV2PR11MB868673.namprd11.prod.outlook.com ([fe80::5bfd:6afe:a9db:b7de]) by LV2PR11MB868673.namprd11.prod.outlook.com ([fe80::5bfd:6afe:a9db:b7de%4]) with mapi id 15.21.0662.012; Mon, 30 Nov 2026 19:32:15 +0000 Date: Mon, 30 Nov 2026 20:32:10 +0100 From: Maciej Fijalkowski To: CC: , , , , , , , Subject: Re: [PATCH v6 net-next 15/15] selftests: drv-net: run the AF_XDP tests over veth or a NIC Message-ID: References: <20261127150527.1122049-16-maciej.fijalkowski@intel.com> <179587852155.3135.3559984892712770438@kernel.org> Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <179587852155.3135.3559984892712770438@kernel.org> X-ClientProxiedBy: LO4P123CA0600.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:295::20) To LV2PR11MB868673.namprd11.prod.outlook.com (2603:10b6:408:422::13) X-Mailing-List: netdev@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: LV2PR11MB868673:EE_|SA3PR11MB235483:EE_ X-MS-Office365-Filtering-Correlation-Id: 0a2b5c76-7f2e-4089-6c7f-08df4f18a3bc X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|1800799024|366016|23010399003|5023799004|11063799006|4143699003|6133799003|261009223027099003|22082099003|18002099003|261026140227099003|10067099003|56012099006|261102123227099003|261028144727099003|261026121527099003|261021135927099003|261022105027099003|261021121427099003|261021123027099003; X-Microsoft-Antispam-Message-Info: KiCdsBpbtKE/6wYrLQfx09uwRc71uLDQWOTVy8vZvR2vRhAhr5gBsTcNDmLnqf1/VimdH6fMcMBlwO2+0ZQuwWvx0AUMrNqCWkhhirJKgmKPMa5wgPhPnwFwz+EqEqNZUDcmHt6lClNq74vBDiXb1JiAp7dwR2exk+fNwLwSTPvtRbk0xwsg7nV8WkKsjDHZEw5Fr3BTALFAfsPOZXwVDyvaV074+U+6Bue+T2R1kFQ+Z+IR8Ht5uz6u1pdp9SL/saEDRTtjeuNkcVnoo4wfspNpejZq6Uc0n8Y2yQyRd5fg3HG7KZHnjAMJ1ANvi1PCSIGuNnSZpGoxH+1+AvPoRHYXDppytOa5mq85PIOGa1n0DpkwEgQWTp2cCSPUjD++TTzUJytsEHZo5J18UjvzRChflsWquWiEuvtFdimry1icF8Jjpjy+Y/Ax+HVpdm6ozXakQ1eOGlKn4aQ33r7CWS8i2bjfct55TgZtpLr2pIkEoXrmwpPn5oMZuXFX+g5cCOWYeFWaCnAxo3kYHPnyzQLZN0UVEOyTjETfGwtEaZui7kyfTU/mv/SrZXPuJaE1vUZSJz+yQFGEB70oFKqvZoIP5uP4HjwSCUdjiahFnqqVxV9PcPG0kcFMu+ud0WKa X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:LV2PR11MB868673.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(376014)(1800799024)(366016)(23010399003)(5023799004)(11063799006)(4143699003)(6133799003)(261009223027099003)(22082099003)(18002099003)(261026140227099003)(10067099003)(56012099006)(261102123227099003)(261028144727099003)(261026121527099003)(261021135927099003)(261022105027099003)(261021121427099003)(261021123027099003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?WnhWOHd2TFdqUDhuTmEzbFVwN3RoM2s5QUZBTlduK0s5UGZZYUNkVU51Umdy?= =?utf-8?B?UG0wZThYOG4rM2JyZ09rWFcrQytleFVFWldYSzBLMlo0UDFLaUNCRHZvSTJv?= =?utf-8?B?Wm01UHN6RjR4NXhqL050d3lCY2kvTmFtems1eURvUUZOc1dubCt2T0Jud2RN?= =?utf-8?B?Ukd1TGFIL1l6ZlYvM2NGeDNkL2ZoVGNZSFZyN29zeW5vZVFFMGNia0QvTHFP?= =?utf-8?B?V0tSOXRRTUNtRHZ0NSt2Wk5OUVBkZWFWbjVaeFVQMWJBeTVlVTlwSSs5RmtV?= =?utf-8?B?b0MxemlEaVNDS2dvSzhBQ0FyTjl5bWZyRnNMdGl0QWNVKzErM3FNMkdSRTBX?= =?utf-8?B?TXdqa1AyTU04VXREM01wWEtXQ0dWL3J2WjVxS1NOSzJleG42ZHZsUjRQWXRL?= =?utf-8?B?SEtrZEhwcWF4UlZkVmlyS1NQTHZQOG5pajFSUFQ1SH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ub1pWekdxZEQwRUpaMnpzeEI5WDQ1czdkMFor?= =?utf-8?B?QUdTcUFOZVlCQnhBajh5TFpsVmFzZHdWV1dwak5iN0N4aVFlVEF5RGxWYnFL?= =?utf-8?Q?KrR22bzHnhbESnTM=3D?= X-Exchange-RoutingPolicyChecked: AROfurdn8a06ZsZpyuGol3i11ntn/IprtSAWWRkJs1Sk/RbBtsgWgWUir+OZHep5GmVKQ8gMokcaSluUQqEjt7hXsmlEs/vvlsEQbmIR1DebnRlDqwnc7opb4+qaL0wxqWmbHdhKyk6vVEQflVYf/rEkFbe6EDZZJFSRR7xCw0sC3qLmMTgXK8JZkuH3eUsKK3pl51kPS3VR2qXJHu+P8mUi7rTQy0eKHgAIDw1l05Duk+Mt0OGX3VEHLI5nKQ5CoPchCmvH4WsFwWwP85E3yiOd5crdet+tQXxXXp0QqZLtYZliKdPg5V1MN4GucHQPW5+GXVjn7r6YouGxuwJtLA== X-MS-Exchange-CrossTenant-Network-Message-Id: 0a2b5c76-7f2e-4089-6c7f-08df4f18a3bc X-MS-Exchange-CrossTenant-AuthSource: LV2PR11MB868673.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Nov 2026 19:32:15.5582 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: rWC7mdaeqa9cGYlhdxcabe4m0xdgHtwZ5rHR7kAt1YowWspPI3POw72/GGZZEaLIgBjyzgTKlZb57E4pUBclJ/YqZKrQpZfZZ/CUjG45kpE= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA3PR11MB235483 X-OriginatorOrg: intel.com On Sat, Nov 28, 2026 at 03:08:41PM +0000, netdev-bot+sashiko@kernel.org wrote: > Thank you for your contribution! Sashiko AI review found 4 potential > issue(s) to consider. > > Critical: 0 · High: 0 · Medium: 2 · Low: 2 > > If you believe none of the issues are legitimate, please reply to each > issue of Medium severity or higher and explain why the AI is wrong. > If any of them are legitimate and you plan to respin, please let patchwork > know by including "pw-bot: cr" as a separate line at the end of your reply > (one such reply per series is enough). > > - [Medium] drivers/net/xsk.py adds the entry (None, > "XDP_ADJUST_TAIL_SHRINK_MULTI_BUFF"): "trimmed frags leak" to… > - [Medium] tools/testing/selftests/net/lib/Makefile builds xskxceiver > only when `bpftool version` succeeds (HAS_BPFTOOL -> COND_GEN_FILES). > - [Low] The patch fixes a real bug in hugepages_present() > (tools/testing/selftests/net/lib/xsk/test_xsk.c). > - [Low] In the NIC run, _setup_nic() turns ntuple-filters on for both > hosts via set_ethtool_feat(..., {"ntuple-filters": True}). > > -- > > selftests: drv-net: run the AF_XDP tests over veth or a NIC > > This adds drivers/net/xsk.py, which runs each AF_XDP case as a pair of > xskxceiver endpoints. It runs them either over a veth pair, with the peer > in a namespace, or over NETIF, with an SKB-mode peer on the remote host. > NetDrvEpEnv gains a sw_drv argument so it can create a veth pair instead > of netdevsim, and the mmap() flags in hugepages_present() are fixed. > > > diff --git a/tools/testing/selftests/drivers/net/xsk.py b/tools/testing/selftests/drivers/net/xsk.py > > new file mode 100755 > > index 0000000000000..ebde81fa5140b > > --- /dev/null > > +++ b/tools/testing/selftests/drivers/net/xsk.py > > @@ -0,0 +1,453 @@ > > [ ... ] > > > + # bpf_xdp_adjust_tail() frees a frag that it trims off as the memory type > > + # of the XDP RX queue, which veth and generic XDP leave at > > + # MEM_TYPE_PAGE_SHARED for frames they copy into page_pool pages, so > > + # page_frag_free() frees a page that its pool still owns. The endpoints > > + # pass regardless, so running the case would only harm the kernel. > > + (None, "XDP_ADJUST_TAIL_SHRINK_MULTI_BUFF"): "trimmed frags leak", > > [Severity: Medium] > The commit message describes VETH_XFAIL as "Cases that veth cannot pass > are expected failures". This comment says something else: the case > passes, but running it corrupts kernel memory. Should that kernel bug be > reported and fixed, rather than only recorded in a Python comment? syzbot has reported it, and Slawomir's series [0] fixes it, generic XDP in patch 1 and veth in patch 4. The entry goes once that is in net-next. And the case does not pass. Its endpoints do, but a debug kernel reports "BUG: Bad page state ... page_pool leak". > > The path in the comment looks real in the current tree. The XDP RX > queues are registered as shared pages, while veth copies frames into its > page_pool: > > veth_enable_xdp_range() > xdp_rxq_info_reg_mem_model(&rq->xdp_rxq, MEM_TYPE_PAGE_SHARED, NULL) > > veth_convert_skb_to_xdp_buff() > skb_pp_cow_data(rq->page_pool, ...) /* rxq mem stays PAGE_SHARED */ > > Generic XDP does the same through netif_skb_check_for_xdp() -> > skb_cow_data_for_xdp(system_page_pool), with the default PAGE_SHARED rxq. > > When a frag is trimmed away completely: > > bpf_xdp_frags_shrink_tail() > bpf_xdp_shrink_data() > __xdp_return(netmem, xdp->rxq->mem.type, false, zc_frag) > case MEM_TYPE_PAGE_SHARED: > page_frag_free(__netmem_address(netmem)) > > That drops a plain page reference on a page the page_pool still owns. > > The commit message doesn't mention this, and there is no Fixes: or Link: > tag, so the net/xdp and filter.c maintainers are unlikely to see it. > Could it go into the changelog, or be sent as a separate report or fix? > > The xfail reason "trimmed frags leak" also seems to say the opposite of > the comment above it: the page is freed too early, not leaked. Would a > reason like "trimmed frags freed under their page_pool" be more accurate? "leak" is the kernel's own word for it, from that report, and [0] is "xdp: fix page_pool leaks". [0] https://lore.kernel.org/netdev/20261127100132.1977890-1-sst@poczta.fm/ > > The baseline test_xsk.h already listed this case among its flaky tests, > so little coverage may be lost. The bug itself still goes unreported. > > [ ... ] > > > + # Restore the table last, once ntuple-filters are off again, as turning > > + # them on or off can reset the NIC. > > + defer(_restore_rss, cfg, indir) > > + for ifname, host in ((cfg.ifname, None), (cfg.remote_ifname, cfg.remote)): > > + feat = ethtool(f"-k {ifname}", json=True, host=host)[0] > > + set_ethtool_feat(ifname, feat, {"ntuple-filters": True}, host=host) > > + try: > > + ethtool(f"-X {cfg.ifname} equal {queue}") > > + except CmdExitFailure as e: > > + raise KsftSkipEx(f"{cfg.ifname} cannot take queue {queue} " > > + "out of RSS") from e > > + _steer(cfg, queue, udp_port, ctrl_port) > > > +def main(): > > + """Run the cases over veth without NETIF, else on NETIF.""" > > + with NetDrvEpEnv(__file__, sw_drv="veth") as cfg: > > + cfg.bin_local = cfg.net_lib_dir / "xskxceiver" > > + cases = _get_cases(cfg) > > [Severity: Medium] > What happens here if xskxceiver was not built? > > tools/testing/selftests/net/lib/Makefile builds it only when bpftool > works: > > HAS_BPFTOOL := $(shell $(BPFTOOL) version >/dev/null 2>&1 && echo y) > ifeq ($(HAS_BPFTOOL),y) > COND_GEN_FILES += xskxceiver > else > $(warning excluding xskxceiver, bpftool not installed or not working) > endif > > However, drivers/net/Makefile adds xsk.py to TEST_PROGS unconditionally. > > _get_cases() then runs cmd([str(cfg.bin_local), "-l"]). cmd() passes a > list argv to subprocess.Popen(), so a missing binary raises > FileNotFoundError rather than CmdExitFailure. This happens before > ksft_run(), so nothing turns it into a skip, and the script exits with > a traceback. > > Would it work to raise KsftSkipEx here when cfg.bin_local does not > exist? The test would then report a skip instead of a failure on builds > without a working bpftool. No, ksft.py catches KsftSkipEx only inside ksft_run(), so that ends in a traceback too. And I'd rather a build without xskxceiver failed: make already warns about it, and a skip would hide it in CI. iou-zcrx.py does the same with iou-zcrx, which hw/Makefile builds only with liburing.