Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/qlogic/qed/
Dqed_l2.c54 struct qed_l2_info *p_l2_info; in qed_l2_alloc() local
61 p_l2_info = kzalloc(sizeof(*p_l2_info), GFP_KERNEL); in qed_l2_alloc()
62 if (!p_l2_info) in qed_l2_alloc()
64 p_hwfn->p_l2_info = p_l2_info; in qed_l2_alloc()
67 p_l2_info->queues = RESC_NUM(p_hwfn, QED_L2_QUEUE); in qed_l2_alloc()
74 p_l2_info->queues = max_t(u8, rx, tx); in qed_l2_alloc()
77 pp_qids = kcalloc(p_l2_info->queues, sizeof(unsigned long *), in qed_l2_alloc()
81 p_l2_info->pp_qid_usage = pp_qids; in qed_l2_alloc()
83 for (i = 0; i < p_l2_info->queues; i++) { in qed_l2_alloc()
97 mutex_init(&p_hwfn->p_l2_info->lock); in qed_l2_setup()
[all …]
Dqed.h638 struct qed_l2_info *p_l2_info; member