Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_qp.c42 #define SQ_CTXT_OFFSET(max_sqs, max_rqs, q_id) \ argument
43 (((max_rqs) + (max_sqs)) * CTXT_RSVD + (q_id) * Q_CTXT_SIZE)
45 #define RQ_CTXT_OFFSET(max_sqs, max_rqs, q_id) \ argument
46 (((max_rqs) + (max_sqs)) * CTXT_RSVD + \
47 (max_sqs + (q_id)) * Q_CTXT_SIZE)
76 u16 max_sqs = max_queues; in hinic_qp_prepare_header() local
83 qp_ctxt_hdr->addr_offset = SQ_CTXT_OFFSET(max_sqs, max_rqs, 0); in hinic_qp_prepare_header()
85 qp_ctxt_hdr->addr_offset = RQ_CTXT_OFFSET(max_sqs, max_rqs, 0); in hinic_qp_prepare_header()
Dhinic_hw_dev.h485 u16 max_sqs; member
Dhinic_hw_dev.c71 nic_cap->max_qps = dev_cap->max_sqs + 1; in parse_capability()
73 nic_cap->max_qps = dev_cap->max_sqs; in parse_capability()
Dhinic_sriov.c1088 dev_cap->max_sqs = cap->max_vf_qps; in cfg_mbx_pf_proc_vf_msg()