Home
last modified time | relevance | path

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

/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_mbx.c370 struct hclge_vf_vlan_cfg *msg_cmd; in hclge_set_vf_vlan_cfg() local
373 msg_cmd = (struct hclge_vf_vlan_cfg *)&mbx_req->msg; in hclge_set_vf_vlan_cfg()
374 if (msg_cmd->subcode == HCLGE_MBX_VLAN_FILTER) { in hclge_set_vf_vlan_cfg()
379 is_kill = !!msg_cmd->is_kill; in hclge_set_vf_vlan_cfg()
380 vlan = msg_cmd->vlan; in hclge_set_vf_vlan_cfg()
381 proto = msg_cmd->proto; in hclge_set_vf_vlan_cfg()
384 } else if (msg_cmd->subcode == HCLGE_MBX_VLAN_RX_OFF_CFG) { in hclge_set_vf_vlan_cfg()
386 bool en = msg_cmd->is_kill ? true : false; in hclge_set_vf_vlan_cfg()
389 } else if (msg_cmd->subcode == HCLGE_MBX_PORT_BASE_VLAN_CFG) { in hclge_set_vf_vlan_cfg()
398 } else if (msg_cmd->subcode == HCLGE_MBX_GET_PORT_BASE_VLAN_STATE) { in hclge_set_vf_vlan_cfg()
[all …]