Home
last modified time | relevance | path

Searched refs:ctx_blk_size (Results 1 – 4 of 4) sorted by relevance

/drivers/net/ethernet/broadcom/
Dcnic_if.h217 int ctx_blk_size; member
Dcnic.c832 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()
1192 int ctx_blk_size = cp->ethdev->ctx_blk_size; in cnic_alloc_bnx2x_context() local
1196 blks = total_mem / ctx_blk_size; in cnic_alloc_bnx2x_context()
1197 if (total_mem % ctx_blk_size) in cnic_alloc_bnx2x_context()
1208 cp->ctx_blk_size = ctx_blk_size; in cnic_alloc_bnx2x_context()
1212 cp->ctx_align = ctx_blk_size; in cnic_alloc_bnx2x_context()
1214 cp->cids_per_blk = ctx_blk_size / BNX2X_CONTEXT_MEM_SIZE; in cnic_alloc_bnx2x_context()
1218 dma_alloc_coherent(&dev->pcidev->dev, cp->ctx_blk_size, in cnic_alloc_bnx2x_context()
1224 if (cp->ctx_align && cp->ctx_blk_size == ctx_blk_size) { in cnic_alloc_bnx2x_context()
[all …]
Dcnic.h303 int ctx_blk_size; member
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c15033 cp->ctx_blk_size = CDU_ILT_PAGE_SZ; in bnx2x_cnic_probe()
15059 cp->ctx_blk_size, in bnx2x_cnic_probe()