[Intel-wired-lan] [PATCH iwl-net] igc: Ensure PTM request is completed before timeout has started

2024-07-08 Thread Rodrigo Cataldo via B4 Relay
From: Rodrigo Cataldo When a PTM is requested via wr32(IGC_PTM_STAT), the operation may only be completed by the next read operation (flush). Unfortunately, the next read operation in the PTM request loop happens after we have already started evaluating the response timeout. Thus, the following

[Intel-wired-lan] [PATCH iwl-net] igc: Fix hicredit calculation

2023-12-08 Thread Rodrigo Cataldo via B4 Relay
From: Rodrigo Cataldo According to the Intel Software Manual for I225, Section 7.5.2.7, hicredit should be multiplied by the constant link-rate value, 0x7736. Currently, the old constant link-rate value, 0x7735, from the boards supported on igb are being used, most likely due to a copy'n'paste,