[ofw] [DAPL] fully support private data in dat_cr_accept()
Stan C. Smith
stan.smith at intel.com
Mon Jul 21 16:25:11 PDT 2008
Fully support private data in dat_cr_accept() by actually using the private_data_size arg.
Committed as svn.1428
Signed-off-by: Stan Smith (stan.smith at intel.com)
diff C3 C:/Documents and Settings/scsmith/Local Settings/Temp/dapl_cr_accept.c-revBASE.svn000.tmp.c C:/Documents and
Settings/scsmith/My Documents/openIB-windows/SVN/gen1/trunk/ulp/dapl/dapl/common/dapl_cr_accept.c
*** C:/Documents and Settings/scsmith/Local Settings/Temp/dapl_cr_accept.c-revBASE.svn000.tmp.c Mon Jul 21 16:11:10 2008
--- C:/Documents and Settings/scsmith/My Documents/openIB-windows/SVN/gen1/trunk/ulp/dapl/dapl/common/dapl_cr_accept.c
Mon Jul 21 16:00:31 2008
***************
*** 244,249 ****
--- 244,250 ----
dat_status = dapls_ib_accept_connection ( cr_handle,
ep_handle,
+ private_data_size,
&prd );
/*
diff C3 C:/Documents and Settings/scsmith/Local Settings/Temp/dapl_adapter_util.h-revBASE.svn000.tmp.h C:/Documents and
Settings/scsmith/My Documents/openIB-windows/SVN/gen1/trunk/ulp/dapl/dapl/common/dapl_adapter_util.h
*** C:/Documents and Settings/scsmith/Local Settings/Temp/dapl_adapter_util.h-revBASE.svn000.tmp.h Mon Jul 21
16:11:55 2008
--- C:/Documents and Settings/scsmith/My
Documents/openIB-windows/SVN/gen1/trunk/ulp/dapl/dapl/common/dapl_adapter_util.h Mon Jul 21 15:58:36 2008
***************
*** 95,100 ****
--- 95,101 ----
DAT_RETURN dapls_ib_accept_connection (
IN DAT_CR_HANDLE cr_handle,
IN DAT_EP_HANDLE ep_handle,
+ IN DAT_COUNT private_data_size,
IN DAPL_PRIVATE *prd_ptr );
DAT_RETURN dapls_ib_reject_connection (
diff C3 C:/Documents and Settings/scsmith/Local Settings/Temp/dapl_ibal_cm.c-revBASE.svn000.tmp.c C:/Documents and
Settings/scsmith/My Documents/openIB-windows/SVN/gen1/trunk/ulp/dapl/dapl/ibal/dapl_ibal_cm.c
*** C:/Documents and Settings/scsmith/Local Settings/Temp/dapl_ibal_cm.c-revBASE.svn000.tmp.c Mon Jul 21 16:12:52 2008
--- C:/Documents and Settings/scsmith/My Documents/openIB-windows/SVN/gen1/trunk/ulp/dapl/dapl/ibal/dapl_ibal_cm.c
Mon Jul 21 16:03:26 2008
***************
*** 1640,1645 ****
--- 1640,1646 ----
dapls_ib_accept_connection (
IN DAT_CR_HANDLE cr_handle,
IN DAT_EP_HANDLE ep_handle,
+ IN DAT_COUNT private_data_size,
IN DAPL_PRIVATE *prd_ptr )
{
DAPL_CR *cr_ptr;
***************
*** 1692,1699 ****
cm_rep.h_qp = ep_ptr->qp_handle;
cm_rep.qp_type = IB_QPT_RELIABLE_CONN;
! cm_rep.p_rep_pdata = (uint8_t *) prd_ptr;
! cm_rep.rep_length = IB_MAX_REP_PDATA_SIZE;
dapl_dbg_log ( DAPL_DBG_TYPE_CM,
"--> DsAC: CR = %p EP = %p QP = %p cm_handle = %p\n",
--- 1693,1700 ----
cm_rep.h_qp = ep_ptr->qp_handle;
cm_rep.qp_type = IB_QPT_RELIABLE_CONN;
! cm_rep.p_rep_pdata = (uint8_t *) prd_ptr->private_data;
! cm_rep.rep_length = (uint8_t) private_data_size;
dapl_dbg_log ( DAPL_DBG_TYPE_CM,
"--> DsAC: CR = %p EP = %p QP = %p cm_handle = %p\n",
More information about the ofw
mailing list