Searched refs:num_elements_per_pg (Results 1 - 1 of 1) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/bnx2i/
H A Dbnx2i_hwi.c45 u32 num_elements_per_pg; local
61 num_elements_per_pg = PAGE_SIZE / BNX2I_SQ_WQE_SIZE;
62 if (hba->max_sqes < num_elements_per_pg)
63 hba->max_sqes = num_elements_per_pg;
64 else if (hba->max_sqes % num_elements_per_pg)
65 hba->max_sqes = (hba->max_sqes + num_elements_per_pg - 1) &
66 ~(num_elements_per_pg - 1);
69 num_elements_per_pg = PAGE_SIZE / BNX2I_CQE_SIZE;
70 if (hba->max_cqes < num_elements_per_pg)
71 hba->max_cqes = num_elements_per_pg;
[all...]

Completed in 112 milliseconds