aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorSasha Neftin <[email protected]>2021-07-04 10:11:41 +0300
committerTony Nguyen <[email protected]>2021-08-20 08:38:01 -0700
commit44a13a5d99c71bf9e1676d9e51679daf4d7b3d73 (patch)
tree2c034c750a6c646182bb7e8c037adc9cd4ba0185 /net/lapb/lapb_timer.c
parent691bd4d7761992914a0e83c27a4ce57d01474cda (diff)
e1000e: Fix the max snoop/no-snoop latency for 10M
We should decode the latency and the max_latency before directly compare. The latency should be presented as lat_enc = scale x value: lat_enc_d = (lat_enc & 0x0x3ff) x (1U << (5*((max_ltr_enc & 0x1c00) >> 10))) Fixes: cf8fb73c23aa ("e1000e: add support for LTR on I217/I218") Suggested-by: Yee Li <[email protected]> Signed-off-by: Sasha Neftin <[email protected]> Tested-by: Dvora Fuxbrumer <[email protected]> Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions