Searched refs:l2_cid_count (Results 1 – 3 of 3) sorted by relevance
1112 int l2_cid_count; member1113 #define L2_ILT_LINES(bp) (DIV_ROUND_UP((bp)->l2_cid_count, \1115 #define BNX2X_DB_SIZE(bp) ((bp)->l2_cid_count * (1 << BNX2X_DB_SHIFT))
2435 fp = kzalloc(L2_FP_COUNT(bp->l2_cid_count)*sizeof(*fp), GFP_KERNEL); in bnx2x_alloc_mem_bp()2441 tbl = kzalloc((FP_SB_COUNT(bp->l2_cid_count) + 1) * sizeof(*tbl), in bnx2x_alloc_mem_bp()
6146 bp->context.size = sizeof(union cdu_context) * bp->l2_cid_count; in bnx2x_alloc_mem()8096 NUM_IGU_SB_REQUIRED(bp->l2_cid_count)); in bnx2x_get_igu_cam_info()8128 NUM_IGU_SB_REQUIRED(bp->l2_cid_count)); in bnx2x_get_igu_cam_info()8650 NUM_IGU_SB_REQUIRED(bp->l2_cid_count)); in bnx2x_get_hwinfo()9708 static inline int bnx2x_set_qm_cid_count(struct bnx2x *bp, int l2_cid_count) in bnx2x_set_qm_cid_count() argument9710 int cid_count = L2_FP_COUNT(l2_cid_count); in bnx2x_set_qm_cid_count()9758 bp->l2_cid_count = cid_count; in bnx2x_init_one()