Re: [ofa-general] Re: [PATCH RFC] RDMA/CMA: Allocate PS_TCP ports from the host TCP port space.





David Miller wrote:
From: Sean Hefty <mshefty@xxxxxxxxxxxxxxxx>
Date: Thu, 09 Aug 2007 14:40:16 -0700

Steve Wise wrote:
Any more comments?
Does anyone have ideas on how to reserve the port space without using a struct socket?

How about we just remove the RDMA stack altogether? I am not at all
kidding. If you guys can't stay in your sand box and need to cause
problems for the normal network stack, it's unacceptable. We were
told all along the if RDMA went into the tree none of this kind of
stuff would be an issue.

These are exactly the kinds of problems for which people like myself
were dreading. These subsystems have no buisness using the TCP port
space of the Linux software stack, absolutely none.

After TCP port reservation, what's next? It seems an at least
bi-monthly event that the RDMA folks need to put their fingers
into something else in the normal networking stack. No more.

I will NACK any patch that opens up sockets to eat up ports or
anything stupid like that.

Hey Dave,

The hack to use a socket and bind it to claim the port was just for demostrating the idea. The correct solution, IMO, is to enhance the core low level 4-tuple allocation services to be more generic (eg: not be tied to a struct sock). Then the host tcp stack and the host rdma stack can allocate TCP/iWARP ports/4tuples from this common exported service and share the port space. This allocation service could also be used by other deep adapters like iscsi adapters if needed.

Will you NAK such a solution if I go implement it and submit for review? The dual ip subnet solution really sux, and I'm trying one more time to see if you will entertain the common port space solution, if done correctly.

Thanks,

Steve.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: listening on same port in both IPv4 and IPv6
    ... Why is the port space aliased in this way between ... There is only one transport layer ... | permissible to alias points across address families? ...
    (comp.os.linux.development.system)
  • Re: open and close many TCP sockets in quick succession
    ... If one were to use the entire 16 bit port space, ... port, single client IP, and all 64K port numbers on the client. ... Patient: "Doctor! ...
    (comp.unix.programmer)
  • Re: TCP kernel tables overflowing after sustained 1000 new connections per second
    ... The timeouts are what they are for a reason to detect old packets in ... the network and prevent data corruption. ... When you run out of port space you should use more local IP addresses. ...
    (Linux-Kernel)
  • Re: Problem with socket
    ... Be aware that those port numbers are part of the IANA-assigned range. ... socket operations on sockets for which there are no handles... ... The result of using comma lists is ... you have used the completely meaningless word "crash" to describe your ...
    (microsoft.public.vc.mfc)
  • RE: call is blocked in recvfrom() and no further proceedings in Win CE
    ... In windows CE, I'm able to send a request but I'm unable to receive it. ... Create another socket & bind with server IP address. ... > My program has to send request to service through port 5070(in this port only ...
    (microsoft.public.windowsce.embedded)