[Intel-wired-lan] [PATCH iwl-net v1] igc: Fix TX Hang issue when QBV Gate is close
Tony Nguyen
anthony.l.nguyen at intel.com
Thu Jun 1 20:37:41 UTC 2023
On 5/31/2023 12:59 AM, Muhammad Husaini Zulkifli wrote:
> If a user schedules a Gate Control List (GCL) to close one of
> the QBV gates while also transmitting a packet to that closed gate,
> TX Hang will be happen. HW would not drop any packet when the gate
> is close and keep queueing up in HW TX FIFO until the gate is re-open.
> This patch implement the solution to drop the packet for the closed
> gate.
>
> This patch will additionally include a reset adapter to perform
> SW initialization for each 1st Gate Control List (GCL) to avoid hang.
> This is due to the HW design, where changing to TSN transmit mode
> requires SW initialization. Intel Discrete I225/6 transmit mode
> cannot be changed when in dynamic mode according to Software User
> Manual Section 7.5.2.1. Subsequent Gate Control List (GCL) operations
> will proceed without a reset, as they already in TSN Mode.
>
> Step to reproduce:
>
> DUT:
> 1) Configure GCL List with certain gate close.
> 2) Transmit the packet to close gate.
This patch doesn't apply.
> Fixes: ec50a9d437f0 ("igc: Add support for taprio offloading")
> Co-developed-by: Tan Tee Min <tee.min.tan at linux.intel.com>
> Signed-off-by: Tan Tee Min <tee.min.tan at linux.intel.com>
> Tested-by: Chwee Lin Choong <chwee.lin.choong at intel.com>
> Signed-off-by: Muhammad Husaini Zulkifli <muhammad.husaini.zulkifli at intel.com>
More information about the Intel-wired-lan
mailing list