Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c7260 struct hclge_desc *mc_desc) in hclge_add_mac_vlan_tbl() argument
7268 if (!mc_desc) { in hclge_add_mac_vlan_tbl()
7284 hclge_cmd_reuse_desc(&mc_desc[0], false); in hclge_add_mac_vlan_tbl()
7285 mc_desc[0].flag |= cpu_to_le16(HCLGE_CMD_FLAG_NEXT); in hclge_add_mac_vlan_tbl()
7286 hclge_cmd_reuse_desc(&mc_desc[1], false); in hclge_add_mac_vlan_tbl()
7287 mc_desc[1].flag |= cpu_to_le16(HCLGE_CMD_FLAG_NEXT); in hclge_add_mac_vlan_tbl()
7288 hclge_cmd_reuse_desc(&mc_desc[2], false); in hclge_add_mac_vlan_tbl()
7289 mc_desc[2].flag &= cpu_to_le16(~HCLGE_CMD_FLAG_NEXT); in hclge_add_mac_vlan_tbl()
7290 memcpy(mc_desc[0].data, req, in hclge_add_mac_vlan_tbl()
7292 ret = hclge_cmd_send(&hdev->hw, mc_desc, 3); in hclge_add_mac_vlan_tbl()
[all …]