diff options
author | Dag Moxnes <[email protected]> | 2019-10-30 13:44:00 +0100 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2019-11-17 10:37:00 -0400 |
commit | e1ee1e62bec4a8968355517ea11b2a06b7364408 (patch) | |
tree | 2803c2a79f2820d1e3132677ece6ace3e4f885fd /scripts/gdb/linux/timerlist.py | |
parent | 72b894b09a96b741c92562709f6629310f2b34a1 (diff) |
RDMA/cma: Use ACK timeout for RoCE packetLifeTime
The cma is currently using a hard-coded value, CMA_IBOE_PACKET_LIFETIME,
for the PacketLifeTime, as it can not be determined from the network.
This value might not be optimal for all networks.
The cma module supports the function rdma_set_ack_timeout to set the ACK
timeout for a QP associated with a connection. As per IBTA 12.7.34 local
ACK timeout = (2 * PacketLifeTime + Local CA’s ACK delay). Assuming a
negligible local ACK delay, we can use PacketLifeTime = local ACK
timeout/2 as a reasonable approximation for RoCE networks.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dag Moxnes <[email protected]>
Reviewed-by: Jason Gunthorpe <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions