Searched refs:mc_desc (Results 1 – 1 of 1) sorted by relevance
8329 struct hclge_desc *mc_desc) in hclge_add_mac_vlan_tbl() argument8337 if (!mc_desc) { in hclge_add_mac_vlan_tbl()8353 hclge_comm_cmd_reuse_desc(&mc_desc[0], false); in hclge_add_mac_vlan_tbl()8354 mc_desc[0].flag |= cpu_to_le16(HCLGE_COMM_CMD_FLAG_NEXT); in hclge_add_mac_vlan_tbl()8355 hclge_comm_cmd_reuse_desc(&mc_desc[1], false); in hclge_add_mac_vlan_tbl()8356 mc_desc[1].flag |= cpu_to_le16(HCLGE_COMM_CMD_FLAG_NEXT); in hclge_add_mac_vlan_tbl()8357 hclge_comm_cmd_reuse_desc(&mc_desc[2], false); in hclge_add_mac_vlan_tbl()8358 mc_desc[2].flag &= cpu_to_le16(~HCLGE_COMM_CMD_FLAG_NEXT); in hclge_add_mac_vlan_tbl()8359 memcpy(mc_desc[0].data, req, in hclge_add_mac_vlan_tbl()8361 ret = hclge_cmd_send(&hdev->hw, mc_desc, 3); in hclge_add_mac_vlan_tbl()[all …]