REQ GID enforcement in the CM

2011-10-27 Thread Or Gerlitz
Hi Sean, Looking on that case, I noted that the CM code (SB) checks that the GID in the incoming REQ is present in at least of one the ports of the relevant device, but not specifically on the port this request arrived to, is that following IBTA? I thought it could be problematic e.g in the ca

Re: REQ GID enforcement in the CM

2011-10-27 Thread Jason Gunthorpe
On Thu, Oct 27, 2011 at 04:14:07PM +0200, Or Gerlitz wrote: > Looking on that case, I noted that the CM code (SB) checks that the > GID in the incoming REQ is present in at least of one the ports of > the relevant device, but not specifically on the port this request > arrived to, is that followin

Re: REQ GID enforcement in the CM

2011-10-30 Thread Or Gerlitz
On 10/27/2011 6:55 PM, Jason Gunthorpe wrote: You can use the CM to establish a connection on another port, eg send CM GMPs to port 1, specify the primary data path is port 2 and specify the alternate data path is port 1. Jason makes sense, still, maybe the code here could/should be made more

Re: REQ GID enforcement in the CM

2011-10-31 Thread Jason Gunthorpe
On Sun, Oct 30, 2011 at 12:14:50PM +0200, Or Gerlitz wrote: > On 10/27/2011 6:55 PM, Jason Gunthorpe wrote: > >You can use the CM to establish a connection on another port, eg > >send CM GMPs to port 1, specify the primary data path is port 2 > >and specify the alternate data path is port 1. Jason