Lines Matching full:icc

293 parse_pdu(struct socket *so, struct toepcb *toep, struct icl_cxgbei_conn *icc,  in parse_pdu()  argument
310 if (icc->ic.ic_header_crc32c) in parse_pdu()
337 if (icc->ic.ic_data_crc32c && data_len != 0) in parse_pdu()
351 if (icc->ic.ic_header_crc32c) { in parse_pdu()
368 if (icc->ic.ic_data_crc32c) in parse_pdu()
378 if (icc->ic.ic_data_crc32c) { in parse_pdu()
398 icl_cxgbei_new_pdu_set_conn(ip, &icc->ic); in parse_pdu()
406 parse_pdus(struct icl_cxgbei_conn *icc, struct sockbuf *sb) in parse_pdus() argument
408 struct icl_conn *ic = &icc->ic; in parse_pdus()
410 struct toepcb *toep = icc->toep; in parse_pdus()
424 ip = parse_pdu(so, toep, icc, sb, total_len); in parse_pdus()
433 STAILQ_INSERT_HEAD(&icc->rcvd_pdus, ip, ip_next); in parse_pdus()
435 STAILQ_INSERT_AFTER(&icc->rcvd_pdus, lastip, ip, in parse_pdus()
454 struct icl_cxgbei_conn *icc; in do_rx_iscsi_ddp() local
530 icc = toep->ulpcb; in do_rx_iscsi_ddp()
531 if (__predict_false(icc == NULL || sb->sb_state & SBS_CANTRCVMORE)) { in do_rx_iscsi_ddp()
533 "%s: tid %u, excess rx (%d bytes), icc %p, sb_state 0x%x", in do_rx_iscsi_ddp()
534 __func__, tid, pdu_len, icc, sb->sb_state); in do_rx_iscsi_ddp()
551 MPASS(icc->icc_signature == CXGBEI_CONN_SIGNATURE); in do_rx_iscsi_ddp()
552 ic = &icc->ic; in do_rx_iscsi_ddp()
566 STAILQ_INSERT_TAIL(&icc->rcvd_pdus, ip, ip_next); in do_rx_iscsi_ddp()
567 if (!icc->rx_active) { in do_rx_iscsi_ddp()
568 icc->rx_active = true; in do_rx_iscsi_ddp()
569 wakeup(&icc->rx_active); in do_rx_iscsi_ddp()
598 struct icl_cxgbei_conn *icc; in do_rx_iscsi_cmp() local
669 * If icc is NULL, the connection is being closed in in do_rx_iscsi_cmp()
672 icc = toep->ulpcb; in do_rx_iscsi_cmp()
673 if (__predict_false(icc == NULL)) { in do_rx_iscsi_cmp()
674 CTR4(KTR_CXGBE, "%s: tid %u, excess rx (%d bytes), icc %p", in do_rx_iscsi_cmp()
675 __func__, tid, pdu_len, icc); in do_rx_iscsi_cmp()
691 MPASS(icc->icc_signature == CXGBEI_CONN_SIGNATURE); in do_rx_iscsi_cmp()
692 ic = &icc->ic; in do_rx_iscsi_cmp()
705 data_digest_len = (icc->ulp_submode & ULP_CRC_DATA) ? in do_rx_iscsi_cmp()
718 cmp = cxgbei_find_cmp(icc, in do_rx_iscsi_cmp()
722 cmp = cxgbei_find_cmp(icc, in do_rx_iscsi_cmp()
786 "%s: tid %u, excess rx (%d bytes), icc %p, sb_state 0x%x", in do_rx_iscsi_cmp()
787 __func__, tid, pdu_len, icc, sb->sb_state); in do_rx_iscsi_cmp()
809 STAILQ_INSERT_TAIL(&icc->rcvd_pdus, ip, ip_next); in do_rx_iscsi_cmp()
810 if (!icc->rx_active) { in do_rx_iscsi_cmp()
811 icc->rx_active = true; in do_rx_iscsi_cmp()
812 wakeup(&icc->rx_active); in do_rx_iscsi_cmp()