[PATCH 1/1] UBUNTU: SAUCE: (no-up) igc: fix frame preemption not able to set
Philip Cox
philip.cox at canonical.com
Tue Oct 3 17:23:55 UTC 2023
From: Lai Peter Jun Ann <jun.ann.lai at intel.com>
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 <jun.ann.lai at intel.com>
Signed-off-by: Gan Yi Fang <yi.fang.gan at intel.com>
Signed-off-by: Noor Azura Ahmad Tarmizi <noor.azura.ahmad.tarmizi at linux.intel.com>
Signed-off-by: Philip Cox <philip.cox at canonical.com>
---
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);
--
2.34.1
More information about the kernel-team
mailing list