Lines Matching defs:p_send_ctx
92 uint32_t osmv_rmpp_send_ctx_get_num_segs(IN osmv_rmpp_send_ctx_t * p_send_ctx)
96 CL_ASSERT(p_send_ctx);
98 if (p_send_ctx->is_sa_mad) {
99 data_len = p_send_ctx->mad_sz - IB_SA_MAD_HDR_SIZE;
102 data_len = p_send_ctx->mad_sz - MAD_RMPP_HDR_SIZE;
115 osmv_rmpp_send_ctx_get_seg(IN osmv_rmpp_send_ctx_t * p_send_ctx,
123 OSM_LOG_ENTER(p_send_ctx->p_log);
124 CL_ASSERT(p_send_ctx);
126 st = osmv_rmpp_sar_get_mad_seg(&p_send_ctx->sar, seg_idx, p_buf);
137 num_segs = osmv_rmpp_send_ctx_get_num_segs(p_send_ctx);
145 if (p_send_ctx->is_sa_mad) {
147 paylen = p_send_ctx->mad_sz - IB_SA_MAD_HDR_SIZE;
152 paylen = p_send_ctx->mad_sz - MAD_RMPP_HDR_SIZE;
163 if (p_send_ctx->is_sa_mad) {
164 paylen = p_send_ctx->mad_sz - IB_SA_MAD_HDR_SIZE;
168 paylen = p_send_ctx->mad_sz - MAD_RMPP_HDR_SIZE;
181 OSM_LOG_EXIT(p_send_ctx->p_log);