Lines Matching refs:txbuf
1200 struct irdma_puda_buf *txbuf, in irdma_ieq_copy_to_txbuf() argument
1204 void *mem2 = (u8 *)txbuf->mem.va + txbuf_offset; in irdma_ieq_copy_to_txbuf()
1215 struct irdma_puda_buf *txbuf) in irdma_ieq_setup_tx_buf() argument
1217 txbuf->tcphlen = buf->tcphlen; in irdma_ieq_setup_tx_buf()
1218 txbuf->ipv4 = buf->ipv4; in irdma_ieq_setup_tx_buf()
1221 txbuf->hdrlen = txbuf->tcphlen; in irdma_ieq_setup_tx_buf()
1222 irdma_ieq_copy_to_txbuf(buf, txbuf, IRDMA_TCP_OFFSET, 0, in irdma_ieq_setup_tx_buf()
1223 txbuf->hdrlen); in irdma_ieq_setup_tx_buf()
1225 txbuf->maclen = buf->maclen; in irdma_ieq_setup_tx_buf()
1226 txbuf->hdrlen = buf->hdrlen; in irdma_ieq_setup_tx_buf()
1227 irdma_ieq_copy_to_txbuf(buf, txbuf, 0, 0, buf->hdrlen); in irdma_ieq_setup_tx_buf()
1261 struct irdma_puda_buf *txbuf, u16 fpdu_len) in irdma_ieq_compl_pfpdu() argument
1272 irdma_ieq_setup_tx_buf(buf, txbuf); in irdma_ieq_compl_pfpdu()
1274 txoffset = txbuf->hdrlen; in irdma_ieq_compl_pfpdu()
1275 txbuf->totallen = txbuf->hdrlen + fpdu_len; in irdma_ieq_compl_pfpdu()
1276 txbuf->data = (u8 *)txbuf->mem.va + txoffset; in irdma_ieq_compl_pfpdu()
1279 txbuf->totallen = buf->hdrlen + fpdu_len; in irdma_ieq_compl_pfpdu()
1280 txbuf->data = (u8 *)txbuf->mem.va + buf->hdrlen; in irdma_ieq_compl_pfpdu()
1287 irdma_ieq_copy_to_txbuf(buf, txbuf, bufoffset, txoffset, in irdma_ieq_compl_pfpdu()
1295 irdma_ieq_copy_to_txbuf(buf, txbuf, bufoffset, txoffset, in irdma_ieq_compl_pfpdu()
1374 struct irdma_puda_buf *txbuf = NULL; in irdma_ieq_handle_partial() local
1386 txbuf = irdma_puda_get_bufpool(ieq); in irdma_ieq_handle_partial()
1387 if (!txbuf) { in irdma_ieq_handle_partial()
1393 irdma_ieq_compl_pfpdu(ieq, rxlist, &pbufl, txbuf, fpdu_len); in irdma_ieq_handle_partial()
1394 irdma_ieq_update_tcpip_info(txbuf, fpdu_len, seqnum); in irdma_ieq_handle_partial()
1396 crcptr = txbuf->data + fpdu_len - 4; in irdma_ieq_handle_partial()
1399 status = irdma_ieq_check_mpacrc(ieq->hash_desc, txbuf->data, in irdma_ieq_handle_partial()
1408 txbuf->mem.va, txbuf->totallen, false); in irdma_ieq_handle_partial()
1410 txbuf->ah_id = pfpdu->ah->ah_info.ah_idx; in irdma_ieq_handle_partial()
1411 txbuf->do_lpb = true; in irdma_ieq_handle_partial()
1412 irdma_puda_send_buf(ieq, txbuf); in irdma_ieq_handle_partial()
1421 if (txbuf) in irdma_ieq_handle_partial()
1422 irdma_puda_ret_bufpool(ieq, txbuf); in irdma_ieq_handle_partial()
1447 struct irdma_puda_buf *txbuf; in irdma_ieq_process_buf() local
1485 txbuf = irdma_puda_get_bufpool(ieq); in irdma_ieq_process_buf()
1486 if (!txbuf) { in irdma_ieq_process_buf()
1492 irdma_ieq_setup_tx_buf(buf, txbuf); in irdma_ieq_process_buf()
1495 irdma_ieq_copy_to_txbuf(buf, txbuf, ioffset, in irdma_ieq_process_buf()
1496 txbuf->hdrlen, len); in irdma_ieq_process_buf()
1497 txbuf->totallen = txbuf->hdrlen + len; in irdma_ieq_process_buf()
1498 txbuf->ah_id = pfpdu->ah->ah_info.ah_idx; in irdma_ieq_process_buf()
1500 irdma_ieq_copy_to_txbuf(buf, txbuf, ioffset, in irdma_ieq_process_buf()
1502 txbuf->totallen = buf->hdrlen + len; in irdma_ieq_process_buf()
1504 irdma_ieq_update_tcpip_info(txbuf, len, buf->seqnum); in irdma_ieq_process_buf()
1506 16, 8, txbuf->mem.va, txbuf->totallen, in irdma_ieq_process_buf()
1508 txbuf->do_lpb = true; in irdma_ieq_process_buf()
1509 irdma_puda_send_buf(ieq, txbuf); in irdma_ieq_process_buf()