Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_mbx.c256 struct hclge_mbx_vf_to_pf_cmd *mbx_req) in hclge_set_vf_uc_mac_addr() argument
260 const u8 *mac_addr = (const u8 *)(mbx_req->msg.data); in hclge_set_vf_uc_mac_addr()
264 if (mbx_req->msg.subcode == HCLGE_MBX_MAC_VLAN_UC_MODIFY) { in hclge_set_vf_uc_mac_addr()
266 (&mbx_req->msg.data[HCLGE_MBX_VF_OLD_MAC_ADDR_OFFSET]); in hclge_set_vf_uc_mac_addr()
283 } else if (mbx_req->msg.subcode == HCLGE_MBX_MAC_VLAN_UC_ADD) { in hclge_set_vf_uc_mac_addr()
286 } else if (mbx_req->msg.subcode == HCLGE_MBX_MAC_VLAN_UC_REMOVE) { in hclge_set_vf_uc_mac_addr()
292 mbx_req->msg.subcode); in hclge_set_vf_uc_mac_addr()
300 struct hclge_mbx_vf_to_pf_cmd *mbx_req) in hclge_set_vf_mc_mac_addr() argument
302 const u8 *mac_addr = (const u8 *)(mbx_req->msg.data); in hclge_set_vf_mc_mac_addr()
305 if (mbx_req->msg.subcode == HCLGE_MBX_MAC_VLAN_MC_ADD) { in hclge_set_vf_mc_mac_addr()
[all …]