Home
last modified time | relevance | path

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

/f-stack/dpdk/drivers/net/hinic/base/
H A Dhinic_pmd_niccfg.c1708 struct hinic_vf_default_cos vf_cos; in hinic_vf_get_default_cos() local
1709 u16 out_size = sizeof(vf_cos); in hinic_vf_get_default_cos()
1712 memset(&vf_cos, 0, sizeof(vf_cos)); in hinic_vf_get_default_cos()
1713 vf_cos.mgmt_msg_head.resp_aeq_num = HINIC_AEQ1; in hinic_vf_get_default_cos()
1716 HINIC_PORT_CMD_GET_VF_COS, &vf_cos, in hinic_vf_get_default_cos()
1717 sizeof(vf_cos), &vf_cos, &out_size, 0); in hinic_vf_get_default_cos()
1718 if (err || !out_size || vf_cos.mgmt_msg_head.status) { in hinic_vf_get_default_cos()
1720 err, vf_cos.mgmt_msg_head.status, out_size); in hinic_vf_get_default_cos()
1723 *cos_id = vf_cos.state.default_cos; in hinic_vf_get_default_cos()