Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/broadcom/
Dcnic_if.h217 int ctx_blk_size; member
Dcnic.h303 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()
1194 int ctx_blk_size = cp->ethdev->ctx_blk_size; in cnic_alloc_bnx2x_context() local
1198 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 …]
/linux-6.1.9/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c15040 cp->ctx_blk_size = CDU_ILT_PAGE_SZ; in bnx2x_cnic_probe()
15066 cp->ctx_blk_size, in bnx2x_cnic_probe()