Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/qlogic/qed/
Dqed_cxt.c490 struct qed_tid_seg *p_seg = &p_mngr->conn_cfg[proto].tid_seg[seg]; in qed_cxt_set_proto_tid_count() local
492 p_seg->count = count; in qed_cxt_set_proto_tid_count()
493 p_seg->has_fl_mem = has_fl; in qed_cxt_set_proto_tid_count()
494 p_seg->type = seg_type; in qed_cxt_set_proto_tid_count()
581 struct qed_tid_seg *p_seg; in qed_cxt_cfg_ilt_compute() local
638 p_seg = qed_cxt_tid_seg_info(p_hwfn, i); in qed_cxt_cfg_ilt_compute()
639 if (!p_seg || p_seg->count == 0) in qed_cxt_cfg_ilt_compute()
643 total = p_seg->count * p_mngr->task_type_size[p_seg->type]; in qed_cxt_cfg_ilt_compute()
645 p_mngr->task_type_size[p_seg->type]); in qed_cxt_cfg_ilt_compute()
653 p_seg = qed_cxt_tid_seg_info(p_hwfn, i); in qed_cxt_cfg_ilt_compute()
[all …]