Skip to content

Commit c5b1b97

Browse files
321lipengdavem330
authored andcommitted
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: Lipeng <lipeng321@huawei.com> Signed-off-by: Salil Mehta <salil.mehta@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 2a4776e commit c5b1b97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2779,7 +2779,7 @@ static int hclge_unmap_ring_from_vector(
27792779
}
27802780
i = 0;
27812781
hclge_cmd_setup_basic_desc(&desc,
2782-
HCLGE_OPC_ADD_RING_TO_VECTOR,
2782+
HCLGE_OPC_DEL_RING_TO_VECTOR,
27832783
false);
27842784
req->int_vector_id = vector_id;
27852785
}

0 commit comments

Comments
 (0)