From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 99DD723D7FB for ; Fri, 3 Apr 2026 20:47:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775249253; cv=none; b=NaiX4Ay5X33cT+lgte0pACPFF4doEP/2WhOPrEfl3MfN+yGBSUCPdBKidfNN7NjTOkp4b7mll7vMNSH57E/+hdQyHH0E/ocdpWdk1QI9Vm/gL0Sl91kgS4hyXm1Vd81NNA57ybKyrb++wnVGZ82ORmMukyCjrM1vXj0Eups+ATQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775249253; c=relaxed/simple; bh=gy1VbiVNi32rhXZAQ8HHpdHdI9besj8H4pcd/DYfB/w=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Eo7onk6Fo0mS2j1DUpnfevwyddnqjCJmNWveBbOAkz87Ge0y+0+ukzD9oj1Ii1RS/GOXjhUjNfeMxGdMe7s5A4qObuOITImp4pwV/qOpOmVoe0jlrj2AHtZ+4qEStbw5U1p12waPDvCJn5uR8K5U41NC3JJWa7I0U7myCUHuniM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=eWDw1SSb; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="eWDw1SSb" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0CFEAC19424; Fri, 3 Apr 2026 20:47:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1775249253; bh=gy1VbiVNi32rhXZAQ8HHpdHdI9besj8H4pcd/DYfB/w=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=eWDw1SSbNfC1xpHy3Hjv8T+0CoswruO0CJ4ZSNQrBmeCFmk8KIarv0VsdLPDquO+J E74zeeILtcgi7srjUvQPSM2b5LiHfZo5FiK4T0dANR6Sqh5miw1VKH1V25mou+dpAr 5JK+9oWUkiV3mAzJ9nN10JpXqVMm9WtQ58j0H1H7BsWZoyLO53DShR3eF++BvVjcDy IG8fykoq85CcyzDWf7rjS4+hTthb5QtPC7UOQM5+uo/OE/aa5mUt3p0ZoRu2j3U67i Bou1fgzMgWD7qHflW98aG3IxAru9qe771iZcqEHx1hPmDQ2sgN+TaiqF8AYj6waAl1 BZ0EFJHDrxI7w== Date: Fri, 3 Apr 2026 13:47:32 -0700 From: Jakub Kicinski To: Eric Dumazet Cc: "David S . Miller" , Paolo Abeni , Simon Horman , Andrew Lunn , Joe Damato , netdev@vger.kernel.org, eric.dumazet@gmail.com Subject: Re: [PATCH net-next 1/9] net: tso: add tso_features_check() Message-ID: <20260403134732.26e39509@kernel.org> In-Reply-To: References: <20260403043237.3909226-1-edumazet@google.com> <20260403043237.3909226-2-edumazet@google.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Fri, 3 Apr 2026 00:20:13 -0700 Eric Dumazet wrote: > > I forgot that netif_skb_features() uses: > > > > if (dev->netdev_ops->ndo_features_check) > > features &= dev->netdev_ops->ndo_features_check(skb, dev, > > features); > > else > > features &= dflt_features_check(skb, dev, features); > > > > So I need to call vlan_features_check() from tso_features_check() > > I could be wrong though, vlan_features_check() is about skbs with > multiple vlan tags, > and net/core/tso.c should support them just fine. But we probably still need to clear NETIF_F_IP_CSUM for example? Better safe than sorry. (I won't repeat the sashiko complaints assuming you saw those ;))