Article View: linux.kernel.netdev
Article #3931Re: [PATCH net-next v2 2/7] um: vector: honor virtio net hdr conversion failures
From: Johannes Berg
Date: Fri, 16 Oct 2026 09:49
Date: Fri, 16 Oct 2026 09:49
14 lines
7417 bytes
7417 bytes
On Fri, 2026-10-16 at 05:47 -0400, Michael S. Tsirkin wrote: > > > > > Right, but virtio_net_hdr_to_skb() cannot return 1, only 0 on success > > and -ERROR on failure? > > After this patchset, it can, to signal slow path software checksum. > I'm changing callers first so that changing the function itself > does not break bisect. I should mention this in the commit log. Oh, OK, that I clearly missed, but also was only CC'ed on patches 2 and 3 :) johannes
Technical Details
Message-ID:
<77e9eb61d0e81ead5d5840abb95ffbd695a4e513.camel@sipsolutions.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-347246-linux-kernel-netdev=dewy.ruReferences:
<cover.1792067836.git.mst@redhat.com> <6716834884238de0ab1ab313004044122aa2adbf.1792067836.git.mst@redhat.com> <8420ba1fe84fc7d105825026802d4ad10d44af71.camel@sipsolutions.net> <20261015085119-mutt-send-email-mst@kernel.org> <64ee40b97fc447bbf3abb80250ad0d9f3cf3c6fa.camel@sipsolutions.net> <20261016054142-mutt-send-email-mst@kernel.org> <18ba10ec7aa6659ee4711f8dd3f3138e314e4af6.camel@sipsolutions.net> <20261016054558-mutt-send-email-mst@kernel.org>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-347246-linux-kernel-netdev=dewy.ru From: johannes@sipsolutions.net (Johannes Berg) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net-next v2 2/7] um: vector: honor virtio net hdr conversion failures Date: Fri, 16 Oct 2026 11:49:14 +0200 Organization: Usenet Network Message-ID: <77e9eb61d0e81ead5d5840abb95ffbd695a4e513.camel@sipsolutions.net> References: <cover.1792067836.git.mst@redhat.com> <6716834884238de0ab1ab313004044122aa2adbf.1792067836.git.mst@redhat.com> <8420ba1fe84fc7d105825026802d4ad10d44af71.camel@sipsolutions.net> <20261015085119-mutt-send-email-mst@kernel.org> <64ee40b97fc447bbf3abb80250ad0d9f3cf3c6fa.camel@sipsolutions.net> <20261016054142-mutt-send-email-mst@kernel.org> <18ba10ec7aa6659ee4711f8dd3f3138e314e4af6.camel@sipsolutions.net> <20261016054558-mutt-send-email-mst@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: usenet.network; logging-data="2734031"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:S/QHuyM7DvU6Rh1TliPh5be2YvY= sha256:Pnu7xhlb8GyAMGGlWFXmnHT1xbm1dmxCA0i/4UI4ijA= sha1:DaA5gihf9ocUdrNxm02tyaX0jS0= sha256:j5Mi3UgAV8C5TJAXTqY3Ix6MRv5i1kNP1/WFo9JdueY= 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 EA32A1104E2; Fri, 16 Oct 2026 12:59:23 +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.25, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=sipsolutions.net 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 RcPn7fbsY_6l; Fri, 16 Oct 2026 12:59:21 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-347246-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=permerror header.from=sipsolutions.net X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mail.dewy.ru (Postfix) with ESMTPS id F251E1104DD; Fri, 16 Oct 2026 12:59:04 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by sea.lore.kernel.org (Postfix) with ESMTP id C8B9141932; Fri, 16 Oct 2026 09:49:28 +0000 (UTC) X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 772D3456DFD; Fri, 16 Oct 2026 09:49:27 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sipsolutions.net header.i=@sipsolutions.net header.b="hxfMOLaM" X-Received: from sipsolutions.net (s3.sipsolutions.net [168.119.38.16]) (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 697E93B71C6; Fri, 16 Oct 2026 09:49:25 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=168.119.38.16 X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792144167; cv=none; b=RBwVDV9n6iuu/GrR75zO36vflKrG3e7evV4u0sI/qZrYmaRy0EpDfPmZmz0lIYDblnZaLcWTaazNBTIfRKKJstrm5450SsygZ1StEz7RxjAlNYRgquEJoF6Pq6Sx7VsPMRpf9GAlQwrY/Xc9oFCzO9BSXdGg8CzCn/LfC2MPvbA= X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792144167; c=relaxed/simple; bh=gKAEMOgSpCC5WNfMnsDV7LsCcJsKMz8C9HIBbCyHHMs=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=LYp+l3MpEW2m5r+yBE7H2Dnhh7UfvJaoCt3OGiLuID9xnuBC/YiVjm82scNrbgsta6C0smS8UHDflevB/Ij0POuaD2X09OWcfjX9q8m/c8vQVgMhh9ZqRwPj7C+LMMUZvJPPEArahIvnKAIpS96iUU5Q5y3BO8oBha2wvIcyrOc= X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=permerror header.from=sipsolutions.net; spf=pass smtp.mailfrom=sipsolutions.net; dkim=pass (2048-bit key) header.d=sipsolutions.net header.i=@sipsolutions.net header.b=hxfMOLaM; arc=none smtp.client-ip=168.119.38.16 X-Authentication-Results: smtp.subspace.kernel.org; dmarc=permerror header.from=sipsolutions.net X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sipsolutions.net X-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sipsolutions.net; s=mail; h=MIME-Version:Content-Transfer-Encoding: Content-Type:References:In-Reply-To:Date:Cc:To:From:Subject:Message-ID:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-To: Resent-Cc:Resent-Message-ID; bh=gKAEMOgSpCC5WNfMnsDV7LsCcJsKMz8C9HIBbCyHHMs=; t=1792144165; x=1793353765; b=hxfMOLaMEq1IhbldJgVR3G/pQNvW2BY4lFm7ZCAUaR3cXLm ZJ/HNreF9GaKMhnI5sZhf95JskNMSJVQehWt+DkJozky8v7utSHVqb7HlkalcdXU1D09vV67ZRT3P ktDyzn2U68pZaP6c+32N0unRPgxHUT+0vO1ka67IebGeo5nNxMdEbgGYlXx0Df6IIX/fWwqGPEJPL LLhT9sf9uFCKjLMEjl1tZFlAIbHKpbibXKHiq7yzC1M4fDhLY0Bn7aEuJhZHNFk375dzXOdFb9hC4 s1nXYqcgR6ApgY6swDM1m7ydmlyn2HgNx5T04AoeQ7yPg+EvGA70G62j9LQCOGSQ==; X-Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__ECDSA_SECP256R1_SHA256__AES_256_GCM:256) (Exim 4.98.2) (envelope-from <johannes@sipsolutions.net>) id 1xHeYu-00000005fFz-1IMS; Fri, 16 Oct 2026 11:49:16 +0200 X-Cc: linux-kernel@vger.kernel.org, Willem de Bruijn <willemdebruijn.kernel@gmail.com>, Jason Wang <jasowangio@gmail.com>, Eugenio PΓ©rez <eperezma@redhat.com>, Xuan Zhuo <xuanzhuo@linux.alibaba.com>, Andrew Lunn <andrew+netdev@lunn.ch>, "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@kernel.org>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, netdev@vger.kernel.org, virtualization@lists.linux.dev, Rusty Russell <rusty@rustcorp.com.au>, Max Krasnyansky <maxk@qualcomm.com>, Richard Weinberger <richard@nod.at>, Anton Ivanov <anton.ivanov@cambridgegreys.com>, linux-um@lists.infradead.org X-In-Reply-To: <20261016054558-mutt-send-email-mst@kernel.org> X-User-Agent: Evolution 3.60.2 (3.60.2-2.fc44) X-Precedence: bulk X-Mailing-List: netdev@vger.kernel.org X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-malware-bazaar: not-scanned