Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_main.c8262 struct hclge_desc *mc_desc) in hclge_add_mac_vlan_tbl() argument
8270 if (!mc_desc) { in hclge_add_mac_vlan_tbl()
8286 hclge_comm_cmd_reuse_desc(&mc_desc[0], false); in hclge_add_mac_vlan_tbl()
8287 mc_desc[0].flag |= cpu_to_le16(HCLGE_COMM_CMD_FLAG_NEXT); in hclge_add_mac_vlan_tbl()
8288 hclge_comm_cmd_reuse_desc(&mc_desc[1], false); in hclge_add_mac_vlan_tbl()
8289 mc_desc[1].flag |= cpu_to_le16(HCLGE_COMM_CMD_FLAG_NEXT); in hclge_add_mac_vlan_tbl()
8290 hclge_comm_cmd_reuse_desc(&mc_desc[2], false); in hclge_add_mac_vlan_tbl()
8291 mc_desc[2].flag &= cpu_to_le16(~HCLGE_COMM_CMD_FLAG_NEXT); in hclge_add_mac_vlan_tbl()
8292 memcpy(mc_desc[0].data, req, in hclge_add_mac_vlan_tbl()
8294 ret = hclge_cmd_send(&hdev->hw, mc_desc, 3); in hclge_add_mac_vlan_tbl()
[all …]