Home
last modified time | relevance | path

Searched refs:l2_cid_count (Results 1 – 3 of 3) sorted by relevance

/linux-2.6.39/drivers/net/bnx2x/
Dbnx2x.h1112 int l2_cid_count; member
1113 #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))
Dbnx2x_cmn.c2435 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()
Dbnx2x_main.c6146 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() argument
9710 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()