Skip to content

Commit 6b8aa75

Browse files
aneftinanguy11
authored andcommitted
igc: Decrease PTM short interval from 10 us to 1 us
With the 10us interval, we were seeing PTM transactions take around 12us. Hardware team suggested this interval could be lowered to 1us which was confirmed with PCIe sniffer. With the 1us interval, PTM dialogs took around 2us. Suggested-by: Vinicius Costa Gomes <[email protected]> Signed-off-by: Sasha Neftin <[email protected]> Tested-by: Muhammad Husaini Zulkifli <[email protected]> Reviewed-by: Muhammad Husaini Zulkifli <[email protected]> Tested-by: Naama Meir <[email protected]> Signed-off-by: Tony Nguyen <[email protected]>
1 parent 3ed247e commit 6b8aa75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/ethernet/intel/igc/igc_defines.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@
556556
#define IGC_PTM_CTRL_SHRT_CYC(usec) (((usec) & 0x3f) << 2)
557557
#define IGC_PTM_CTRL_PTM_TO(usec) (((usec) & 0xff) << 8)
558558

559-
#define IGC_PTM_SHORT_CYC_DEFAULT 10 /* Default Short/interrupted cycle interval */
559+
#define IGC_PTM_SHORT_CYC_DEFAULT 1 /* Default short cycle interval */
560560
#define IGC_PTM_CYC_TIME_DEFAULT 5 /* Default PTM cycle time */
561561
#define IGC_PTM_TIMEOUT_DEFAULT 255 /* Default timeout for PTM errors */
562562

0 commit comments

Comments
 (0)