summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorShiraz Saleem <shiraz.saleem@intel.com>2018-05-12 07:50:30 -0500
committerJason Gunthorpe <jgg@mellanox.com>2018-05-16 13:13:20 -0600
commitf43c00c04bbf01be0822ef9f0281cc69b56c4e40 (patch)
tree046415c5d14e9de9c0a6ead41e6203325f8bfae6 /tools/perf/scripts/python
parentaec05afe641b9c10024c7e4838c0d6cd734f3565 (diff)
i40iw: Extend port reuse support for listeners
If two listeners are created with different IP's but same port, the second rdma_listen fails due to a duplicate port entry being added from the CQP add APBVT OP. commit f16dc0aa5ea2 ("i40iw: Add support for port reuse on active side connections") does not account for listener side port reuse. Check for duplicate port before invoking the CQP command to add APBVT entry and delete the entry only if the port is not in use. Additionally, consolidate all port-reuse logic into i40iw_manage_apbvt. Fixes: f16dc0aa5ea2 ("i40iw: Add support for port reuse on active side connections") Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions