Commit c5b1b975 authored by Lipeng's avatar Lipeng Committed by David S. Miller
Browse files

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: default avatarLipeng <lipeng321@huawei.com>
Signed-off-by: default avatarSalil Mehta <salil.mehta@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 2a4776e1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2779,7 +2779,7 @@ static int hclge_unmap_ring_from_vector(
			}
			i = 0;
			hclge_cmd_setup_basic_desc(&desc,
						   HCLGE_OPC_ADD_RING_TO_VECTOR,
						   HCLGE_OPC_DEL_RING_TO_VECTOR,
						   false);
			req->int_vector_id = vector_id;
		}