Home
last modified time | relevance | path

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

/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_mbox.c517 struct hinic_set_random_id rand_info = {0}; in set_vf_mbox_random_id() local
518 u16 out_size = sizeof(rand_info); in set_vf_mbox_random_id()
524 rand_info.version = HINIC_CMD_VER_FUNC_ID; in set_vf_mbox_random_id()
525 rand_info.func_idx = func_id; in set_vf_mbox_random_id()
526 rand_info.vf_in_pf = func_id - hinic_glb_pf_vf_offset(hwdev->hwif); in set_vf_mbox_random_id()
527 rand_info.random_id = get_random_u32(); in set_vf_mbox_random_id()
529 func_to_func->vf_mbx_rand_id[func_id] = rand_info.random_id; in set_vf_mbox_random_id()
533 &rand_info, sizeof(rand_info), in set_vf_mbox_random_id()
534 &rand_info, &out_size, HINIC_MGMT_MSG_SYNC); in set_vf_mbox_random_id()
535 if ((rand_info.status != HINIC_MGMT_CMD_UNSUPPORTED && in set_vf_mbox_random_id()
[all …]