Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/huawei/hinic/
Dhinic_sriov.c919 struct hinic_spoofchk_set spoofchk_cfg = {0}; in hinic_set_vf_spoofchk() local
921 u16 out_size = sizeof(spoofchk_cfg); in hinic_set_vf_spoofchk()
929 spoofchk_cfg.func_id = hinic_glb_pf_vf_offset(hwdev->hwif) + vf_id; in hinic_set_vf_spoofchk()
930 spoofchk_cfg.state = spoofchk ? 1 : 0; in hinic_set_vf_spoofchk()
932 &spoofchk_cfg, sizeof(spoofchk_cfg), in hinic_set_vf_spoofchk()
933 &spoofchk_cfg, &out_size); in hinic_set_vf_spoofchk()
934 if (spoofchk_cfg.status == HINIC_MGMT_CMD_UNSUPPORTED) { in hinic_set_vf_spoofchk()
936 } else if (err || !out_size || spoofchk_cfg.status) { in hinic_set_vf_spoofchk()
938 HW_VF_ID_TO_OS(vf_id), err, spoofchk_cfg.status, in hinic_set_vf_spoofchk()