From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.openvz.org (mail.openvz.org [69.168.225.77]) by lore.virtuozzo.com (Postfix) with ESMTPS id CAC7C8045D for ; Fri, 23 Oct 2026 19:22:44 +0000 (UTC) Received: from mail.openvz.org (localhost [127.0.0.1]) by mail.openvz.org (8.14.4/8.14.4) with ESMTP id 69NJLPpg027696; Fri, 23 Oct 2026 22:21:26 +0300 DKIM-Filter: OpenDKIM Filter v2.11.0 mail.openvz.org 69NJLPpg027696 Authentication-Results: mail.openvz.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=virtuozzo.com header.i=@virtuozzo.com header.b="s/X1+4a5" Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) by mail.openvz.org (8.14.4/8.14.4) with ESMTP id 69NJLOJW027688 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=FAIL) for ; Fri, 23 Oct 2026 22:21:24 +0300 DKIM-Filter: OpenDKIM Filter v2.11.0 mail.openvz.org 69NJLOJW027688 Received: by mail-wr1-f71.google.com with SMTP id ffacd0b85a97d-48c7fe9736eso975152f8f.0 for ; Fri, 23 Oct 2026 12:21:24 -0700 (PDT) X-Gm-Message-State: AFq9FYIskc4nUggJbVubz3qKeY9Mdp1cOs2FUjD28p0AB9WmJ+XEsnHY mfOJO3WGL6JxBc1qnBS6XYAx+/ICLWcrSA32m8DsaH4qLu97FK2PiS0y4Q1hARAyaQ9DtGWhbYB PaWNS5kU9tv4Phe4cC7bzZVwMPzomzEPQolcCCvuU6A9o0+N+7EAFKA== X-Gm-Gg: AYBFou3XKqUsESv9z6+SLO5nDyyp01kGkeCjrvrNIy2H1EVN7Tnr+cGF89EBav86745 8juWPRfVFMkm5wjtius9yCO8AyfTY43NlyiZcoyuhSin7zHDVPy4Aqne4SD2M0XvPpYYsK7iSfP /HwMiYh9lSK5Uu+rOD5UtTAr5Lt0XwAcK3DHHKe662oImeTm9TqXoq/izrZjAufMBBXA/e8Zuc/ DNANm2cxQqIfqHs+ry0tj/JqFulynXIUyLlLOMLJozOAXXeJIHGV2G2iHwwRrNq0xaYbitRdAmN /2vX1yuN9EXCTMY/+eF5qEY5XU6/ugHmr7HDRSYrTCljPe5Qj/9U5BQBxMpiSPDMD0Kql6wgkaZ 9IDdRQGKfsrsxavkwZ3wiI+Kr X-Received: by 2002:adf:e002:0:20b0:48d:faa4:5b66 with SMTP id ffacd0b85a97d-48e385a2d63mr3834648f8f.36.1792783284176; Fri, 23 Oct 2026 12:21:24 -0700 (PDT) X-Received: by 2002:adf:e002:0:20b0:48d:faa4:5b66 with SMTP id ffacd0b85a97d-48e385a2d63mr3834627f8f.36.1792783283663; Fri, 23 Oct 2026 12:21:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1792783283; cv=none; d=google.com; s=arc-20260327; b=chRRpRqjkg5eGUmztyS6hm5cpPxIadW7zIVuFQxW3WY2ZvZ2KMxdYn2cSU2H/ZkDsQ smuHnAy3tjQBNtPPGs12UB5jeYUqsUzVK50Pix91X2YCProE2ZQF7fsBiu5QwHbYY9gw Zrx3V6rPtZw5umLJDQeK5ZtTSB3wnslrIDSXPfT9/blCneaZeeZ0qaTdP1jsv75d2dSv tJPRDZijJgcfq4LyUOMxaH06YeTYA1JPUzPg/tzLs7x9AcReffc4Ha+HMG/ll90FV7py d0fjCaLMCBCvEZWhoJZaah9sCZ+UpP6IZrUf5VNtop5L66m4s6MHV6g7BkVRA46Hr4nm AhbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=qoXZt3eFYmvlNu7l5jJkHNeqs71iC7AlAbuwyNYj3Y0=; fh=WpT6aB7RBAGHZeWZzqAr71yzRFbPTYkPWKsRagLn48Q=; b=e8AZ9wybwD3XM0BwgpSYZw/P5Zp1XfqB/C9MzxZ33XrwgtVG6Ml9Xn95o0taGXyBHU HSR7XTM2KPdY+1do7sfJTNp2sFxERBpB0VYf+rzVaiFv6w962xPJ27PSbaeAbO+oPkah 3Yj/01uaKOxNkcPeuucXVJfmFyY/QvzUBUuY8TsaQRxCw7bnBVuLgH/BZNNIElthVEud Bjd/Mv9m6VTlpAaIJaSHAXfBovsskkRE60WnyLQj4b2BB4SA6+0mN/u9GGuaL3G6KXZA tYlZGffxBfnutTHPV38OKlDSPC7w9KgIKhPoyTdlRLr6VXqzyw1bYLo/2et4OLUl/GcM cUnw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@virtuozzo.com header.s=relay header.b="s/X1+4a5"; spf=pass (google.com: domain of eva.kurchatova@virtuozzo.com designates 130.117.225.111 as permitted sender) smtp.mailfrom=eva.kurchatova@virtuozzo.com; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=virtuozzo.com Received: from relay.virtuozzo.com (relay.virtuozzo.com. [130.117.225.111]) by mx.google.com with ESMTPS id ffacd0b85a97d-48e3d430ae8si1204023f8f.194.2026.10.23.12.21.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Oct 2026 12:21:23 -0700 (PDT) Received-SPF: pass (google.com: domain of eva.kurchatova@virtuozzo.com designates 130.117.225.111 as permitted sender) client-ip=130.117.225.111; Authentication-Results: mx.google.com; dkim=pass header.i=@virtuozzo.com header.s=relay header.b="s/X1+4a5"; spf=pass (google.com: domain of eva.kurchatova@virtuozzo.com designates 130.117.225.111 as permitted sender) smtp.mailfrom=eva.kurchatova@virtuozzo.com; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=virtuozzo.com DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=virtuozzo.com; s=relay; h=MIME-Version:Message-ID:Date:Subject:From: Content-Type; bh=qoXZt3eFYmvlNu7l5jJkHNeqs71iC7AlAbuwyNYj3Y0=; b=s/X1+4a5eZzx lkolCB8b+sPg1X3+L5vtLZvzcTFmDpCIjiDZyX30xr9IaEOYpes66/TKfEVcHJL41OJH6A4A76570 QCtzrFZQMY7qftnOXcc+BHaqB2hVSht7fmtx31iC41KkX/mYAxg5tqiIWry3+o19JbPjqiqSPdtT4 oy9yIVYc7ZXY5pFd6MyhZ3e/h1QN0Dbui6YRfRtgCYsd9luhse50E/kruYTy4WIB9K5Nm7abdQmrP wXfLKvCy+eQ6f8pf/uPsVuhC2zU8xSre1bhsfoqwjLniq4yxjRo6o4UtNIpqcoaeLL5Tv8Uak1Tjv j0Mddx6ElN858QYHguwaSA==; Received: from ch-vpn.virtuozzo.com ([130.117.225.6] helo=LekKit-T14) by relay.virtuozzo.com with esmtp (Exim 4.96) (envelope-from ) id 1xKKlk-00EmPm-0G; Fri, 23 Oct 2026 21:21:19 +0200 From: Eva Kurchatova To: khorenko@virtuozzo.com Date: Fri, 23 Oct 2026 22:20:09 +0300 Message-ID: <20261023192121.356062-1-eva.kurchatova@virtuozzo.com> X-Mailer: git-send-email 2.56.0 MIME-Version: 1.0 X-OZ-Fwd: true Cc: devel@openvz.org Subject: [Devel] [PATCH hci-8.1 v5 0/1] selftests: drv-net-hw: skip the tests that need a real interface X-BeenThere: devel@openvz.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: OpenVZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: devel-bounces@openvz.org Errors-To: devel-bounces@openvz.org Changes in v5: - Follow lib.sh's order: command line, forwarding.config, then the driver: a NETIF_FIND_DRIVER set in forwarding.config skipped a run on hardware, and veths named in forwarding.config ran under NETIF_FIND_DRIVER. - skip_on_veth() returns 0 when the test goes on, not 1. - Rebased. Link to v4: http://lore.virtuozzo.com/kernel/20261007145044.2647274-1-eva.kurchatova@virtuozzo.com/T/#t Patchset for task https://virtuozzo.atlassian.net/browse/VSTOR-139651 Changes in v4: - Runs that pick their interfaces by driver (NETIF_FIND_DRIVER) were skipped; pass them to lib.sh untouched, allowing to run now. - Unchanged: only the first interface is judged, lib.sh builds its pair from that one and skips by itself when a later one is missing. Only a veth is detected. Everything else is configuration choice. - Rebased. Link to v3: http://lore.virtuozzo.com/kernel/20261006222651.2510417-1-eva.kurchatova@virtuozzo.com/T/#t Changes in v3: - Check the kind of the first interface instead of NETIF_CREATE and NETIF_TYPE, which stay at their defaults when forwarding.config names real NICs; those ran through lib.sh and were skipped here. - Take the interfaces from the command line too, as lib.sh does. - Rebased. Link to v2: http://lore.virtuozzo.com/kernel/20260928194332.551992-1-eva.kurchatova@virtuozzo.com/T/#t Changes in v2: - Read forwarding.config before deciding, the way lib.sh does. - One helper, skip_on_veth.sh, instead of a copy in each test. - Add ethtool_rmon.sh, it fails on veth the same way. - One-line comments, fix the Feature tag. - Sent alone, 1/4 to 3/4 are merged. Link to v1: http://lore.virtuozzo.com/kernel/20260831225137.1642608-4-eva.kurchatova@virtuozzo.com/ Eva Kurchatova (1): selftests: drv-net-hw: skip the tests that need a real interface .../testing/selftests/drivers/net/hw/Makefile | 1 + .../selftests/drivers/net/hw/ethtool.sh | 5 +++ .../drivers/net/hw/ethtool_extended_state.sh | 5 +++ .../selftests/drivers/net/hw/ethtool_rmon.sh | 5 +++ .../selftests/drivers/net/hw/hw_stats_l3.sh | 5 +++ .../drivers/net/hw/hw_stats_l3_gre.sh | 5 +++ .../selftests/drivers/net/hw/skip_on_veth.sh | 38 +++++++++++++++++++ 7 files changed, 64 insertions(+) create mode 100644 tools/testing/selftests/drivers/net/hw/skip_on_veth.sh -- 2.56.0 _______________________________________________ Devel mailing list Devel@openvz.org https://lists.openvz.org/mailman/listinfo/devel