Searched refs:root_ctxt (Results 1 – 2 of 2) sorted by relevance
| /f-stack/dpdk/drivers/net/hinic/base/ |
| H A D | hinic_pmd_nicio.c | 477 memset(&root_ctxt, 0, sizeof(root_ctxt)); 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() 490 &root_ctxt, sizeof(root_ctxt), in hinic_set_root_ctxt() 515 memset(&root_ctxt, 0, sizeof(root_ctxt)); in hinic_clean_root_ctxt() 520 root_ctxt.cmdq_depth = 0; in hinic_clean_root_ctxt() 521 root_ctxt.lro_en = 0; in hinic_clean_root_ctxt() 522 root_ctxt.rq_depth = 0; in hinic_clean_root_ctxt() 523 root_ctxt.rx_buf_sz = 0; in hinic_clean_root_ctxt() 524 root_ctxt.sq_depth = 0; in hinic_clean_root_ctxt() [all …]
|
| H A D | hinic_pmd_cmdq.c | 637 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 …]
|