Re: [openib-general] [PATCH 2/6] IB: match connection requests based on private data

2006-03-06 Thread Sean Hefty
Sean Hefty wrote: +static void cm_mask_compare_data(u8 *dst, u8 *src, u8 *mask) +{ + int i; + + for (i = 0; i < IB_CM_PRIVATE_DATA_COMPARE_SIZE; i++) + dst[i] = src[i] & mask[i]; +} + +static int cm_compare_data(struct ib_cm_private_data_compare *src_data, +

Re: [openib-general] RE: [PATCH 2/6] IB: match connection requests based on private data

2006-03-06 Thread Sean Hefty
Caitlin Bestler wrote: The term "private data" is intended to convey the intent that the data is private to the application layer and is opaque to middleware and the network. The private data area is for the use of whatever client resides above the Infiniband CM only. There is no assumption a

RE: [PATCH 2/6] IB: match connection requests based on private data

2006-03-06 Thread Caitlin Bestler
gt; Subject: [PATCH 2/6] IB: match connection requests based on > private data > > Extend matching connection requests to listens in the > Infiniband CM to include private data checks. > > This allows applications to listen on the same service > identifier, with private data

[PATCH 2/6] IB: match connection requests based on private data

2006-03-06 Thread Sean Hefty
Extend matching connection requests to listens in the Infiniband CM to include private data checks. This allows applications to listen on the same service identifier, with private data directing the request to the appropriate application. Signed-off-by: Sean Hefty <[EMAIL PROTECTED]> --- diff -