From patchwork Tue Oct 3 17:23:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philip Cox X-Patchwork-Id: 1842769 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=185.125.189.65; helo=lists.ubuntu.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=patchwork.ozlabs.org) Received: from lists.ubuntu.com (lists.ubuntu.com [185.125.189.65]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4S0Prf0587z1ypx for ; Wed, 4 Oct 2023 04:26:56 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=lists.ubuntu.com) by lists.ubuntu.com with esmtp (Exim 4.86_2) (envelope-from ) id 1qnjAN-0005Ha-VQ; Tue, 03 Oct 2023 17:26:40 +0000 Received: from smtp-relay-internal-0.internal ([10.131.114.225] helo=smtp-relay-internal-0.canonical.com) by lists.ubuntu.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1qnjAD-0005H5-68 for kernel-team@lists.ubuntu.com; Tue, 03 Oct 2023 17:26:32 +0000 Received: from mail-yw1-f198.google.com (mail-yw1-f198.google.com [209.85.128.198]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id C10543F13B for ; Tue, 3 Oct 2023 17:26:28 +0000 (UTC) Received: by mail-yw1-f198.google.com with SMTP id 00721157ae682-59f61a639b9so16376177b3.1 for ; Tue, 03 Oct 2023 10:26:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696353986; x=1696958786; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Yml0lsbAkmlMGPze60FJbHuVcGeazoh7ZFQ4IDkOwYE=; b=TbYKOyEMFZcteDR05sodIijlBH5ObtRmUtW8WY7S/QrdQFrkBoIO05ErYuzA4O3Oy0 TOJDN3Eqt2jqpQ01NunXNuNo6BYtc2j1UGkKGyeLK7j0ACw1kiCfKPZ3SnxNaUHVu1F8 NUlFCXfOHk1paXDHOPglOHszaIzS3myJT1IFXsBadMDGqJGtILbvh1G0lpJRgm7kAsoc lMS4Ugs6LEcdY2+bzHHDGMw4GVkq57mPIZCxd5brOWsd8uMsytVEGXYRnSXgYpGi9X1u gsag9tem2hq8rKOTiYTQGQqTJB1mNP66pYSaj/rQwiWqIRSeNyq0/BNGKRJtyUaaRmmO rZEQ== X-Gm-Message-State: AOJu0YwfY5K2Xzy/z9gMJYukfn/4Nihj+Kz57TPIrS8CZYgywv6VGBQ0 nh4v6Lt5rjhK20wn4y1uEa9Hf5sRaV7jAd0AEqfDYziThcSUQ+z+/R6ihW5Yd2VNLiZipZulseY Xao5FdFKCYE9Rg7rNSmfmN5LsAW4eXs0T2XCUHqG8PnGDmmCcrQ== X-Received: by 2002:a0d:dd03:0:b0:59f:4c52:2f51 with SMTP id g3-20020a0ddd03000000b0059f4c522f51mr285314ywe.17.1696353986351; Tue, 03 Oct 2023 10:26:26 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEB73PBO9E27UZN9kOf0V7X6vJ218ivNC5pASRMzjTGPStMNun6D2nFOdwtGuYPWIxgaIQp3A== X-Received: by 2002:a0d:dd03:0:b0:59f:4c52:2f51 with SMTP id g3-20020a0ddd03000000b0059f4c522f51mr285302ywe.17.1696353986052; Tue, 03 Oct 2023 10:26:26 -0700 (PDT) Received: from cox.home.arpa ([216.154.7.120]) by smtp.gmail.com with ESMTPSA id i19-20020a0cf393000000b00632209f7157sm628477qvk.143.2023.10.03.10.26.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Oct 2023 10:26:23 -0700 (PDT) From: Philip Cox To: kernel-team@lists.ubuntu.com Subject: [PATCH 1/1] UBUNTU: SAUCE: (no-up) igc: fix frame preemption not able to set Date: Tue, 3 Oct 2023 13:23:55 -0400 Message-Id: <20231003172355.244756-2-philip.cox@canonical.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231003172355.244756-1-philip.cox@canonical.com> References: <20231003172355.244756-1-philip.cox@canonical.com> MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" From: Lai Peter Jun Ann BugLink: https://bugs.launchpad.net/bugs/2038349 A flag for bookkeeping the driver state of TSN features is already introduced to keep track on whether a TSN feature driver state is enabled or not though controller state changes. Hence, separates the procedure done during reset from applying a configuration. Signed-off-by: Lai Peter Jun Ann Signed-off-by: Gan Yi Fang Signed-off-by: Noor Azura Ahmad Tarmizi Signed-off-by: Philip Cox --- drivers/net/ethernet/intel/igc/igc_tsn.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/net/ethernet/intel/igc/igc_tsn.c b/drivers/net/ethernet/intel/igc/igc_tsn.c index eed736eee67a..266d1ffb6f85 100644 --- a/drivers/net/ethernet/intel/igc/igc_tsn.c +++ b/drivers/net/ethernet/intel/igc/igc_tsn.c @@ -60,10 +60,6 @@ static int igc_tsn_disable_offload(struct igc_adapter *adapter) int i; - if (!(adapter->flags & IGC_FLAG_TSN_QBV_ENABLED)) - return 0; - - adapter->cycle_time = 0; adapter->add_frag_size = IGC_I225_MIN_FRAG_SIZE_DEFAULT; wr32(IGC_TXPBS, I225_TXPBSIZE_DEFAULT);