Re: [PATCH v2] RDMA/CMA: fix iWARP adapter TCP port space usage

Steve Wise
2010-06-23T20:13:36Z

Roland Dreier wrote:
> > Doesn't that mean the port collision problem still exits [for iSCSI],
> > although probably less likely?
>
> Yes, it's there, but almost impossible to hit: first of all, iSCSI HBAs
> never listen on a port, so that can never collide. Second, iSCSI HBAs
> only establish connections to iSCSI targets on the iSCSI port -- so
> really your only chance of a problem is if you ran an offloaded and
> non-offloaded iSCSI initiator on the same IP to the same target, _and_
> you got unlucky on the local ports that you chose. So in practice no
> one will hit this.
>

I believe, at least for cxgb3i, the ipaddr used is not bound to an ethX
interface. So the 4-tuple will never collide with host TCP connections.