On Tue, Nov 22, 2016 at 7:38 PM, Hefty, Sean <sean.hefty@xxxxxxxxx> wrote: > I believe that any solution here should mimic the TCP/IP stack as closely as possible. So I would rule out the re-use of a single port for all active connections. > > I think TCP matches on the full tuple <src port, src ip, dst port, dst ip>. We should be safe to re-use port numbers as long as some other portion of the tuple changes. Maybe that can be added as part of the port reservation/checking? > At first the thought was to reuse ports as long as the dest IP between rdma_id is different but is this complication really necessary? RDMA_CM mimics socket API but wire protocol is different and source port has no role in transporting a packet from QP to QP. Do you see a real risk in reusing a port unconditionally? -- 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