diff options
author | Moni Shoua <[email protected]> | 2017-01-05 16:16:36 +0200 |
---|---|---|
committer | Doug Ledford <[email protected]> | 2017-01-24 16:20:37 -0500 |
commit | 19b752a19dcec188f404a070f4d4c33607ea493b (patch) | |
tree | 604eeaf270cf8764728a5f23c8848bc6a5835ded /tools/perf/util/trace-event-scripting.c | |
parent | 498683c6a7eec5e6ca4f8371d92061618f0827bc (diff) |
IB/cma: Allow port reuse for rdma_id
When allocating a port number for binding to a rdma_id, assuming the
allocation is not for a specific port, the rule is to allow only ports
that were not in use before by any other rdma_id.
This condition is too strong to achieve the goal of a unique 5 tuple
rdma_id. Instead, we can compare current rdma_id with other rdma_id for
difference in one of destination port, source address and destination
address to allow port reuse.
Signed-off-by: Moni Shoua <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Acked-by: Sean Hefty <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions