Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_mbx.c350 struct hclge_mbx_vf_to_pf_cmd *mbx_req) in hclge_set_vf_uc_mac_addr() argument
354 const u8 *mac_addr = (const u8 *)(mbx_req->msg.data); in hclge_set_vf_uc_mac_addr()
358 if (mbx_req->msg.subcode == HCLGE_MBX_MAC_VLAN_UC_MODIFY) { in hclge_set_vf_uc_mac_addr()
360 (&mbx_req->msg.data[HCLGE_MBX_VF_OLD_MAC_ADDR_OFFSET]); in hclge_set_vf_uc_mac_addr()
377 } else if (mbx_req->msg.subcode == HCLGE_MBX_MAC_VLAN_UC_ADD) { in hclge_set_vf_uc_mac_addr()
380 } else if (mbx_req->msg.subcode == HCLGE_MBX_MAC_VLAN_UC_REMOVE) { in hclge_set_vf_uc_mac_addr()
386 mbx_req->msg.subcode); in hclge_set_vf_uc_mac_addr()
394 struct hclge_mbx_vf_to_pf_cmd *mbx_req) in hclge_set_vf_mc_mac_addr() argument
396 const u8 *mac_addr = (const u8 *)(mbx_req->msg.data); in hclge_set_vf_mc_mac_addr()
399 if (mbx_req->msg.subcode == HCLGE_MBX_MAC_VLAN_MC_ADD) { in hclge_set_vf_mc_mac_addr()
[all …]