Lines Matching refs:mc_desc
8329 struct hclge_desc *mc_desc) in hclge_add_mac_vlan_tbl() argument
8337 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()
8362 resp_code = (le32_to_cpu(mc_desc[0].data[0]) >> 8) & 0xff; in hclge_add_mac_vlan_tbl()
8363 retval = le16_to_cpu(mc_desc[0].retval); in hclge_add_mac_vlan_tbl()