Lines Matching refs:ictx

1576 	struct iscsi_context *ictx;  in cnic_setup_bnx2x_ctx()  local
1586 ictx = cnic_get_bnx2x_ctx(dev, cid, 1, &context_addr); in cnic_setup_bnx2x_ctx()
1587 if (ictx == NULL) in cnic_setup_bnx2x_ctx()
1592 ictx->xstorm_ag_context.hq_prod = 1; in cnic_setup_bnx2x_ctx()
1594 ictx->xstorm_st_context.iscsi.first_burst_length = in cnic_setup_bnx2x_ctx()
1596 ictx->xstorm_st_context.iscsi.max_send_pdu_length = in cnic_setup_bnx2x_ctx()
1598 ictx->xstorm_st_context.iscsi.sq_pbl_base.lo = in cnic_setup_bnx2x_ctx()
1600 ictx->xstorm_st_context.iscsi.sq_pbl_base.hi = in cnic_setup_bnx2x_ctx()
1602 ictx->xstorm_st_context.iscsi.sq_curr_pbe.lo = req2->sq_first_pte.hi; in cnic_setup_bnx2x_ctx()
1603 ictx->xstorm_st_context.iscsi.sq_curr_pbe.hi = req2->sq_first_pte.lo; in cnic_setup_bnx2x_ctx()
1604 ictx->xstorm_st_context.iscsi.hq_pbl_base.lo = in cnic_setup_bnx2x_ctx()
1606 ictx->xstorm_st_context.iscsi.hq_pbl_base.hi = in cnic_setup_bnx2x_ctx()
1608 ictx->xstorm_st_context.iscsi.hq_curr_pbe_base.lo = in cnic_setup_bnx2x_ctx()
1610 ictx->xstorm_st_context.iscsi.hq_curr_pbe_base.hi = in cnic_setup_bnx2x_ctx()
1612 ictx->xstorm_st_context.iscsi.r2tq_pbl_base.lo = in cnic_setup_bnx2x_ctx()
1614 ictx->xstorm_st_context.iscsi.r2tq_pbl_base.hi = in cnic_setup_bnx2x_ctx()
1616 ictx->xstorm_st_context.iscsi.r2tq_curr_pbe_base.lo = in cnic_setup_bnx2x_ctx()
1618 ictx->xstorm_st_context.iscsi.r2tq_curr_pbe_base.hi = in cnic_setup_bnx2x_ctx()
1620 ictx->xstorm_st_context.iscsi.task_pbl_base.lo = in cnic_setup_bnx2x_ctx()
1622 ictx->xstorm_st_context.iscsi.task_pbl_base.hi = in cnic_setup_bnx2x_ctx()
1624 ictx->xstorm_st_context.iscsi.task_pbl_cache_idx = in cnic_setup_bnx2x_ctx()
1626 ictx->xstorm_st_context.iscsi.flags.flags |= in cnic_setup_bnx2x_ctx()
1628 ictx->xstorm_st_context.iscsi.flags.flags |= in cnic_setup_bnx2x_ctx()
1631 ictx->tstorm_st_context.iscsi.hdr_bytes_2_fetch = ISCSI_HEADER_SIZE; in cnic_setup_bnx2x_ctx()
1633 ictx->tstorm_st_context.iscsi.rq_db_phy_addr.lo = in cnic_setup_bnx2x_ctx()
1635 ictx->tstorm_st_context.iscsi.rq_db_phy_addr.hi = in cnic_setup_bnx2x_ctx()
1637 ictx->tstorm_st_context.iscsi.iscsi_conn_id = req1->iscsi_conn_id; in cnic_setup_bnx2x_ctx()
1638 ictx->tstorm_st_context.tcp.cwnd = 0x5A8; in cnic_setup_bnx2x_ctx()
1639 ictx->tstorm_st_context.tcp.flags2 |= in cnic_setup_bnx2x_ctx()
1641 ictx->tstorm_st_context.tcp.ooo_support_mode = in cnic_setup_bnx2x_ctx()
1644 ictx->timers_context.flags |= TIMERS_BLOCK_CONTEXT_CONN_VALID_FLG; in cnic_setup_bnx2x_ctx()
1646 ictx->ustorm_st_context.ring.rq.pbl_base.lo = in cnic_setup_bnx2x_ctx()
1648 ictx->ustorm_st_context.ring.rq.pbl_base.hi = in cnic_setup_bnx2x_ctx()
1650 ictx->ustorm_st_context.ring.rq.curr_pbe.lo = req3->qp_first_pte[0].hi; in cnic_setup_bnx2x_ctx()
1651 ictx->ustorm_st_context.ring.rq.curr_pbe.hi = req3->qp_first_pte[0].lo; in cnic_setup_bnx2x_ctx()
1652 ictx->ustorm_st_context.ring.r2tq.pbl_base.lo = in cnic_setup_bnx2x_ctx()
1654 ictx->ustorm_st_context.ring.r2tq.pbl_base.hi = in cnic_setup_bnx2x_ctx()
1656 ictx->ustorm_st_context.ring.r2tq.curr_pbe.lo = in cnic_setup_bnx2x_ctx()
1658 ictx->ustorm_st_context.ring.r2tq.curr_pbe.hi = in cnic_setup_bnx2x_ctx()
1660 ictx->ustorm_st_context.ring.cq_pbl_base.lo = in cnic_setup_bnx2x_ctx()
1662 ictx->ustorm_st_context.ring.cq_pbl_base.hi = in cnic_setup_bnx2x_ctx()
1664 ictx->ustorm_st_context.ring.cq[0].cq_sn = ISCSI_INITIAL_SN; in cnic_setup_bnx2x_ctx()
1665 ictx->ustorm_st_context.ring.cq[0].curr_pbe.lo = req2->cq_first_pte.hi; in cnic_setup_bnx2x_ctx()
1666 ictx->ustorm_st_context.ring.cq[0].curr_pbe.hi = req2->cq_first_pte.lo; in cnic_setup_bnx2x_ctx()
1667 ictx->ustorm_st_context.task_pbe_cache_index = in cnic_setup_bnx2x_ctx()
1669 ictx->ustorm_st_context.task_pdu_cache_index = in cnic_setup_bnx2x_ctx()
1679 ictx->ustorm_st_context.ring.cq[i].cq_sn = ISCSI_INITIAL_SN; in cnic_setup_bnx2x_ctx()
1680 ictx->ustorm_st_context.ring.cq[i].curr_pbe.lo = in cnic_setup_bnx2x_ctx()
1682 ictx->ustorm_st_context.ring.cq[i].curr_pbe.hi = in cnic_setup_bnx2x_ctx()
1686 ictx->ustorm_st_context.task_pbl_base.lo = in cnic_setup_bnx2x_ctx()
1688 ictx->ustorm_st_context.task_pbl_base.hi = in cnic_setup_bnx2x_ctx()
1690 ictx->ustorm_st_context.tce_phy_addr.lo = in cnic_setup_bnx2x_ctx()
1692 ictx->ustorm_st_context.tce_phy_addr.hi = in cnic_setup_bnx2x_ctx()
1694 ictx->ustorm_st_context.iscsi_conn_id = req1->iscsi_conn_id; in cnic_setup_bnx2x_ctx()
1695 ictx->ustorm_st_context.num_cqs = cp->num_cqs; in cnic_setup_bnx2x_ctx()
1696 ictx->ustorm_st_context.negotiated_rx |= ISCSI_DEF_MAX_RECV_SEG_LEN; in cnic_setup_bnx2x_ctx()
1697 ictx->ustorm_st_context.negotiated_rx_and_flags |= in cnic_setup_bnx2x_ctx()
1699 ictx->ustorm_st_context.negotiated_rx |= in cnic_setup_bnx2x_ctx()
1703 ictx->cstorm_st_context.hq_pbl_base.lo = in cnic_setup_bnx2x_ctx()
1705 ictx->cstorm_st_context.hq_pbl_base.hi = in cnic_setup_bnx2x_ctx()
1707 ictx->cstorm_st_context.hq_curr_pbe.lo = iscsi->hq_info.pgtbl[0]; in cnic_setup_bnx2x_ctx()
1708 ictx->cstorm_st_context.hq_curr_pbe.hi = iscsi->hq_info.pgtbl[1]; in cnic_setup_bnx2x_ctx()
1709 ictx->cstorm_st_context.task_pbl_base.lo = in cnic_setup_bnx2x_ctx()
1711 ictx->cstorm_st_context.task_pbl_base.hi = in cnic_setup_bnx2x_ctx()
1715 ictx->cstorm_st_context.cq_db_base.lo = in cnic_setup_bnx2x_ctx()
1717 ictx->cstorm_st_context.cq_db_base.hi = req1->cq_page_table_addr_hi; in cnic_setup_bnx2x_ctx()
1718 ictx->cstorm_st_context.iscsi_conn_id = req1->iscsi_conn_id; in cnic_setup_bnx2x_ctx()
1719 ictx->cstorm_st_context.cq_proc_en_bit_map = (1 << cp->num_cqs) - 1; in cnic_setup_bnx2x_ctx()
1721 ictx->cstorm_st_context.cq_c_prod_sqn_arr.sqn[i] = in cnic_setup_bnx2x_ctx()
1723 ictx->cstorm_st_context.cq_c_sqn_2_notify_arr.sqn[i] = in cnic_setup_bnx2x_ctx()
1727 ictx->xstorm_ag_context.cdu_reserved = in cnic_setup_bnx2x_ctx()
1730 ictx->ustorm_ag_context.cdu_usage = in cnic_setup_bnx2x_ctx()