linux_dsm_epyc7002/drivers/infiniband/hw/i40iw
Shiraz Saleem f43c00c04b 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 f16dc0aa5e ("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: f16dc0aa5e ("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>
2018-05-16 13:13:20 -06:00
..
i40iw_cm.c i40iw: Extend port reuse support for listeners 2018-05-16 13:13:20 -06:00
i40iw_cm.h i40iw: Extend port reuse support for listeners 2018-05-16 13:13:20 -06:00
i40iw_ctrl.c i40iw: Refactor of driver generated AEs 2018-03-15 15:58:04 -06:00
i40iw_d.h i40iw: Refactor of driver generated AEs 2018-03-15 15:58:04 -06:00
i40iw_hmc.c
i40iw_hmc.h
i40iw_hw.c i40iw: Extend port reuse support for listeners 2018-05-16 13:13:20 -06:00
i40iw_main.c infiniband: i40iw: Replace GFP_ATOMIC with GFP_KERNEL in i40iw_l2param_change 2018-04-17 19:57:12 -06:00
i40iw_osdep.h RDMA/i40iw: Remove MSS change support 2017-06-01 16:59:52 -04:00
i40iw_p.h i40iw: Remove UDA QP from QoS list if creation fails 2017-10-18 13:28:46 -04:00
i40iw_pble.c i40iw: Simplify code 2017-08-18 14:01:08 -04:00
i40iw_pble.h
i40iw_puda.c i40iw: Refactor handling of txpend list 2018-03-06 16:00:51 -07:00
i40iw_puda.h i40iw: Free IEQ resources 2018-01-16 20:38:18 -07:00
i40iw_register.h
i40iw_status.h i40iw: Correct variable names 2017-08-16 11:27:44 -04:00
i40iw_type.h i40iw: Refactor of driver generated AEs 2018-03-15 15:58:04 -06:00
i40iw_uk.c i40iw: Use utility function roundup_pow_of_two() 2017-12-22 13:37:51 -07:00
i40iw_user.h i40iw: Remove limit on re-posting AEQ entries to HW 2018-01-16 20:38:18 -07:00
i40iw_utils.c i40iw: Refactor of driver generated AEs 2018-03-15 15:58:04 -06:00
i40iw_verbs.c IB/uverbs: Extend uverbs_ioctl header with driver_id 2018-03-19 14:45:17 -06:00
i40iw_verbs.h i40iw: Free QP PBLEs when the QP is destroyed 2017-07-20 11:20:49 -04:00
i40iw_vf.c
i40iw_vf.h
i40iw_virtchnl.c RDMA/i40iw: fix duplicated code for different branches 2017-06-01 17:00:29 -04:00
i40iw_virtchnl.h
i40iw.h i40iw: Tear-down connection after CQP Modify QP failure 2018-03-15 15:58:05 -06:00
Kconfig i40w: Remove garbage at end of INFINIBAND_I40IW Kconfig section 2017-12-11 16:19:41 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00