igc: Remove delay during TX ring configuration
Subsystems (2)
PATCH v2 1/1 igc: Remove delay during TX ring configuration
Remove unnecessary delay during the TX ring configuration. This will cause delay, especially during link down and link up activity.
Furthermore, old SKUs like as I225 will call the reset_adapter to reset the controller during TSN mode Gate Control List (GCL) setting. This will add more time to the configuration of the real-time use case.
It doesn't mentioned about this delay in the Software User Manual. It might have been ported from legacy code I210 in the past.
---
V1 -> V2: Update commit message.
---
--- drivers/net/ethernet/intel/igc/igc_main.c | 1 - 1 file changed, 1 deletion(-)
drivers/net/ethernet/intel/igc/igc_main.c +0 -1
@@ -711,7 +711,6 @@ static void igc_configure_tx_ring(struct igc_adapter *adapter,/* disable the queue */ wr32 (IGC_TXDCTL (reg_idx),0 );wrfl (); -mdelay (10 );wr32 (IGC_TDLEN (reg_idx), ring->count *sizeof (union igc_adv_tx_desc ));
Signature · 6 lines
2.17.1 _______________________________________________ Intel-wired-lan mailing list [email protected] https://lists.osuosl.org/mailman/listinfo/intel-wired-lan
Quoted 27 lines · Muhammad Husaini Zulkifli
Remove unnecessary delay during the TX ring configuration. This will cause delay, especially during link down and link up activity.
Furthermore, old SKUs like as I225 will call the
reset_adapterto reset the controller during TSN mode Gate Control List (GCL) setting. This will add more time to the configuration of the real-time use case.It doesn't mentioned about this delay in the Software User Manual. It might have been ported from legacy code I210 in the past.
Fixes 13b5b7fd6a4a ("igc: Add support for Tx/Rx rings")Signed-off-by Muhammad Husaini Zulkifli <[email protected]>---
V1 -> V2: Update commit message.
------ drivers/net/ethernet/intel/igc/igc_main.c | 1 - 1 file changed, 1 deletion(-)drivers/net/ethernet/intel/igc/igc_main.c +0
-0
drivers/net/ethernet/intel/igc/igc_main.c static void igc_configure_tx_ring(struct igc_adapter *adapter, · line 716
Quoted 7 lines
drivers/net/ethernet/intel/igc/igc_main.c +0
-1@@ -711,7 +711,6 @@ static void igc_configure_tx_ring(struct igc_adapter *adapter,/* disable the queue */ wr32 (IGC_TXDCTL (reg_idx),0 );wrfl (); -mdelay (10 );wr32 (IGC_TDLEN (reg_idx), ring->count *sizeof (union igc_adv_tx_desc ));
_______________________________________________
Intel-wired-lan mailing list
[email protected]
https://lists.osuosl.org/mailman/listinfo/intel-wired-lan
Quoted 15 lines · Muhammad Husaini Zulkifli
Remove unnecessary delay during the TX ring configuration. This will cause delay, especially during link down and link up activity.
Furthermore, old SKUs like as I225 will call the
reset_adapterto reset the controller during TSN mode Gate Control List (GCL) setting. This will add more time to the configuration of the real-time use case.It doesn't mentioned about this delay in the Software User Manual. It might have been ported from legacy code I210 in the past.
Fixes 13b5b7fd6a4a ("igc: Add support for Tx/Rx rings")Signed-off-by Muhammad Husaini Zulkifli <[email protected]>
Quoted 6 lines
---
V1 -> V2: Update commit message.
------ drivers/net/ethernet/intel/igc/igc_main.c | 1 - 1 file changed, 1 deletion(-)
_______________________________________________
Intel-wired-lan mailing list
[email protected]
https://lists.osuosl.org/mailman/listinfo/intel-wired-lan