igc: Remove delay during TX ring configuration
Subsystems (2)
PATCH 1/1 igc: Remove delay during TX ring configuration
Remove unnecessary delay during the TX ring configuration. It doesn't mentioned about this delay in the Software User Manual. It might have been ported from legacy code I210 in the past.
--- 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 15 lines · Muhammad Husaini Zulkifli
Remove unnecessary delay during the TX ring configuration. 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]>--- 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
Tony Nguyen
maintainerQuoted 3 lines · Muhammad Husaini Zulkifli
Remove unnecessary delay during the TX ring configuration. It doesn't mentioned about this delay in the Software User Manual. It might have been ported from legacy code I210 in the past.
Can you please provide more info. What's the problem you're fixing? How is this fixing it? If there's a splat, that would be helpful.
Quoted 11 lines
Fixes 13b5b7fd6a4a ("igc: Add support for Tx/Rx rings")Signed-off-by Muhammad Husaini Zulkifli <[email protected]>--- 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
Hi Tony,
Quoted 7 lines · Muhammad Husaini Zulkifli
Quoted 3 lines
Remove unnecessary delay during the TX ring configuration. It doesn't mentioned about this delay in the Software User Manual. It might have been ported from legacy code I210 in the past.
Can you please provide more info. What's the problem you're fixing? How is this fixing it? If there's a splat, that would be helpful.
There is no splat for this. This will cause more delay ex. link up activity especially during reset adapter task. I do not see any need for this as it does not mentioned in software manual. Plus, during TSN mode GCL scheduling configuration, we want to remove the delay of this 10ms for real time activity as well. I got pinged Sasha previously and we agreed to remove this delay.
Quoted 15 lines
drivers/net/ethernet/intel/igc/igc_main.c static void igc_configure_tx_ring(struct igc_adapter
Quoted 14 lines
Fixes 13b5b7fd6a4a ("igc: Add support for Tx/Rx rings")Signed-off-by Muhammad Husaini Zulkifli--- drivers/net/ethernet/intel/igc/igc_main.c | 1 - 1 file changed, 1 deletion(-)drivers/net/ethernet/intel/igc/igc_main.c +0
-0@@ -711,7 +711,6 @@ static void igc_configure_tx_ring(struct igc_adapter*adapter,
Quoted 7 lines
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/* 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
Tony Nguyen
maintainerQuoted 7 lines · Muhammad Husaini
Hi Tony,
Quoted 5 lines · Muhammad Husaini Zulkifli
Quoted 3 lines
Remove unnecessary delay during the TX ring configuration. It doesn't mentioned about this delay in the Software User Manual. It might have been ported from legacy code I210 in the past.
Quoted 8 lines
Quoted 2 lines
Can you please provide more info. What's the problem you're fixing? How is this fixing it? If there's a splat, that would be helpful.
There is no splat for this. This will cause more delay ex. link up activity especially during reset adapter task. I do not see any need for this as it does not mentioned in software manual. Plus, during TSN mode GCL scheduling configuration, we want to remove the delay of this 10ms for real time activity as well. I got pinged Sasha previously and we agreed to remove this delay.
Can you please update the commit message with applicable information that you mentioned here. This commit message doesn't give enough information about the problem or the solution. Description tips[1].
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Fixes 13b5b7fd6a4a ("igc: Add support for Tx/Rx rings")Signed-off-by Muhammad Husaini Zulkifli
[1] https://www.kernel.org/doc/html/latest/process/submitting-patches.html#describe-your-changes
_______________________________________________
Intel-wired-lan mailing list
[email protected]
https://lists.osuosl.org/mailman/listinfo/intel-wired-lan
Quoted 16 lines · Muhammad Husaini
Quoted 7 lines
Hi Tony,
Quoted 5 lines · Muhammad Husaini Zulkifli
Quoted 3 lines
Remove unnecessary delay during the TX ring configuration. It doesn't mentioned about this delay in the Software User Manual. It might have been ported from legacy code I210 in the past.
Quoted 7 lines
Quoted 2 lines
Can you please provide more info. What's the problem you're fixing? How is this fixing it? If there's a splat, that would be helpful.
There is no splat for this. This will cause more delay ex. link up activity especially during reset adapter task. I do not see any need for this as it does not mentioned in software manual. Plus, during TSN mode GCL scheduling configuration, we want to remove the delay of this
Quoted 6 lines
10ms for real time activity as well.
Quoted 1 line
I got pinged Sasha previously and we agreed to remove this delay.
Can you please update the commit message with applicable information that you mentioned here. This commit message doesn't give enough information about the problem or the solution. Description tips[1].
Sure. Will push again.
Quoted 9 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Fixes 13b5b7fd6a4a ("igc: Add support for Tx/Rx rings")Signed-off-by Muhammad Husaini Zulkifli[1]
https://www.kernel.org/doc/html/latest/process/submitting-
patches.html#describe-your-changes
_______________________________________________
Intel-wired-lan mailing list
[email protected]
https://lists.osuosl.org/mailman/listinfo/intel-wired-lan