Lines Matching refs:pfpdu
1130 struct i40iw_pfpdu *pfpdu, in i40iw_ieq_create_pbufl() argument
1151 pfpdu->bad_seq_num++; in i40iw_ieq_create_pbufl()
1175 struct i40iw_pfpdu *pfpdu, in i40iw_ieq_handle_partial() argument
1185 struct list_head *rxlist = &pfpdu->rxlist; in i40iw_ieq_handle_partial()
1190 status = i40iw_ieq_create_pbufl(pfpdu, rxlist, &pbufl, buf, fpdu_len); in i40iw_ieq_handle_partial()
1196 pfpdu->no_tx_bufs++; in i40iw_ieq_handle_partial()
1218 pfpdu->rcv_nxt = seqnum + fpdu_len; in i40iw_ieq_handle_partial()
1238 struct i40iw_pfpdu *pfpdu, in i40iw_ieq_process_buf() argument
1252 struct list_head *rxlist = &pfpdu->rxlist; in i40iw_ieq_process_buf()
1259 if (fpdu_len > pfpdu->max_fpdu_data) { in i40iw_ieq_process_buf()
1282 pfpdu->fpdu_processed++; in i40iw_ieq_process_buf()
1291 pfpdu->no_tx_bufs++; in i40iw_ieq_process_buf()
1307 pfpdu->rcv_nxt = buf->seqnum + length; in i40iw_ieq_process_buf()
1314 pfpdu->rcv_nxt = buf->seqnum; in i40iw_ieq_process_buf()
1317 status = i40iw_ieq_handle_partial(ieq, pfpdu, buf, fpdu_len); in i40iw_ieq_process_buf()
1330 struct i40iw_pfpdu *pfpdu = &qp->pfpdu; in i40iw_ieq_process_fpdus() local
1331 struct list_head *rxlist = &pfpdu->rxlist; in i40iw_ieq_process_fpdus()
1344 if (buf->seqnum != pfpdu->rcv_nxt) { in i40iw_ieq_process_fpdus()
1346 pfpdu->out_of_order++; in i40iw_ieq_process_fpdus()
1351 status = i40iw_ieq_process_buf(ieq, pfpdu, buf); in i40iw_ieq_process_fpdus()
1353 pfpdu->mpa_crc_err = true; in i40iw_ieq_process_fpdus()
1357 pfpdu->crc_err++; in i40iw_ieq_process_fpdus()
1376 struct i40iw_pfpdu *pfpdu = &qp->pfpdu; in i40iw_ieq_handle_exception() local
1381 struct list_head *rxlist = &pfpdu->rxlist; in i40iw_ieq_handle_exception()
1384 pfpdu->total_ieq_bufs++; in i40iw_ieq_handle_exception()
1386 if (pfpdu->mpa_crc_err) { in i40iw_ieq_handle_exception()
1387 pfpdu->crc_err++; in i40iw_ieq_handle_exception()
1390 if (pfpdu->mode && (fps != pfpdu->fps)) { in i40iw_ieq_handle_exception()
1395 pfpdu->mode = false; in i40iw_ieq_handle_exception()
1398 if (!pfpdu->mode) { in i40iw_ieq_handle_exception()
1401 pfpdu->rcv_nxt = fps; in i40iw_ieq_handle_exception()
1402 pfpdu->fps = fps; in i40iw_ieq_handle_exception()
1403 pfpdu->mode = true; in i40iw_ieq_handle_exception()
1404 pfpdu->max_fpdu_data = (buf->ipv4) ? (ieq->vsi->mtu - I40IW_MTU_TO_MSS_IPV4) : in i40iw_ieq_handle_exception()
1406 pfpdu->pmode_count++; in i40iw_ieq_handle_exception()
1411 if (!(rcv_wnd >= (buf->seqnum - pfpdu->rcv_nxt))) { in i40iw_ieq_handle_exception()
1412 pfpdu->bad_seq_num++; in i40iw_ieq_handle_exception()
1484 struct i40iw_pfpdu *pfpdu = &qp->pfpdu; in i40iw_ieq_cleanup_qp() local
1485 struct list_head *rxlist = &pfpdu->rxlist; in i40iw_ieq_cleanup_qp()
1487 if (!pfpdu->mode) in i40iw_ieq_cleanup_qp()