Skip to content

Commit cca28ce

Browse files
zulkifl3anguy11
authored andcommitted
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: 13b5b7f ("igc: Add support for Tx/Rx rings") Signed-off-by: Muhammad Husaini Zulkifli <muhammad.husaini.zulkifli@intel.com> Acked-by: Sasha Neftin <sasha.neftin@intel.com> Tested-by: Naama Meir <naamax.meir@linux.intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
1 parent ed89b74 commit cca28ce

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

drivers/net/ethernet/intel/igc/igc_main.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -711,7 +711,6 @@ static void igc_configure_tx_ring(struct igc_adapter *adapter,
711711
/* disable the queue */
712712
wr32(IGC_TXDCTL(reg_idx), 0);
713713
wrfl();
714-
mdelay(10);
715714

716715
wr32(IGC_TDLEN(reg_idx),
717716
ring->count * sizeof(union igc_adv_tx_desc));

0 commit comments

Comments
 (0)