Lines Matching refs:ictx

1699 	struct iscsi_context *ictx;  in cnic_setup_bnx2x_ctx()  local
1710 ictx = cnic_get_bnx2x_ctx(dev, cid, 1, &context_addr); in cnic_setup_bnx2x_ctx()
1711 if (ictx == NULL) in cnic_setup_bnx2x_ctx()
1716 ictx->xstorm_ag_context.hq_prod = 1; in cnic_setup_bnx2x_ctx()
1718 ictx->xstorm_st_context.iscsi.first_burst_length = in cnic_setup_bnx2x_ctx()
1720 ictx->xstorm_st_context.iscsi.max_send_pdu_length = in cnic_setup_bnx2x_ctx()
1722 ictx->xstorm_st_context.iscsi.sq_pbl_base.lo = in cnic_setup_bnx2x_ctx()
1724 ictx->xstorm_st_context.iscsi.sq_pbl_base.hi = in cnic_setup_bnx2x_ctx()
1726 ictx->xstorm_st_context.iscsi.sq_curr_pbe.lo = req2->sq_first_pte.hi; in cnic_setup_bnx2x_ctx()
1727 ictx->xstorm_st_context.iscsi.sq_curr_pbe.hi = req2->sq_first_pte.lo; in cnic_setup_bnx2x_ctx()
1728 ictx->xstorm_st_context.iscsi.hq_pbl_base.lo = in cnic_setup_bnx2x_ctx()
1730 ictx->xstorm_st_context.iscsi.hq_pbl_base.hi = in cnic_setup_bnx2x_ctx()
1732 ictx->xstorm_st_context.iscsi.hq_curr_pbe_base.lo = in cnic_setup_bnx2x_ctx()
1734 ictx->xstorm_st_context.iscsi.hq_curr_pbe_base.hi = in cnic_setup_bnx2x_ctx()
1736 ictx->xstorm_st_context.iscsi.r2tq_pbl_base.lo = in cnic_setup_bnx2x_ctx()
1738 ictx->xstorm_st_context.iscsi.r2tq_pbl_base.hi = in cnic_setup_bnx2x_ctx()
1740 ictx->xstorm_st_context.iscsi.r2tq_curr_pbe_base.lo = in cnic_setup_bnx2x_ctx()
1742 ictx->xstorm_st_context.iscsi.r2tq_curr_pbe_base.hi = in cnic_setup_bnx2x_ctx()
1744 ictx->xstorm_st_context.iscsi.task_pbl_base.lo = in cnic_setup_bnx2x_ctx()
1746 ictx->xstorm_st_context.iscsi.task_pbl_base.hi = in cnic_setup_bnx2x_ctx()
1748 ictx->xstorm_st_context.iscsi.task_pbl_cache_idx = in cnic_setup_bnx2x_ctx()
1750 ictx->xstorm_st_context.iscsi.flags.flags |= in cnic_setup_bnx2x_ctx()
1752 ictx->xstorm_st_context.iscsi.flags.flags |= in cnic_setup_bnx2x_ctx()
1754 ictx->xstorm_st_context.common.ethernet.reserved_vlan_type = in cnic_setup_bnx2x_ctx()
1761 ictx->xstorm_st_context.common.flags = in cnic_setup_bnx2x_ctx()
1763 ictx->xstorm_st_context.common.flags = in cnic_setup_bnx2x_ctx()
1766 ictx->tstorm_st_context.iscsi.hdr_bytes_2_fetch = ISCSI_HEADER_SIZE; in cnic_setup_bnx2x_ctx()
1768 ictx->tstorm_st_context.iscsi.rq_db_phy_addr.lo = in cnic_setup_bnx2x_ctx()
1770 ictx->tstorm_st_context.iscsi.rq_db_phy_addr.hi = in cnic_setup_bnx2x_ctx()
1772 ictx->tstorm_st_context.iscsi.iscsi_conn_id = req1->iscsi_conn_id; in cnic_setup_bnx2x_ctx()
1773 ictx->tstorm_st_context.tcp.cwnd = 0x5A8; in cnic_setup_bnx2x_ctx()
1774 ictx->tstorm_st_context.tcp.flags2 |= in cnic_setup_bnx2x_ctx()
1776 ictx->tstorm_st_context.tcp.ooo_support_mode = in cnic_setup_bnx2x_ctx()
1779 ictx->timers_context.flags |= TIMERS_BLOCK_CONTEXT_CONN_VALID_FLG; in cnic_setup_bnx2x_ctx()
1781 ictx->ustorm_st_context.ring.rq.pbl_base.lo = in cnic_setup_bnx2x_ctx()
1783 ictx->ustorm_st_context.ring.rq.pbl_base.hi = in cnic_setup_bnx2x_ctx()
1785 ictx->ustorm_st_context.ring.rq.curr_pbe.lo = req3->qp_first_pte[0].hi; in cnic_setup_bnx2x_ctx()
1786 ictx->ustorm_st_context.ring.rq.curr_pbe.hi = req3->qp_first_pte[0].lo; in cnic_setup_bnx2x_ctx()
1787 ictx->ustorm_st_context.ring.r2tq.pbl_base.lo = in cnic_setup_bnx2x_ctx()
1789 ictx->ustorm_st_context.ring.r2tq.pbl_base.hi = in cnic_setup_bnx2x_ctx()
1791 ictx->ustorm_st_context.ring.r2tq.curr_pbe.lo = in cnic_setup_bnx2x_ctx()
1793 ictx->ustorm_st_context.ring.r2tq.curr_pbe.hi = in cnic_setup_bnx2x_ctx()
1795 ictx->ustorm_st_context.ring.cq_pbl_base.lo = in cnic_setup_bnx2x_ctx()
1797 ictx->ustorm_st_context.ring.cq_pbl_base.hi = in cnic_setup_bnx2x_ctx()
1799 ictx->ustorm_st_context.ring.cq[0].cq_sn = ISCSI_INITIAL_SN; in cnic_setup_bnx2x_ctx()
1800 ictx->ustorm_st_context.ring.cq[0].curr_pbe.lo = req2->cq_first_pte.hi; in cnic_setup_bnx2x_ctx()
1801 ictx->ustorm_st_context.ring.cq[0].curr_pbe.hi = req2->cq_first_pte.lo; in cnic_setup_bnx2x_ctx()
1802 ictx->ustorm_st_context.task_pbe_cache_index = in cnic_setup_bnx2x_ctx()
1804 ictx->ustorm_st_context.task_pdu_cache_index = in cnic_setup_bnx2x_ctx()
1814 ictx->ustorm_st_context.ring.cq[i].cq_sn = ISCSI_INITIAL_SN; in cnic_setup_bnx2x_ctx()
1815 ictx->ustorm_st_context.ring.cq[i].curr_pbe.lo = in cnic_setup_bnx2x_ctx()
1817 ictx->ustorm_st_context.ring.cq[i].curr_pbe.hi = in cnic_setup_bnx2x_ctx()
1821 ictx->ustorm_st_context.task_pbl_base.lo = in cnic_setup_bnx2x_ctx()
1823 ictx->ustorm_st_context.task_pbl_base.hi = in cnic_setup_bnx2x_ctx()
1825 ictx->ustorm_st_context.tce_phy_addr.lo = in cnic_setup_bnx2x_ctx()
1827 ictx->ustorm_st_context.tce_phy_addr.hi = in cnic_setup_bnx2x_ctx()
1829 ictx->ustorm_st_context.iscsi_conn_id = req1->iscsi_conn_id; in cnic_setup_bnx2x_ctx()
1830 ictx->ustorm_st_context.num_cqs = cp->num_cqs; in cnic_setup_bnx2x_ctx()
1831 ictx->ustorm_st_context.negotiated_rx |= ISCSI_DEF_MAX_RECV_SEG_LEN; in cnic_setup_bnx2x_ctx()
1832 ictx->ustorm_st_context.negotiated_rx_and_flags |= in cnic_setup_bnx2x_ctx()
1834 ictx->ustorm_st_context.negotiated_rx |= in cnic_setup_bnx2x_ctx()
1838 ictx->cstorm_st_context.hq_pbl_base.lo = in cnic_setup_bnx2x_ctx()
1840 ictx->cstorm_st_context.hq_pbl_base.hi = in cnic_setup_bnx2x_ctx()
1842 ictx->cstorm_st_context.hq_curr_pbe.lo = iscsi->hq_info.pgtbl[0]; in cnic_setup_bnx2x_ctx()
1843 ictx->cstorm_st_context.hq_curr_pbe.hi = iscsi->hq_info.pgtbl[1]; in cnic_setup_bnx2x_ctx()
1844 ictx->cstorm_st_context.task_pbl_base.lo = in cnic_setup_bnx2x_ctx()
1846 ictx->cstorm_st_context.task_pbl_base.hi = in cnic_setup_bnx2x_ctx()
1850 ictx->cstorm_st_context.cq_db_base.lo = in cnic_setup_bnx2x_ctx()
1852 ictx->cstorm_st_context.cq_db_base.hi = req1->cq_page_table_addr_hi; in cnic_setup_bnx2x_ctx()
1853 ictx->cstorm_st_context.iscsi_conn_id = req1->iscsi_conn_id; in cnic_setup_bnx2x_ctx()
1854 ictx->cstorm_st_context.cq_proc_en_bit_map = (1 << cp->num_cqs) - 1; in cnic_setup_bnx2x_ctx()
1856 ictx->cstorm_st_context.cq_c_prod_sqn_arr.sqn[i] = in cnic_setup_bnx2x_ctx()
1858 ictx->cstorm_st_context.cq_c_sqn_2_notify_arr.sqn[i] = in cnic_setup_bnx2x_ctx()
1862 ictx->xstorm_ag_context.cdu_reserved = in cnic_setup_bnx2x_ctx()
1865 ictx->ustorm_ag_context.cdu_usage = in cnic_setup_bnx2x_ctx()