Home
last modified time | relevance | path

Searched refs:fp_array_size (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.1/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.c4702 for (i = 0; i < bp->fp_array_size; i++) in bnx2x_free_mem_bp()
4718 int fp_array_size, txq_array_size; in bnx2x_alloc_mem_bp() local
4731 fp_array_size = BNX2X_MAX_RSS_COUNT(bp) + CNIC_SUPPORT(bp); in bnx2x_alloc_mem_bp()
4732 bp->fp_array_size = fp_array_size; in bnx2x_alloc_mem_bp()
4733 BNX2X_DEV_INFO("fp_array_size %d\n", bp->fp_array_size); in bnx2x_alloc_mem_bp()
4735 fp = kcalloc(bp->fp_array_size, sizeof(*fp), GFP_KERNEL); in bnx2x_alloc_mem_bp()
4738 for (i = 0; i < bp->fp_array_size; i++) { in bnx2x_alloc_mem_bp()
4749 bp->sp_objs = kcalloc(bp->fp_array_size, sizeof(struct bnx2x_sp_objs), in bnx2x_alloc_mem_bp()
4755 bp->fp_stats = kcalloc(bp->fp_array_size, sizeof(struct bnx2x_fp_stats), in bnx2x_alloc_mem_bp()
Dbnx2x.h1827 int fp_array_size; member