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 A01A78017D for ; Mon, 26 Oct 2026 01:24:38 +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 69Q1NIA4032283; Mon, 26 Oct 2026 04:23:19 +0300 DKIM-Filter: OpenDKIM Filter v2.11.0 mail.openvz.org 69Q1NIA4032283 Authentication-Results: mail.openvz.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=virtuozzo.com header.i=@virtuozzo.com header.b="vyw1ztvE" Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) by mail.openvz.org (8.14.4/8.14.4) with ESMTP id 69Q1NCtI032270 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=FAIL) for ; Mon, 26 Oct 2026 04:23:12 +0300 DKIM-Filter: OpenDKIM Filter v2.11.0 mail.openvz.org 69Q1NCtI032270 Received: by mail-wr1-f69.google.com with SMTP id ffacd0b85a97d-48e4d1e29f3so469224f8f.3 for ; Sun, 25 Oct 2026 18:23:12 -0700 (PDT) X-Gm-Message-State: AFq9FYJnzXwsNDyv2NI4JG+8QsVFIFhVvzVy6k0yuBfp8TNZNRuIIn8j Znrn1Bf7sTgl/eluVSJrRqGSqrFeASPm7Ud6xqClyQ2XzapT0Fr3WYY+GWVlVu50ulMNgnCw6KO /aeh/lfMGQM0QzV6t97LAHF8xmsBdYSdmhNZp2BBZuFqhkPfwBxwylw== X-Gm-Gg: AYBFou0TgpTNLxfzRApmxhT/ktnv8r9OMo7RfVJWFMvhhQSD/WNiWq+/1B6JiDINXiK 9Hty3J+8wYAZSfIjymlQCkHhbbizywWkBRFpTJALtEulof9B2aIgM/FtuNzU/E2X4cMvzk+UaCx 9T0YH66qTMcgPrd5mZwTViqsgKD8E8Jyvhhb3O6GRbkGeo7JJl2VbMX9EDNKjlD82Zc+r58EBOk VFXSRkOWfmpDe4dqFX7hU3cL/4fbX6ySk/g/VA7+WV3T6457lQ9IEePqCCmqsv34TOFojf2MsN1 MNkryqd+S7JAvejg9N9hCkVPcMbHqIHMc8gv/DMYELb4b/lVxHOnfYwiUiieiPn87qDIpwdvKX7 Xr7O9SjcDxmYMmLS6FQw9QccZ X-Received: by 2002:a05:6000:2905:b0:48e:2108:4d28 with SMTP id ffacd0b85a97d-48e3eb9a1camr10641304f8f.13.1792977792492; Sun, 25 Oct 2026 18:23:12 -0700 (PDT) X-Received: by 2002:a05:6000:2905:b0:48e:2108:4d28 with SMTP id ffacd0b85a97d-48e3eb9a1camr10641273f8f.13.1792977791937; Sun, 25 Oct 2026 18:23:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1792977791; cv=none; d=google.com; s=arc-20260327; b=DUFUNRL7ynrz3TNrC40H45Le3PGBMSOSCTNSA2WFwVTAxPHa0uD73xkVu/V1nlGz3E 1RxSAbgGFZamPlgMAqaIBjDUhdqYnpJChTBpgUuSZaNc48gkvCfUnFgaQ14GeJdfvEGj zNneaQT7SZdzwR0AgevbtEkR+szFh59sSaVsrBN/aYkRB/e0CxZsSaGk27oh9cZjmZAb dnd4dmic5DUAe5tmOg36mDMhjMBaI7ZqyvIHD2Uj6eFcd8SPsFRetRIubWhRWs/K6ctJ A4Z7eleKfymMIy9I4S5g5XFjfJtvbjhCMVIDxsS6potgpspGSx0K8p5jvf4UVcuMlWOW 3owg== 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=Mu2osJEwCb0j0oGW3u+4NuBvSeLrN2YdJ4ESxH5H3CQ=; fh=WpT6aB7RBAGHZeWZzqAr71yzRFbPTYkPWKsRagLn48Q=; b=nVLdTA2b2ZxHi1D6Ni18dHI3agWSVHr+vRm3h4dQ+FxybTgqjXxlJKsyUQA95Q/K+D 8KVszE+TAqhikn6U0ZPZalLvYj+GVk4OU2WE06k/cAz1Bh/tJkpd8eRMjnU9f9uH9ef7 QX+zbyvpwGT+NcmlEMP4ot73j7EAuzBc44MAGhe8qD8zRYWirM0uH01vCQXMXM4h0xGP cLFKQfC64VztVgJIrnZR/7yJO5Z698zDhosE9rxb7MribGlYRiIbZ0G9aI1Q+rHz4mAx rQiGE5XG3kYw5mJgOp7VMpXFy4caprIm658XYr2vAzfkJ8YXs2/n2t6ogOZJC0Ly7lAo fYWg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@virtuozzo.com header.s=relay header.b=vyw1ztvE; 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-48e3ed13da2si10146396f8f.364.2026.10.25.18.23.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Oct 2026 18:23:11 -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=vyw1ztvE; 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=Mu2osJEwCb0j0oGW3u+4NuBvSeLrN2YdJ4ESxH5H3CQ=; b=vyw1ztvEHF76 rGlUZ/paSCx2wWJ3AhsYCiNFsZDsjCNTLssvAfIR6fN3H2o15O8hZHQHFzf1gLXwv968r3+J9UTzv ZY3Cohhww763/hdrVomqkm6xrsZgtQUKHm77gUQKuqYaqIvyenlW8i/HxRa8BdNEK2gtyDhO+h74z GUtfvHn8PQXfljrRMOhGOIpzZQLUPhGLJVMrUFr2JTJB8soG4/sL7PWUwurV+D1E9A8C1HtDK2IOU DS2vs53zWgRGQdoale3itFQ09Z8NPQHKKOoFwbXyl3rqejN5ARYjf6xKPMemng7r3BDHDKmKhd8Xz /74PVkMuKqDXhwpqVR/FTw==; 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 1xL9Mu-0076wY-39; Mon, 26 Oct 2026 02:23:03 +0100 From: Eva Kurchatova To: khorenko@virtuozzo.com Date: Mon, 26 Oct 2026 03:22:38 +0200 Message-ID: <20261026012309.458048-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 v3 0/1] selftests/bpf: run the xsk veth tests in a network namespace of their own 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 Patch for task https://virtuozzo.atlassian.net/browse/VSTOR-150731 Changes in v3: - The namespace is unnamed, so it goes with its last process however the run ends, Ctrl-C, a timeout or a kill, and no outer run is left to delete host interfaces. Passing -d uses a pre-existing interface. - Obtain max_skb_frags from the kernel BTF, removing -f option. - Fix test_exit() exit status for skipped runs. - With -d, the namespace is kept. - Rebased. Link to v2: http://lore.virtuozzo.com/kernel/20261022024816.2435565-1-eva.kurchatova@virtuozzo.com/T/#t Changes in v2: - -f is checked as the sysctl is, 1 to 45 and digits only, so a value that would wrap the fragment count or the packet array is refused. - -f goes into the namespace only when the host's sysctl file could be read; a bare -f made getopts complain. - No network namespace skips the tests, as no veth support does, rather than failing them. - The -f description says the option tells the tests the kernel's limit and changes nothing in the kernel. - The -d hint names the namespace in a usable form. - test_exit() exits 1 for a skip as it does for the veth one; as the script has it. Link to v1: http://lore.virtuozzo.com/kernel/20261020041218.1659392-1-eva.kurchatova@virtuozzo.com/T/#t Eva Kurchatova (1): selftests/bpf: run the xsk veth tests in a network namespace of their own tools/testing/selftests/bpf/test_xsk.sh | 30 +++++++++++++++-- tools/testing/selftests/bpf/xsk_prereqs.sh | 2 +- tools/testing/selftests/bpf/xskxceiver.c | 39 +++++++++++++++++++++- 3 files changed, 67 insertions(+), 4 deletions(-) -- 2.56.0 _______________________________________________ Devel mailing list Devel@openvz.org https://lists.openvz.org/mailman/listinfo/devel