🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #4161

Re: [PATCH net 2/2] bnxt_en: Pad short SW USO segments to BNXT_MIN_PKT_SIZE

#4161
From: Jakub Kicinski
Date: Fri, 16 Oct 2026 23:44
12 lines
6421 bytes
On Fri, 9 Oct 2026 12:45:14 -0700 Joe Damato wrote:
> I could be wrong (and if so I am happy to drop this if statement from the
> code), but IIUC generic XDP runs from __netif_receive_skb_core() after
> software GRO, so the packet it sees can be a GRO'd UDP packet with
> SKB_GSO_UDP_L4 set (because maybe the socket had UDP_GRO set?).

FWIW indeed, generic XDP may see GRO'd packets today, but that's a hole
that should be plugged. Real XDP can't deal with super-frames neither
should the SW mistake^w I mean emulation. I started sending some patches
a couple of weeks ago to plug up the holes but got bogged down in the
bonding interactions :/
Technical Details
Message-ID: <20261016164438.36b334d6@kernel.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-347566-linux-kernel-netdev=dewy.ru
References: <20261008191114.3736826-1-joe@dama.to> <20261008191114.3736826-3-joe@dama.to> <CACKFLikWkH6QaOG=EO_zu8cqCFRxGqtA2-+R-btp0TwUbJjVBg@mail.gmail.com> <asklVFvUJx8P/k1d@devvm20253.cco0.facebook.com> <CACKFLiksRwZm+Zy74G_u59yEpY5BK+xRv=r6f9Wpo6WgT_TwDQ@mail.gmail.com> <aslESokQPvYCWarH@devvm20253.cco0.facebook.com>

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-347566-linux-kernel-netdev=dewy.ru
From: kuba@kernel.org (Jakub Kicinski)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net 2/2] bnxt_en: Pad short SW USO segments to
 BNXT_MIN_PKT_SIZE
Date: Fri, 16 Oct 2026 16:44:38 -0700
Organization: Usenet Network
Message-ID: <20261016164438.36b334d6@kernel.org>
References: <20261008191114.3736826-1-joe@dama.to>
	<20261008191114.3736826-3-joe@dama.to>
	<CACKFLikWkH6QaOG=EO_zu8cqCFRxGqtA2-+R-btp0TwUbJjVBg@mail.gmail.com>
	<asklVFvUJx8P/k1d@devvm20253.cco0.facebook.com>
	<CACKFLiksRwZm+Zy74G_u59yEpY5BK+xRv=r6f9Wpo6WgT_TwDQ@mail.gmail.com>
	<aslESokQPvYCWarH@devvm20253.cco0.facebook.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: usenet.network;
	logging-data="2916847"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:S85a8PhMKvRNN8HbRHwV3b6F5Xg= sha256:7E1zXAoEkzGgz1Mr8Qud56+G07c/K+yscT/YEakidUA=
	sha1:g7bQAWM9YuLwwmelAVsuZhOyoRE= sha256:dqqcPwBTy0uGmGF+ND+Qgkfs0q6WTY7NnpWzOHjTNl8=
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 39E51110620; Sat, 17 Oct 2026 02:44:57 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.64
X-Spam-Status: No, score=-3.64 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.24, DKIM_SIGNED=0.1,
	DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
	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=kernel.org
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 Yw2y5CSv9h4K;
	Sat, 17 Oct 2026 02:44:54 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-347566-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id 0CB9711048D; Sat, 17 Oct 2026 02:44:45 +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 B538F3B4FD; Fri, 16 Oct 2026 23:44:41 +0000 (UTC)
X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 9F49844E65A;
	Fri, 16 Oct 2026 23:44:40 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="lMw0PVOe"
X-Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18])
	(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 A969F37B01F;
	Fri, 16 Oct 2026 23:44:39 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18
X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
	t=1792194280; cv=none; b=ZMjdbKd244pYDgHvnlmuUvW1nEJRKhFH5zKMI8lI6ne66iaTKENjmqs7wqbOKwXF0TrHa2SgsBKb5yk97W3+itidb3PfTTGvFz38xj/Q+EWqENRVrPymJVKpFHvZjs6HwRwSbiRUI3h/WFBYFGyrwSXa9HkAeqd+n/iMUnqXL/w=
X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
	s=arc-20240116; t=1792194280; c=relaxed/simple;
	bh=5VCwJfE4Z/P9x23klDvOwkAvTc0A6r6We9QB5Bn+eqg=;
	h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References:
	 MIME-Version:Content-Type; b=cpVRzQ9xjVl69M1FPeKz/X9ILkknVMZ6ewuo4P5mDSGS1ifChdf/tmk5VkO6iAVuZ//RrZhuuZeE17mURO5ffz1mYZv2Lw+6uzk7r0tyNSjUKGeCuOvX6oGWI8jrI/itFCKqrMBAt1Yb9Bf/AcLhzVvmdov/SxxaohmwR+TdVJM=
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=lMw0PVOe; arc=none smtp.client-ip=100.103.45.18
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id F1E9E1F000C4;
	Fri, 16 Oct 2026 23:44:38 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1792194279;
	bh=5VCwJfE4Z/P9x23klDvOwkAvTc0A6r6We9QB5Bn+eqg=;
	h=Date:From:To:Cc:Subject:In-Reply-To:References;
	b=lMw0PVOeK8HtNUkVEqJ0JVSxC+8ZXyibSi6zKJWE2EOtw/qy/D9gkRJ0GDdGEtrih
	 QtHD9JBNbWWUBQ0VsT86MqXHLRlhpiUA5u88311aPdXyYLWri2R60Lpdrrcm9ovQKC
	 t1WK/y7z1R8GGyGK7jUsCncaFY7De/TqPo4shFwZh6ImJAxELGDW+pYlKMfDs0ddUr
	 h/ISGHO5Z7OROetmqhcuSs6sa8nLWT/P+upPhoxCwV/1fN+fDqWYfX2Bw6a2G7wVUz
	 BUFUk6LpRv2fy5w0dYTEP21VUIdbBxEpV0i8cRa/0YZqZqTXlz4XHaDXeanQxRFy/e
	 C3kWmWFVAsprQ==
X-Cc: Michael Chan <michael.chan@broadcom.com>, netdev@vger.kernel.org, Pavan
 Chebbi <pavan.chebbi@broadcom.com>, Andrew Lunn <andrew+netdev@lunn.ch>,
 "David S. Miller" <davem@davemloft.net>, Eric Dumazet
 <edumazet@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
 edumazet@google.com, horms@kernel.org, linux-kernel@vger.kernel.org,
 stable@vger.kernel.org
X-In-Reply-To: <aslESokQPvYCWarH@devvm20253.cco0.facebook.com>
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>