Re: [ewg] [PATCH RFC v3] RDMA/CMA: Allocate PS_TCP ports from the host TCP port space.

2008-11-12 Thread Or Gerlitz

Tung, Chien Tin wrote:

3) and calls cma_alloc_any_port() to allocate a port number which may not 
correspond to the port number for the bound socket.

With the addition of getnam(), sin_port is filled in with the reserved port 
number and cma_any_port will evaluate to false and the reserved port will get 
used instead.
So the only problem was carving a port from the proprietary ports pool 
of the rdma-cm where a port was already allocated from the network stack?


Or.

___
ewg mailing list
ewg@lists.openfabrics.org
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg


[ewg] Re: [GIT PULL] RDMA/nes: put patches not yet upstream in kernel_patches/fixes

2008-11-12 Thread Vladimir Sokolovsky

Tung, Chien Tin wrote:

Vlad,

Please pull RDMA/nes updates for OFED 1.4 RC5 from:

git://git.openfabrics.org/~ctung/ofed-1.4.git ofed_kernel

Revert 10 commits and convert them to patches in kernel_patches/fixes.
  


Done,

Regards,
Vladimir
___
ewg mailing list
ewg@lists.openfabrics.org
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg


Re: [ewg] Please pull: IB/ipath RHEL4U4 backport

2008-11-12 Thread Vladimir Sokolovsky

Yannick Cote wrote:

Hello Vlad,

please, pull a RHEL4U4 backport patch (1 commit) from my tree.

tree: ssh://openfabrics.org/home/ycote/scm/ofed_1_4/linux-2.6.git
branch: ofed_kernel
look at commit:


Done,

Regards,
Vladimir
___
ewg mailing list
ewg@lists.openfabrics.org
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg


Re: [ewg] [PATCH RFC v3] RDMA/CMA: Allocate PS_TCP ports from the host TCP port space.

2008-11-12 Thread Vladimir Sokolovsky

Chien Tung wrote:

RDMA/CMA: Allocate PS_TCP ports from the host TCP port space.

This is needed for iwarp providers that support native and rdma
connections over the same interface.

Optionally turned on by the new rdma_cm unify_tcp_port_space module
option.

Signed-off-by: Steve Wise <[EMAIL PROTECTED]>
Signed-off-by: Faisal Latif <[EMAIL PROTECTED]>
Signed-off-by: Chien Tung <[EMAIL PROTECTED]>
---
All, please comment on V3 change.

Vlad, this is an updated version of cma_0100_unified_tcp_ports.patch.  If you
need this in another form, please let me know.

  

Updated cma_0100_unified_tcp_ports.patch,

Regards,
Vladimir
___
ewg mailing list
ewg@lists.openfabrics.org
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg


RE: [ewg] [PATCH RFC v3] RDMA/CMA: Allocate PS_TCP ports from the host TCP port space.

2008-11-12 Thread Tung, Chien Tin
>I understand that now the value of the port allocated by the network 
>stack is being kept by the rdma-cm, can you clarify what was 
>the outcome 
>of not keeping it?

The code flow for the failed case is:

1) For active open, sin_port 0 get pass in to cma_get_tcp_port().
2) The port number for the allocated socket is not filled in, the port 
number stays 0 for id_priv->id.route.addr.src's sin_port.
2) cma_any_port(sin_port) evaluates to true
3) and calls cma_alloc_any_port() to allocate a port number which may
not correspond to the port number for the bound socket.

With the addition of getnam(), sin_port is filled in with the reserved
port number and cma_any_port will evaluate to false and the reserved
port will get used instead.

I hope that was clearer.

Chien___
ewg mailing list
ewg@lists.openfabrics.org
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg


[ewg] [GIT PULL] RDMA/nes: put patches not yet upstream in kernel_patches/fixes

2008-11-12 Thread Tung, Chien Tin
Vlad,

Please pull RDMA/nes updates for OFED 1.4 RC5 from:

git://git.openfabrics.org/~ctung/ofed-1.4.git ofed_kernel

Revert 10 commits and convert them to patches in kernel_patches/fixes.

Revert commit is a05b368f89763a3274ba71c3bd6323b63e5f96e0

Reverted commits:

 12fabeb7fab374d64d525a98d1780a0d53f22d9b
 c96271276631172c2befab7746804c311991e51a
 d7f8a8c86e089f58fc7a6461cac2ca46967927a2
 91b02d4475322e568794547b89806a62c29f2c31
 c910d0a08c69d84fc940538e80a64e3848b04e59
 a46c5123d3e8ed4eb664aff3cd8ce30b9f48b6a2
 3425f60e4103c1b604e6aa804d35e3389b3b76e9
 b1532c55b6da7d6682ceb98905764b968babb112
 3f1dd2345d9691cd54d414667836e99eddfe992c
 fe8802ef870d22d623cc2c8e11a24211c06e0217

Corresponding new commits:

 24e749664fd913f5c58c3c6b2db5305fee00d058
 6f0c2b2c102d1e0ee8902934c33cc0a6269f476e
 e5b0a8db44136bb40827d16a604011d328769068
 f53a13595203b55cd7912c906ed68c6370f3434d
 5118290236d3b1ba9f0ba8c18be801881561d9f5
 d6a73c4787593c23e5a17f3fb7ca19213a5d89a8
 ddb3671573b64bee8671558685ab597162c858eb
 f0c90d3f43fd86c0bffd166acd9253ea3a394257
 2ae853fbb241b99068614e8019ba3fec121064d9
 d04920ad8fc123102ae4694310869110a7b308fb
 


Let me know if you have any issues with these changes.

Chien

--
Chien Tung | [EMAIL PROTECTED] ___
ewg mailing list
ewg@lists.openfabrics.org
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg


[ewg] Please pull: IB/ipath RHEL4U4 backport

2008-11-12 Thread Yannick Cote

Hello Vlad,

please, pull a RHEL4U4 backport patch (1 commit) from my tree.

tree: ssh://openfabrics.org/home/ycote/scm/ofed_1_4/linux-2.6.git
branch: ofed_kernel
look at commit:

commit 2d0ea1d1c68b7fd60de682bc8d7ba49dc51f6565
Author: Dave Olson <[EMAIL PROTECTED]>
Date:   Wed Nov 12 19:29:28 2008 -0800

   IB/ipath: backport patch creating /dev/ipath device node.
  
   Signed-off-by: Yannick Cote <[EMAIL PROTECTED]>


Thanks a lot !

- Yan
___
ewg mailing list
ewg@lists.openfabrics.org
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg