Searched refs:cids_per_blk (Results 1 – 2 of 2) sorted by relevance
305 int cids_per_blk; member
916 cp->cids_per_blk = CNIC_PAGE_SIZE / 128; in cnic_alloc_context()917 arr_size = BNX2_MAX_CID / cp->cids_per_blk * in cnic_alloc_context()935 for (j = lo; j < hi; j += cp->cids_per_blk, k++) in cnic_alloc_context()940 if (cp->ctx_blks >= (BNX2_MAX_CID / cp->cids_per_blk)) { in cnic_alloc_context()1216 cp->cids_per_blk = ctx_blk_size / BNX2X_CONTEXT_MEM_SIZE; in cnic_alloc_bnx2x_context()1660 int blk = (cid - ethdev->starting_cid) / cp->cids_per_blk; in cnic_get_bnx2x_ctx()1661 int off = (cid - ethdev->starting_cid) % cp->cids_per_blk; in cnic_get_bnx2x_ctx()4391 u32 idx = cp->ctx_arr[i].cid / cp->cids_per_blk; in cnic_setup_5709_context()