From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1998BC47DB3 for ; Wed, 31 Jan 2024 16:31:50 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 8F39642048; Wed, 31 Jan 2024 16:31:49 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 8F39642048 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org; s=default; t=1706718709; bh=HY7O4Ivr03W4Uj1TTOz7mqC3+DUhT3RjmEHyoZuodOU=; h=Date:From:To:References:In-Reply-To:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Cc:From; b=Gv+pwZbKReDBZIqdubF6HhCY+cj1J5wNGYdCer05JC9JJno/rFBzO4/S955YALs+K Xy8Njlyp07dCBcM7TLiQfxbGsTNOe7Xe/sn2S2N86vZCzHs+4owESyc+QfdvlWjCBL mJ4uX2mVCSMheuk5yrsJAZww5jm1ez1E4oJJA+YyuwOh4EyYcnkwD6Sc8VRcviicu1 36iMpyc35ImaSCAMYU4tb8A828izDA13uFRpx6nsjZ/cRH6mN0owUXbJ6kCrUb6X6D S9ggiDsZiySUrzFdqAKYpU/nP1nlxg/RX4EzFRkLtbrPCeakZaWeIveKQBt9QxvJg1 vkBz6TqbgH8xQ== X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ar7pJmjnliJ8; Wed, 31 Jan 2024 16:31:49 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id BE15442049; Wed, 31 Jan 2024 16:31:48 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org BE15442049 Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 335171BF5A8 for ; Wed, 31 Jan 2024 16:26:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 162C542049 for ; Wed, 31 Jan 2024 16:26:26 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 162C542049 X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 19JFgl4UaLHM for ; Wed, 31 Jan 2024 16:26:25 +0000 (UTC) Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by smtp4.osuosl.org (Postfix) with ESMTPS id 4FDFE42048 for ; Wed, 31 Jan 2024 16:26:25 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 4FDFE42048 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id 44C2BCE21CE; Wed, 31 Jan 2024 16:26:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E8315C433F1; Wed, 31 Jan 2024 16:26:08 +0000 (UTC) Date: Wed, 31 Jan 2024 10:26:07 -0600 From: Seth Forshee To: Maciej Fijalkowski Message-ID: References: <47eea378-6b76-46a7-b70e-52bc61f5e9f0@molgen.mpg.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Mailman-Approved-At: Wed, 31 Jan 2024 16:31:47 +0000 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706718369; bh=zoRtSDiRAOvg3fLkrgpTpzQxQNA78gT59a2EWepqBX0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=CeRCMUwoMjyw3c2+3D/tDb2VXgmCQgPqusRARJsNsmCBKkprmFp726kMBMOT+fild VA90qrCkLQsb6l96gCC0cqju/R+zQTgggR7vzP+Pg84WYsQKInQYvOutu7XcqFdPJG QdlybdI6MWo/dJdYNn9jBLCX93o4jAmxHlI20OH1OIj2H65P2OAEqIUkAbeMj+wETM CTB3gfqO7HaXqvTvpNc5nnv27rHY3B1pNErq+5VTfyaErebP7FjFYGg7iNHaC7kNvd z0gA6WdvBzUN870Fx+B8CinKGLGrRxMUbKv3vXIYLXCH7pPVHLklTXlJn7Au65E5d8 TzRIPPpJOyYWw== X-Mailman-Original-Authentication-Results: smtp4.osuosl.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=CeRCMUwo Subject: Re: [Intel-wired-lan] i40e XDP program stops transmitting after link down/up X-BeenThere: intel-wired-lan@osuosl.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel Wired Ethernet Linux Kernel Driver Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Paul Menzel , intel-wired-lan@lists.osuosl.org, Tony Nguyen , Jesse Brandeburg , netdev@vger.kernel.org Errors-To: intel-wired-lan-bounces@osuosl.org Sender: "Intel-wired-lan" On Tue, Jan 30, 2024 at 11:06:07PM +0100, Maciej Fijalkowski wrote: > On Tue, Jan 30, 2024 at 08:28:24PM +0100, Maciej Fijalkowski wrote: > > On Tue, Jan 30, 2024 at 10:59:13AM -0600, Seth Forshee wrote: > > > On Tue, Jan 30, 2024 at 05:14:23PM +0100, Paul Menzel wrote: > > > > Dear Seth, > > > > > > > > > > > > Thank you for bring this up. > > > > > > > > Am 30.01.24 um 15:17 schrieb Seth Forshee: > > > > > I got a inquiry from a colleague about a behavior he's seeing with i40e > > > > > but not with other NICs. The interfaces are bonded with a XDP > > > > > load-balancer program attached to them. After 'ip link set ethX down; ip > > > > > link set ethX up' on one of the interfaces the XDP program on that > > > > > interface is no longer transmitting packets. He found that tx starts > > > > > again after running 'sudo ethtool -t ethX'. > > > > > > > > > > There's a 'i40e 0000:d8:00.1: VSI seid 391 XDP Tx ring 0 disable > > > > > timeout' message in dmesg when disabling the interface. I've included > > > > > the relevant portions from dmesg below. > > > > > > > > > > This was first observed with a 6.1 kernel, but we've confirmed that the > > > > > behavior is the same in 6.7. I realize the firmware is pretty old, so > > > > > far our attempts to update the NVM have failed. > > > > > > > > Does that mean, the problem didn’t happen before Linux 6.1? If so, if you > > > > have the reproducer and the time, bisecting the issue is normally the > > > > fastest way to solve the issue. > > > > > > No, sorry, I should have worded that better. I meant that they were > > > using 6.1 when they noticed the issue, not that kernels before 6.1 did > > > not have that issue. We've also tried a 5.15 kernel build now and still > > > see the issue there, we haven't tested anything older than that. > > > > Hey Seth, > > > > I am observing same thing on my side with xdpsock in txonly mode, so I'll > > take a look at this and will keep you updated. > > Can you try this diff on your side? That fixes the problem! Thanks, Seth