Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_mbox.c522 struct hinic_set_random_id rand_info = {0}; in set_vf_mbox_random_id() local
523 u16 out_size = sizeof(rand_info); in set_vf_mbox_random_id()
529 rand_info.version = HINIC_CMD_VER_FUNC_ID; in set_vf_mbox_random_id()
530 rand_info.func_idx = func_id; in set_vf_mbox_random_id()
531 rand_info.vf_in_pf = func_id - hinic_glb_pf_vf_offset(hwdev->hwif); in set_vf_mbox_random_id()
532 rand_info.random_id = get_random_u32(); in set_vf_mbox_random_id()
534 func_to_func->vf_mbx_rand_id[func_id] = rand_info.random_id; in set_vf_mbox_random_id()
538 &rand_info, sizeof(rand_info), in set_vf_mbox_random_id()
539 &rand_info, &out_size, HINIC_MGMT_MSG_SYNC); in set_vf_mbox_random_id()
540 if ((rand_info.status != HINIC_MGMT_CMD_UNSUPPORTED && in set_vf_mbox_random_id()
[all …]