Commit cca28cea authored by Muhammad Husaini Zulkifli's avatar Muhammad Husaini Zulkifli Committed by Tony Nguyen

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.

Fixes: 13b5b7fd ("igc: Add support for Tx/Rx rings")
Signed-off-by: default avatarMuhammad Husaini Zulkifli <muhammad.husaini.zulkifli@intel.com>
Acked-by: default avatarSasha Neftin <sasha.neftin@intel.com>
Tested-by: default avatarNaama Meir <naamax.meir@linux.intel.com>
Signed-off-by: default avatarTony Nguyen <anthony.l.nguyen@intel.com>
parent ed89b74d
...@@ -711,7 +711,6 @@ static void igc_configure_tx_ring(struct igc_adapter *adapter, ...@@ -711,7 +711,6 @@ static void igc_configure_tx_ring(struct igc_adapter *adapter,
/* disable the queue */ /* disable the queue */
wr32(IGC_TXDCTL(reg_idx), 0); wr32(IGC_TXDCTL(reg_idx), 0);
wrfl(); wrfl();
mdelay(10);
wr32(IGC_TDLEN(reg_idx), wr32(IGC_TDLEN(reg_idx),
ring->count * sizeof(union igc_adv_tx_desc)); ring->count * sizeof(union igc_adv_tx_desc));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment