提交 c5b1b975 编写于 作者: L Lipeng 提交者: David S. Miller

net: hns3: Fixes the command used to unmap ring from vector

This patch fixes the IMP command being used to unmap the vector
from the corresponding ring.

Fixes: 6427264ef330 ("net: hns3: Add HNS3 Acceleration Engine &
Compatibility Layer Support")
Signed-off-by: NLipeng <lipeng321@huawei.com>
Signed-off-by: NSalil Mehta <salil.mehta@huawei.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 2a4776e1
...@@ -2779,7 +2779,7 @@ static int hclge_unmap_ring_from_vector( ...@@ -2779,7 +2779,7 @@ static int hclge_unmap_ring_from_vector(
} }
i = 0; i = 0;
hclge_cmd_setup_basic_desc(&desc, hclge_cmd_setup_basic_desc(&desc,
HCLGE_OPC_ADD_RING_TO_VECTOR, HCLGE_OPC_DEL_RING_TO_VECTOR,
false); false);
req->int_vector_id = vector_id; req->int_vector_id = vector_id;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册