Lines Matching defs:fpdu_len
1160 u16 fpdu_len;
1173 fpdu_len = ntohs(*(__be16 *)datap);
1174 fpdu_len += IRDMA_IEQ_MPA_FRAMING;
1175 fpdu_len = (fpdu_len + 3) & 0xfffc;
1177 if (fpdu_len > pfpdu->max_fpdu_data)
1180 total_len += fpdu_len;
1256 * @fpdu_len: total length of fpdu
1261 struct irdma_puda_buf *txbuf, u16 fpdu_len)
1271 nextseqnum = buf->seqnum + fpdu_len;
1275 txbuf->totallen = txbuf->hdrlen + fpdu_len;
1279 txbuf->totallen = buf->hdrlen + fpdu_len;
1285 if (buf->datalen >= fpdu_len) {
1288 fpdu_len);
1289 buf->datalen -= fpdu_len;
1290 buf->data += fpdu_len;
1298 fpdu_len -= buf->datalen;
1320 * @fpdu_len: total length of fpdu
1325 struct irdma_puda_buf *buf, u16 fpdu_len)
1330 u16 plen = fpdu_len - buf->datalen;
1363 * @fpdu_len: fpdu len in the buffer
1367 struct irdma_puda_buf *buf, u16 fpdu_len)
1382 status = irdma_ieq_create_pbufl(pfpdu, rxlist, &pbufl, buf, fpdu_len);
1393 irdma_ieq_compl_pfpdu(ieq, rxlist, &pbufl, txbuf, fpdu_len);
1394 irdma_ieq_update_tcpip_info(txbuf, fpdu_len, seqnum);
1396 crcptr = txbuf->data + fpdu_len - 4;
1400 (fpdu_len - 4), mpacrc);
1413 pfpdu->rcv_nxt = seqnum + fpdu_len;
1437 u16 fpdu_len = 0;
1453 fpdu_len = irdma_ieq_get_fpdu_len(pfpdu, datap, buf->seqnum);
1454 if (!fpdu_len) {
1461 if (datalen < fpdu_len) {
1465 crcptr = datap + fpdu_len - 4;
1469 fpdu_len - 4, mpacrc);
1479 datap += fpdu_len;
1480 len += fpdu_len;
1481 datalen -= fpdu_len;
1522 return irdma_ieq_handle_partial(ieq, pfpdu, buf, fpdu_len);