summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c
diff options
context:
space:
mode:
authorJon Maloy2018-07-06 15:22:36 +0200
committerDavid S. Miller2018-07-07 14:16:01 +0200
commita4dc70d46cf1a05b244a06d3d8c0c09908ea13b9 (patch)
treec455159b7801cc436ef6e412dbca3bac5825eca5 /drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c
parentMerge branch 'Introduce-matching-on-double-vlan-QinQ-headers-for-TC-flower' (diff)
downloadkernel-qcow2-linux-a4dc70d46cf1a05b244a06d3d8c0c09908ea13b9.tar.gz
kernel-qcow2-linux-a4dc70d46cf1a05b244a06d3d8c0c09908ea13b9.tar.xz
kernel-qcow2-linux-a4dc70d46cf1a05b244a06d3d8c0c09908ea13b9.zip
tipc: extend link reset criteria for stale packet retransmission
Currently a link is declared stale and reset if there has been 100 repeated attempts to retransmit the same packet. However, in certain infrastructures we see that packet (NACK) duplicates and delays may cause such retransmit attempts to occur at a high rate, so that the peer doesn't have a reasonable chance to acknowledge the reception before the 100-limit is hit. This may take much less than the stipulated link tolerance time, and despite that probe/probe replies otherwise go through as normal. We now extend the criteria for link reset to also being time based. I.e., we don't reset the link until the link tolerance time is passed AND we have made 100 retransmissions attempts. Acked-by: Ying Xue <ying.xue@windriver.com> Signed-off-by: Jon Maloy <jon.maloy@ericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c')
0 files changed, 0 insertions, 0 deletions