Home
last modified time | relevance | path

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

/dpdk/drivers/net/hinic/base/
H A Dhinic_pmd_nicio.c473 struct hinic_root_ctxt root_ctxt; in hinic_set_root_ctxt() local
474 u16 out_size = sizeof(root_ctxt); in hinic_set_root_ctxt()
477 memset(&root_ctxt, 0, sizeof(root_ctxt)); in hinic_set_root_ctxt()
478 root_ctxt.mgmt_msg_head.resp_aeq_num = HINIC_AEQ1; in hinic_set_root_ctxt()
479 root_ctxt.func_idx = hinic_global_func_id(hwdev); in hinic_set_root_ctxt()
480 root_ctxt.ppf_idx = hinic_ppf_idx(hwdev); in hinic_set_root_ctxt()
481 root_ctxt.set_cmdq_depth = 0; in hinic_set_root_ctxt()
482 root_ctxt.cmdq_depth = 0; in hinic_set_root_ctxt()
483 root_ctxt.lro_en = 1; in hinic_set_root_ctxt()
484 root_ctxt.rq_depth = (u16)ilog2(rq_depth); in hinic_set_root_ctxt()
[all …]
H A Dhinic_pmd_cmdq.c637 struct hinic_root_ctxt root_ctxt; in hinic_set_cmdq_depth() local
638 u16 out_size = sizeof(root_ctxt); in hinic_set_cmdq_depth()
641 memset(&root_ctxt, 0, sizeof(root_ctxt)); in hinic_set_cmdq_depth()
642 root_ctxt.mgmt_msg_head.resp_aeq_num = HINIC_AEQ1; in hinic_set_cmdq_depth()
643 root_ctxt.func_idx = hinic_global_func_id(hwdev); in hinic_set_cmdq_depth()
644 root_ctxt.ppf_idx = hinic_ppf_idx(hwdev); in hinic_set_cmdq_depth()
645 root_ctxt.set_cmdq_depth = 1; in hinic_set_cmdq_depth()
646 root_ctxt.cmdq_depth = (u8)ilog2(cmdq_depth); in hinic_set_cmdq_depth()
649 &root_ctxt, sizeof(root_ctxt), in hinic_set_cmdq_depth()
650 &root_ctxt, &out_size, 0); in hinic_set_cmdq_depth()
[all …]