Home
last modified time | relevance | path

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

/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_mbx.c281 struct hclge_mbx_vf_to_pf_cmd *mbx_req) in hclge_set_vf_uc_mac_addr() argument
285 const u8 *mac_addr = (const u8 *)(mbx_req->msg.data); in hclge_set_vf_uc_mac_addr()
289 if (mbx_req->msg.subcode == HCLGE_MBX_MAC_VLAN_UC_MODIFY) { in hclge_set_vf_uc_mac_addr()
291 (&mbx_req->msg.data[HCLGE_MBX_VF_OLD_MAC_ADDR_OFFSET]); in hclge_set_vf_uc_mac_addr()
308 } else if (mbx_req->msg.subcode == HCLGE_MBX_MAC_VLAN_UC_ADD) { in hclge_set_vf_uc_mac_addr()
311 } else if (mbx_req->msg.subcode == HCLGE_MBX_MAC_VLAN_UC_REMOVE) { in hclge_set_vf_uc_mac_addr()
317 mbx_req->msg.subcode); in hclge_set_vf_uc_mac_addr()
325 struct hclge_mbx_vf_to_pf_cmd *mbx_req) in hclge_set_vf_mc_mac_addr() argument
327 const u8 *mac_addr = (const u8 *)(mbx_req->msg.data); in hclge_set_vf_mc_mac_addr()
330 if (mbx_req->msg.subcode == HCLGE_MBX_MAC_VLAN_MC_ADD) { in hclge_set_vf_mc_mac_addr()
[all …]