Article View: linux.kernel.netdev
Article #15842Re: [PATCH net v5 2/2] selftests: net: add a vhost-net test for the tun NAPI queue bound
From: Antonio Quartulli
Date: Fri, 13 Nov 2026 15:19
Date: Fri, 13 Nov 2026 15:19
37 lines
10601 bytes
10601 bytes
On 13/11/2026 16:07, Willem de Bruijn wrote: >>> That's a lot of code for a fairly narrow test. >>> >>> Not that long ago I would have applauded all test coverage we can get. >>> But now that LLMs generate them instantly, not sure where to draw the >>> line. >> >> Well, the test has already done its job because it immediately helped me >> fix some small itches in patch 1. >> >> This said, I can definitely shrink this test a bit, maybe around 50% of >> the current code. But it'll still be quite some code for a small fix. >> >> Should I just drop this patch? >> >> Alternatively, I drop it from this series and I send the shrunk-down >> version with the wrapper script to net-next later on. >> >> >> Opinions? > > If you could compress it to about 50%, let's merge. > > Maybe we can use it over time for more coverage in this area. Ok, I'll see what I can do and I'll send v6 including a compressed test. Regards, -- Antonio Quartulli CEO and Co-Founder Mandelbit Srl https://www.mandelbit.com
Technical Details
Message-ID:
<9afd9031-9a66-4c13-b1a2-e1da62ef5e69@mandelbit.com>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-362727-linux-kernel-netdev=dewy.ruReferences:
<20261111014208.1795777-1-antonio@mandelbit.com> <20261111014208.1795777-3-antonio@mandelbit.com> <willemdebruijn.kernel.1220f3b31f685@gmail.com> <73aa2f53-e2ba-42b7-9712-06e223459144@mandelbit.com> <willemdebruijn.kernel.14b320acee076@gmail.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-362727-linux-kernel-netdev=dewy.ru From: antonio@mandelbit.com (Antonio Quartulli) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net v5 2/2] selftests: net: add a vhost-net test for the tun NAPI queue bound Date: Fri, 13 Nov 2026 16:19:32 +0100 Organization: Usenet Network Message-ID: <9afd9031-9a66-4c13-b1a2-e1da62ef5e69@mandelbit.com> References: <20261111014208.1795777-1-antonio@mandelbit.com> <20261111014208.1795777-3-antonio@mandelbit.com> <willemdebruijn.kernel.1220f3b31f685@gmail.com> <73aa2f53-e2ba-42b7-9712-06e223459144@mandelbit.com> <willemdebruijn.kernel.14b320acee076@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: usenet.network; logging-data="1392326"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:l9ZTnNtMizkW8F0CzoYO6olGMCY= sha256:7BLPl1wFuYK/ND+UTgKJuN+3U61JjJlulzurC5gLgGo= sha1:p4l+P2v4z6qnnQCSuwy+cm9QwLw= sha256:jXsmBAykLyRwscqLMIhh+qtekdSafTvhPuWU90LaI/Y= Content-Language: en-US List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id 6E8791145BC; Fri, 13 Nov 2026 20:11:15 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.05 X-Spam-Status: No, score=-3.05 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=mandelbit.com X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ek6OHi1wBm7c; Fri, 13 Nov 2026 20:11:10 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-362727-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=mandelbit.com X-Received: from sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4]) by mail.dewy.ru (Postfix) with ESMTPS id 6E2A2114589; Fri, 13 Nov 2026 20:11:01 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sin.lore.kernel.org (Postfix) with ESMTP id 2C1E9167934; Fri, 13 Nov 2026 15:20:07 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1794583192; b=RDhY+TryKWHf7GST0gE1srGk9s8P2ooUHibAmTfhuG2CWPYLPVY6lLe73Fy/aMMokdk/ 2iKN4tpHixntAsuU913dgXn1wH3B4QLgSRJHlyFvp6xhBRStfYbPeKmpDwEB3feIETfGy OO+8fQB2qZzNmapYQIuNMHchK5p1jcbXu97v602rtmjcbz66/rCPrww289I/no+l05tJl aClX94orGQpQuyirNpbgY7mdeaGRIa3CPmzJF+db4VRt8Ug+AiDh6sNctWIR3G3BejzCt uV37DRDwzZXEiH9SURN2D7Z1K6IUYrcHyrp9NBTgACaIjocr+Kis559lLguXN54bMpQ== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794583192; h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature: Message-ID:Date:X-Mailing-List:List-Id:List-Post:List-Help: List-Subscribe:List-Unsubscribe:List-Owner:Precedence:MIME-Version: User-Agent:Subject:To:Cc:References:Content-Language:From: Organization:In-Reply-To:Content-Type:Content-Transfer-Encoding: X-Rspamd-Queue-Id; bh=juFDnmO5EDRtsSCXIUiqwlHbuc6Wxn7oOfpk1FDCS/0=; b=oXZ7qLhIjNd4ykXPg3UoXrFA/0o8lqMQIc9DSqx73b+17xOfZDVJQN/UfPxn3RJG32nM +cloivUr+O9eYXxRenK5bVZzseTQcirkaVXeYgtBxKrWLg1SfIyJVnAnf7iwB9GuftlBk 4EaAYeCk+kXMUIYm3As8rDuoah69HuQNWEtAAX0M2Vl/xeCxqkHXBUGafKK+yYSFofDLj YZrqEF8Ui2HwUt5ryGBMh/zG7R5ydjdgL/zggtV+BbEIhQzXn28D6W+PyTFwgndqSLLWB hY9qMUBiVur3mrk52l1n6tgO+VljyZ8ROkbZ4313L9d8pVsyzuFf11pCYNXoRkFCoeA== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=mandelbit.com header.i=@mandelbit.com header.a=rsa-sha256 header.s=MBO0001 header.b=rK7OT7NJ; dmarc=none header.from=mandelbit.com; spf=pass smtp.mailfrom=mandelbit.com; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 72574606A8A5; Fri, 13 Nov 2026 15:19:52 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=mandelbit.com header.i=@mandelbit.com header.a=rsa-sha256 header.s=MBO0001 header.b=rK7OT7NJ X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=195.10.208.46 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1794583186; b=jUO8g/AkyF6p1kbuIPaiOmigRYOFuQja8l3Uuf/5zB0Mn5LIZ5AonUPDN1B2FfhEnGyy dZnluSpeXpCxuJ1wkIZrrTs4Ms7Ynq/ZUHYRrlRrU6QNWyTbFRp/Y9I7W1ce/2USaRdfr vdV+g5ElWOfWWbtnztGUq9mrI2cUV38/036NRID8WPpykuYQhht68dZjUNZGRu2Vb9B/i ZX34pBdeQDTP7GKQ6ebFSchern+FxVzThmurzrm6BPzgsGgCLT7Es6IrNqflkHbu8V8zY 3sCrnhoEmJdsefuCUsDIo7TPnKf7N21j8BGvratJPKWYsqkHjTYywzV2iaRh85BrGQA== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794583186; h=DMARC-Filter:Received:DKIM-Signature:Message-ID:Date:MIME-Version: User-Agent:Subject:To:Cc:References:Content-Language:From: Organization:In-Reply-To:Content-Type:Content-Transfer-Encoding: X-Rspamd-Queue-Id; bh=juFDnmO5EDRtsSCXIUiqwlHbuc6Wxn7oOfpk1FDCS/0=; b=4KIwzWvSPjMk3c2Q1s/4+84nXIg7ZD4GHz8kEaHXfipBjeraOely7EaXUUSiKnsSZIS8 6TKZVwWxmIZ12oprT4RuhkRWOB90aqqef+vweczHv3OvdN34skXrzla5q7pQRSGldTLHA AYwonZBj3iM9SMM1ySLqGvZOnjUnVPB9xf/tu3fiFE2NxqmxrOovbIp0iwvQPa2QoyKE9 SFKLdrP5BtEXEypPQTAx7qicQNVGB9X+HmldO9cXKwHjUG2fyU7jbIVnI+sxfm9jlWCOq dNf+XN0ZIC06GU3BhUDgLWN5NyPcdINmKTGgP4WYbx2/o98piimwuF1w6WXI9NHVLoA== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none header.from=mandelbit.com; spf=pass smtp.mailfrom=mandelbit.com; dkim=pass header.d=mandelbit.com header.i=@mandelbit.com header.a=rsa-sha256 header.s=MBO0001 header.b=rK7OT7NJ; arc=none smtp.remote-ip=195.10.208.46 X-Received: from mout-b-106.mailbox.org (mout-b-106.mailbox.org [195.10.208.46]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0A09E606A32D; Fri, 13 Nov 2026 15:19:44 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 0A09E606A32D X-Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=mandelbit.com X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mandelbit.com X-Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:b231:465::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519MLKEM768 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-b-106.mailbox.org (Postfix) with ESMTPS id 4jR1Bv2VW0zNls7; Fri, 13 Nov 2026 16:19:35 +0100 (CET) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mandelbit.com; s=MBO0001; t=1794583175; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=juFDnmO5EDRtsSCXIUiqwlHbuc6Wxn7oOfpk1FDCS/0=; b=rK7OT7NJBGMGnT65DfgAikqlPWKvwgStjKE6a9/DJJ2z2QZf0EFYeOsoERKR26t7ZtNIf5 h5lxgs4bytdcFtqLDqN72nRKWLN0yUIMdVQQoNIU/qJiFUcd/d7/01kb4t1JlhXoiveCNl 0KcVayUcQYK4WO/RY8s1dF1EokmufpGPFcelcoB/tZheZ8hA4ASi7u4RssehtoOPbH0gh+ B61CwCKURSlaPR5Wedd41nsgD5AlFwinINU7viB6zA6yKXYuh7fwy5QKIcDXfH/RIyybmP +fNK+cJzNMr0OCagPFxl4uTYNmAeJZNg3tqtro59m+UjMaF+vMaoGnrTH2fZWA== X-Authentication-Results: outgoing_mbo_mout; dkim=none; spf=pass (outgoing_mbo_mout: domain of antonio@mandelbit.com designates 2001:67c:2050:b231:465::2 as permitted sender) smtp.mailfrom=antonio@mandelbit.com X-Mailing-List: netdev@vger.kernel.org X-List-Post: <mailto:netdev@vger.kernel.org> X-List-Help: <mailto:netdev+help@vger.kernel.org> X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-List-Owner: <mailto:netdev+owner@vger.kernel.org> X-Precedence: list X-User-Agent: Mozilla Thunderbird X-Cc: andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, horms@kernel.org, mst@redhat.com, eperezma@redhat.com, shuah@kernel.org, ast@kernel.org, daniel@iogearbox.net, hawk@kernel.org, john.fastabend@gmail.com, sdf@fomichev.me, maheshb@google.com, peterpenkov96@gmail.com, netdev@vger.kernel.org, virtualization@lists.linux.dev, linux-kselftest@vger.kernel.org, bpf@vger.kernel.org X-Organization: Mandelbit SRL X-In-Reply-To: <willemdebruijn.kernel.14b320acee076@gmail.com> X-Rspamd-Queue-Id: 4jR1Bv2VW0zNls7