Lines Matching refs:sqbuf

345 		i40iw_free_sqbuf(&iwdev->vsi, (void *)send_entry->sqbuf);
378 struct i40iw_puda_buf *sqbuf;
393 sqbuf = i40iw_puda_get_bufpool(vsi->ilq);
394 if (!sqbuf)
396 buf = sqbuf->mem.va;
418 sqbuf->totallen = packetsize + eth_hlen;
419 sqbuf->maclen = eth_hlen;
420 sqbuf->tcphlen = sizeof(*tcph) + opts_len;
421 sqbuf->scratch = (void *)cm_node;
427 sqbuf->ipv4 = true;
458 sqbuf->ipv4 = false;
517 sqbuf->tcphlen = tcph->doff << 2;
534 atomic_set(&sqbuf->refcount, 1);
536 return sqbuf;
545 struct i40iw_puda_buf *sqbuf;
548 sqbuf = i40iw_form_cm_frame(cm_node, NULL, NULL, NULL, flags);
549 if (!sqbuf) {
550 i40iw_pr_err("no sqbuf\n");
554 return i40iw_schedule_cm_timer(cm_node, sqbuf, I40IW_TIMER_TYPE_SEND, 0, 1);
843 struct i40iw_puda_buf *sqbuf;
859 sqbuf = i40iw_form_cm_frame(cm_node,
864 if (!sqbuf) {
868 return i40iw_schedule_cm_timer(cm_node, sqbuf, I40IW_TIMER_TYPE_SEND, 1, 0);
881 struct i40iw_puda_buf *sqbuf;
893 sqbuf = i40iw_form_cm_frame(cm_node,
898 if (!sqbuf) {
899 i40iw_pr_err("no sqbuf\n");
903 return i40iw_schedule_cm_timer(cm_node, sqbuf, I40IW_TIMER_TYPE_SEND, 1, 0);
1044 * @sqbuf: buffer to send
1055 struct i40iw_puda_buf *sqbuf,
1070 i40iw_free_sqbuf(vsi, (void *)sqbuf);
1075 new_send->sqbuf = sqbuf;
1098 atomic_inc(&sqbuf->refcount);
1099 i40iw_puda_send_buf(vsi->ilq, sqbuf);
1163 iwqp = (struct i40iw_qp *)close_entry->sqbuf;
1288 atomic_inc(&send_entry->sqbuf->refcount);
1289 i40iw_puda_send_buf(vsi->ilq, send_entry->sqbuf);
1340 struct i40iw_puda_buf *sqbuf;
1377 sqbuf = i40iw_form_cm_frame(cm_node, &opts, NULL, NULL, flags);
1378 if (!sqbuf) {
1379 i40iw_pr_err("no sqbuf\n");
1382 return i40iw_schedule_cm_timer(cm_node, sqbuf, I40IW_TIMER_TYPE_SEND, 1, 0);
1391 struct i40iw_puda_buf *sqbuf;
1394 sqbuf = i40iw_form_cm_frame(cm_node, NULL, NULL, NULL, SET_ACK);
1395 if (sqbuf)
1396 i40iw_puda_send_buf(vsi->ilq, sqbuf);
1398 i40iw_pr_err("no sqbuf\n");
1407 struct i40iw_puda_buf *sqbuf;
1409 sqbuf = i40iw_form_cm_frame(cm_node, NULL, NULL, NULL, SET_ACK | SET_FIN);
1410 if (!sqbuf) {
1411 i40iw_pr_err("no sqbuf\n");
1414 return i40iw_schedule_cm_timer(cm_node, sqbuf, I40IW_TIMER_TYPE_SEND, 1, 0);