Lines Matching refs:sqbuf
275 irdma_free_sqbuf(&iwdev->vsi, send_entry->sqbuf);
307 struct irdma_puda_buf *sqbuf;
321 sqbuf = irdma_puda_get_bufpool(vsi->ilq);
322 if (!sqbuf) {
327 sqbuf->ah_id = cm_node->ah->ah_info.ah_idx;
328 buf = sqbuf->mem.va;
342 sqbuf->totallen = pktsize;
343 sqbuf->tcphlen = sizeof(*tcph) + opts_len;
344 sqbuf->scratch = cm_node;
377 sqbuf->tcphlen = tcph->doff << 2;
394 refcount_set(&sqbuf->refcount, 1);
397 16, 8, sqbuf->mem.va, sqbuf->totallen, false);
399 return sqbuf;
416 struct irdma_puda_buf *sqbuf;
432 sqbuf = irdma_puda_get_bufpool(vsi->ilq);
433 if (!sqbuf)
436 buf = sqbuf->mem.va;
458 sqbuf->totallen = pktsize + eth_hlen;
459 sqbuf->maclen = eth_hlen;
460 sqbuf->tcphlen = sizeof(*tcph) + opts_len;
461 sqbuf->scratch = cm_node;
467 sqbuf->do_lpb = true;
470 sqbuf->ipv4 = true;
504 sqbuf->ipv4 = false;
565 sqbuf->tcphlen = tcph->doff << 2;
582 refcount_set(&sqbuf->refcount, 1);
585 16, 8, sqbuf->mem.va, sqbuf->totallen, false);
586 return sqbuf;
595 struct irdma_puda_buf *sqbuf;
599 sqbuf = cm_node->cm_core->form_cm_frame(cm_node, NULL, NULL, NULL,
601 if (!sqbuf)
610 return irdma_schedule_cm_timer(cm_node, sqbuf, IRDMA_TIMER_TYPE_SEND, 0,
895 struct irdma_puda_buf *sqbuf;
907 sqbuf = cm_node->cm_core->form_cm_frame(cm_node, NULL,
910 if (!sqbuf)
913 return irdma_schedule_cm_timer(cm_node, sqbuf, IRDMA_TIMER_TYPE_SEND, 1,
926 struct irdma_puda_buf *sqbuf;
938 sqbuf = cm_node->cm_core->form_cm_frame(cm_node, NULL,
941 if (!sqbuf)
946 return irdma_schedule_cm_timer(cm_node, sqbuf, IRDMA_TIMER_TYPE_SEND, 1,
1118 * @sqbuf: buffer to send
1129 struct irdma_puda_buf *sqbuf,
1142 irdma_free_sqbuf(vsi, sqbuf);
1148 new_send->sqbuf = sqbuf;
1171 refcount_inc(&sqbuf->refcount);
1172 irdma_puda_send_buf(vsi->ilq, sqbuf);
1233 iwqp = (struct irdma_qp *)close_entry->sqbuf;
1334 refcount_inc(&send_entry->sqbuf->refcount);
1335 irdma_puda_send_buf(vsi->ilq, send_entry->sqbuf);
1382 struct irdma_puda_buf *sqbuf;
1416 sqbuf = cm_node->cm_core->form_cm_frame(cm_node, &opts, NULL, NULL,
1418 if (!sqbuf)
1421 return irdma_schedule_cm_timer(cm_node, sqbuf, IRDMA_TIMER_TYPE_SEND, 1,
1431 struct irdma_puda_buf *sqbuf;
1434 sqbuf = cm_node->cm_core->form_cm_frame(cm_node, NULL, NULL, NULL,
1436 if (sqbuf)
1437 irdma_puda_send_buf(vsi->ilq, sqbuf);
1446 struct irdma_puda_buf *sqbuf;
1448 sqbuf = cm_node->cm_core->form_cm_frame(cm_node, NULL, NULL, NULL,
1450 if (!sqbuf)
1453 return irdma_schedule_cm_timer(cm_node, sqbuf, IRDMA_TIMER_TYPE_SEND, 1,