Thread (6 messages) flat view 6 messages, 3 authors, 2021-08-07

RE: [PATCH net-next 2/2] r8169: change the L0/L1 entrance latencies for RTL8106e

From: Hayes Wang <hidden>
Date: 2021-08-07 03:50:59

Heiner Kallweit [off-list ref]
Sent: Saturday, August 7, 2021 5:28 AM
[...]
Most chip versions use rtl_set_def_aspm_entry_latency() that sets
the value to 0x27. Does this value also work for RTL8106e?
No, it doesn't work.
Can you explain how the L0 and L1 times in us map to the
register value? Then we could add a function that doesn't work
with a magic value but takes the L0 and L1 times in us as
parameter.
L0 (bit 0~2):
	0: 1us
	1: 2us
	2: 3us
	3: 4us
	4: 5us
	5: 6us
	6: 7us
	7: 7us (The maximum is 7us)

L1 (bit 3~5):
	0: 1us
	1: 2us
	2: 4us
	3: 8us
	4: 16us
	5: 32us
	6: 64us
	7: 64us (The maximum is 64us)

Best Regards,
Hayes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help