Re: [PATCH rdma-next] i40iw: Extend port reuse support for listeners

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, May 12, 2018 at 07:50:30AM -0500, Shiraz Saleem wrote:
> 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@xxxxxxxxx>
> ---
>  drivers/infiniband/hw/i40iw/i40iw_cm.c | 63 ++++++++++++++--------------------
>  drivers/infiniband/hw/i40iw/i40iw_cm.h |  4 ++-
>  drivers/infiniband/hw/i40iw/i40iw_hw.c | 34 ++++++++++++++++--
>  3 files changed, 59 insertions(+), 42 deletions(-)

Applied to for-next

Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux