Searched refs:ctx_blk_size (Results 1 – 4 of 4) sorted by relevance
217 int ctx_blk_size; member
832 dma_free_coherent(&dev->pcidev->dev, cp->ctx_blk_size, in cnic_free_context()915 cp->ctx_blk_size = CNIC_PAGE_SIZE; in cnic_alloc_context()1194 int ctx_blk_size = cp->ethdev->ctx_blk_size; in cnic_alloc_bnx2x_context() local1198 blks = total_mem / ctx_blk_size; in cnic_alloc_bnx2x_context()1199 if (total_mem % ctx_blk_size) in cnic_alloc_bnx2x_context()1210 cp->ctx_blk_size = ctx_blk_size; in cnic_alloc_bnx2x_context()1214 cp->ctx_align = ctx_blk_size; in cnic_alloc_bnx2x_context()1216 cp->cids_per_blk = ctx_blk_size / BNX2X_CONTEXT_MEM_SIZE; in cnic_alloc_bnx2x_context()1220 dma_alloc_coherent(&dev->pcidev->dev, cp->ctx_blk_size, in cnic_alloc_bnx2x_context()1226 if (cp->ctx_align && cp->ctx_blk_size == ctx_blk_size) { in cnic_alloc_bnx2x_context()[all …]
303 int ctx_blk_size; member
15045 cp->ctx_blk_size = CDU_ILT_PAGE_SZ; in bnx2x_cnic_probe()15071 cp->ctx_blk_size, in bnx2x_cnic_probe()