From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtpout-03.galae.net (smtpout-03.galae.net [185.246.85.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 478DA4DF4C7; Thu, 3 Sep 2026 15:55:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.246.85.4 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788450935; cv=none; b=fJrQYHvhnj9Tv6EQfzzuTLWHMLmTw0G5//OnCC157ri/KeY/1ZHRxmm+KjtSG3zUPNFcEFEilRq9eaqvUM4u8gHZUlBhTFlWu6BPhl5y8AyvNcRqDu1rZvx7jFwIOTuqJnME0ik3Bjtr6nlgJrGH/TrV2wi8tzDCTdOESy3H//Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788450935; c=relaxed/simple; bh=FhI4jwB5wVe5kfHJwrIsGsHJidCSbsdWAb/7DthktI0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=SsIexR8KykDw7ICqkkAyCrYAxlNSE3F/bTWD31O46gHw+jUfTpJxglqIQnSeCqr6Qda0hcB4PyILxBOIDOL8D+Cwfon6yVylCHwsOLDASDJKdxaZe0YD6O0MUrI/0My1se0YMoHirZeoomAJIcWXImS6vxCzCjojzzoEbPNjY3A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=nsAYQ7Uu; arc=none smtp.client-ip=185.246.85.4 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="nsAYQ7Uu" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-03.galae.net (Postfix) with ESMTPS id 8FA854E414E5; Thu, 3 Sep 2026 15:55:31 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 548C36054B; Thu, 3 Sep 2026 15:55:31 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 9F31411C79F4D; Thu, 3 Sep 2026 17:55:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1788450930; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding; bh=C0YhNtOAqu9STBbW5yxOQL427yKmiBfnh4vUyQZuEzc=; b=nsAYQ7Uumrq90sszrFI2yB0Wq00Am3fPefV25tA5MkQ+Kn+Ocp3RH7Fn5vlyzRUO1nsXZg PFo3Q8QUGB2ffDVCeIn3+jjwjJrxha7+H2Ag8Zds8gjlzkG22dVn3iPp1hTva7PH7y4A8K E8B7onJoDj1aL6Tg0lbU+jreXYM/kk8cAKwBRrrW2eJbvgjkj3meIboA5hdGspm0UyAkPL k6EfP4FM7kq/aubBh2RBOPQjNh7cCHTZbmDO/0b68skgerRTP1tXicHrhOgm63VpL55Eeq E4/QxWbZpAp7qv+XLw/T68bvUmhSxreEz9OMDG87nc81LaIY6qELo3/FEsAUEw== From: "Maxime Chevallier (Netdev Foundation)" To: Andrew Lunn , davem@davemloft.net, Eric Dumazet , Jakub Kicinski , Paolo Abeni , Donald Hunter , Simon Horman , Shuah Khan , matttbe@kernel.org, Stanislav Fomichev Cc: "Maxime Chevallier (Netdev Foundation)" , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, thomas.petazzoni@bootlin.com, linux-kselftest@vger.kernel.org Subject: [PATCH net-next v2 0/2] selftests: drv-net: Allow cross-compiling the hardware tests Date: Thu, 3 Sep 2026 17:55:21 +0200 Message-ID: <20260903155524.2241065-1-maxime.chevallier@bootlin.com> X-Mailer: git-send-email 2.55.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Last-TLS-Session-Version: TLSv1.3 Hi everyone, here's V2 for cross-compilation improvements for the drivers/net/hw selftests. Patch 1 fixes YNL cross compilation, while patch 2 deals with the iou_zcrx check. Jakub asked : I assume you don't actually have luring for your cross- env? Could we keep it simple and just declare luring as unavailable when cross compiling? Because the probing compilation rule is probably missing more flags to make cross compilation work. Ignore if selftests using luring do actually work for you after this patch.. Turns out I did have liburing in the CC env (generated from Buildroot, which supports liburing), and the cross-compiled liburing check worked as expected :) Tested on an aarch64 target, built on x86_64. Thanks, Maxime Changes in V2: - Update the topic for patch 1 - Update the CC construction for patch 2 V1: https://lore.kernel.org/r/20260901164200.1124343-1-maxime.chevallier@bootlin.com Maxime Chevallier (Netdev Foundation) (2): tools: ynl: Allow cross-compiling ynl and associated tools selftests: drv-net: Use cross-compilation environment for the io_uring check tools/net/ynl/Makefile | 1 + tools/net/ynl/generated/Makefile | 3 ++- tools/net/ynl/lib/Makefile | 3 ++- tools/net/ynl/tests/Makefile | 2 +- tools/net/ynl/ynltool/Makefile | 4 ++-- tools/testing/selftests/drivers/net/hw/Makefile | 5 +++++ 6 files changed, 13 insertions(+), 5 deletions(-) -- 2.55.0