diff options
author | 2017-01-05 16:16:36 +0200 | |
---|---|---|
committer | 2017-01-24 16:20:37 -0500 | |
commit | 19b752a19dcec188f404a070f4d4c33607ea493b (patch) | |
tree | 604eeaf270cf8764728a5f23c8848bc6a5835ded /tools/perf/scripts/python/export-to-postgresql.py | |
parent | IB/cma: Add debug messages to error flows (diff) | |
download | wireguard-linux-19b752a19dcec188f404a070f4d4c33607ea493b.tar.xz wireguard-linux-19b752a19dcec188f404a070f4d4c33607ea493b.zip |
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 <monis@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Acked-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions