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 smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (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 B7B16EB64D9 for ; Mon, 19 Jun 2023 10:09:13 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 4A98060761; Mon, 19 Jun 2023 10:09:13 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 4A98060761 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org; s=default; t=1687169353; bh=6FRC34wbIZiJzK4PYalY9RLt7bTMQsoKnCUrdC1DBBo=; h=From:To:Date:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:Cc:From; b=jIu8j4nuRo0gw/EcdeDsFOTm53lVKWtkLWpMbzt/OPZIH06cMoJIBr19iXpbEl2ev Z2b/0maa3ar0kalGlxmppzRudeVGgp4IIJ8YYGW+uoTjJ+VngtEv09sf7SexNY03ku dBAo1uYa2qdAzsp4cluTh5BkCvqqbrrSz7F/PCY9UPCqBAxTVDY44mmIxXAGwZEF1D U2kF1U0GN5olC30Nxjcd+IqbK+4Sn3Hmces1YAYBHpGpI5evRGNNV6tixkpiOC9nl5 OabilntrsjDsy6AvmIomAYHRwyeda7a83S2MOkKJuiru/WLtBXD0Pzs5NVFfZXhgo2 tKCWcxJ2AKfAA== X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qLIk9x7cISLz; Mon, 19 Jun 2023 10:09:12 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp3.osuosl.org (Postfix) with ESMTP id 434BB607D0; Mon, 19 Jun 2023 10:09:12 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 434BB607D0 Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id D60F41BF3DE for ; Mon, 19 Jun 2023 10:09:10 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 7C2D540990 for ; Mon, 19 Jun 2023 10:09:10 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 7C2D540990 X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Dch63Q3aFog7 for ; Mon, 19 Jun 2023 10:09:09 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org B8EA440189 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by smtp2.osuosl.org (Postfix) with ESMTPS id B8EA440189 for ; Mon, 19 Jun 2023 10:09:09 +0000 (UTC) From: Florian Kauer To: Jesse Brandeburg , Tony Nguyen , Vinicius Costa Gomes , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Tan Tee Min , Muhammad Husaini Zulkifli , Aravindhan Gunasekaran , Malli C Date: Mon, 19 Jun 2023 12:08:52 +0200 Message-Id: <20230619100858.116286-1-florian.kauer@linutronix.de> MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1687169346; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=UfXg5kiqedtrj71y05Um//hTyaY890VMSarbops9Qv0=; b=CfxdODntikelGjFSsAFgP5n/2oYhcQzDEtPk1mXUdkWJlGRNp8c+OIK74oGnhT7GMTg4c9 Ec0BqJABi9heLcGLTe0dbkV4KT1zTqc1pbPh/8Po6Xj/LosB4b3oJJ2TNuHmK2YfLUpRi4 wywZMMAVITUYT2pjbeVRXZ1/6GfGz7sPyuno/iLjdo2yTZ6/AVX59rNrgocCGP2FPOEkr9 I+qmdqgeAgVMf6B3aBotL251iEcaO48dfxxfNKdLZBwGyUD3lmpJBjRsPY/9fABQ16PVm+ 9Fh0PQ8svXSM6DovMixcJyYL6+kUvBVvh7X+lNefrZYbR3OuzQelsIJGecvvuA== X-Mailman-Original-DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1687169346; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=UfXg5kiqedtrj71y05Um//hTyaY890VMSarbops9Qv0=; b=LCAJK6sIZF73m7TU3iMW18qkDQ0HbpxquUVo9rcjk3DVqKKA3A8OcyvITTCz7WcUHUT3OF qM5dTIH0Noj9VBAA== X-Mailman-Original-Authentication-Results: smtp2.osuosl.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.a=rsa-sha256 header.s=2020 header.b=CfxdODnt; dkim=pass header.d=linutronix.de header.i=@linutronix.de header.a=ed25519-sha256 header.s=2020e header.b=LCAJK6sI Subject: [Intel-wired-lan] [PATCH net v2 0/6] igc: Fix corner cases for TSN offload 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: netdev@vger.kernel.org, kurt@linutronix.de, intel-wired-lan@lists.osuosl.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: intel-wired-lan-bounces@osuosl.org Sender: "Intel-wired-lan" The igc driver supports several different offloading capabilities relevant in the TSN context. Recent patches in this area introduced regressions for certain corner cases that are fixed in this series. Each of the patches (except the first one) addresses a different regression that can be separately reproduced. Still, they have overlapping code changes so they should not be separately applied. Especially #4 and #6 address the same observation, but both need to be applied to avoid TX hang occurrences in the scenario described in the patches. Signed-off-by: Florian Kauer Reviewed-by: Kurt Kanzenbach --- v2: - Rebased onto net. #1-#2 needed adaptations, others unmodified. - Extend #3 commit message that it only regards i225. --- Florian Kauer (6): igc: Rename qbv_enable to taprio_offload_enable igc: Do not enable taprio offload for invalid arguments igc: Handle already enabled taprio offload for basetime 0 igc: No strict mode in pure launchtime/CBS offload igc: Fix launchtime before start of cycle igc: Fix inserting of empty frame for launchtime drivers/net/ethernet/intel/igc/igc.h | 2 +- drivers/net/ethernet/intel/igc/igc_main.c | 10 ++++----- drivers/net/ethernet/intel/igc/igc_tsn.c | 26 ++++++++++++++++++++--- 3 files changed, 29 insertions(+), 9 deletions(-) -- 2.39.2 _______________________________________________ Intel-wired-lan mailing list Intel-wired-lan@osuosl.org https://lists.osuosl.org/mailman/listinfo/intel-wired-lan