Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_cmn.c4717 for (i = 0; i < bp->fp_array_size; i++) in bnx2x_free_mem_bp()
4733 int fp_array_size, txq_array_size; in bnx2x_alloc_mem_bp() local
4746 fp_array_size = BNX2X_MAX_RSS_COUNT(bp) + CNIC_SUPPORT(bp); in bnx2x_alloc_mem_bp()
4747 bp->fp_array_size = fp_array_size; in bnx2x_alloc_mem_bp()
4748 BNX2X_DEV_INFO("fp_array_size %d\n", bp->fp_array_size); in bnx2x_alloc_mem_bp()
4750 fp = kcalloc(bp->fp_array_size, sizeof(*fp), GFP_KERNEL); in bnx2x_alloc_mem_bp()
4753 for (i = 0; i < bp->fp_array_size; i++) { in bnx2x_alloc_mem_bp()
4764 bp->sp_objs = kcalloc(bp->fp_array_size, sizeof(struct bnx2x_sp_objs), in bnx2x_alloc_mem_bp()
4770 bp->fp_stats = kcalloc(bp->fp_array_size, sizeof(struct bnx2x_fp_stats), in bnx2x_alloc_mem_bp()
H A Dbnx2x.h1828 int fp_array_size; member