forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 9999e48639b3cecb08ffb37358bcba3b48161b29
kernel/drivers/net/ethernet/intel/igc/igc_tsn.c
....@@ -92,15 +92,8 @@
9292 wr32(IGC_STQT(i), ring->start_time);
9393 wr32(IGC_ENDQT(i), ring->end_time);
9494
95
- if (adapter->base_time) {
96
- /* If we have a base_time we are in "taprio"
97
- * mode and we need to be strict about the
98
- * cycles: only transmit a packet if it can be
99
- * completed during that cycle.
100
- */
101
- txqctl |= IGC_TXQCTL_STRICT_CYCLE |
102
- IGC_TXQCTL_STRICT_END;
103
- }
95
+ txqctl |= IGC_TXQCTL_STRICT_CYCLE |
96
+ IGC_TXQCTL_STRICT_END;
10497
10598 if (ring->launchtime_enable)
10699 txqctl |= IGC_TXQCTL_QUEUE_MODE_LAUNCHT;