Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1735059 > unrolled thread

[PATCH V2 net 2/7] net: hns3: Fixes the command used to unmap ring from vector

Started bySalil Mehta <salil.mehta@huawei.com>
First post2017-09-19 18:20 +0200
Last post2017-09-19 18:20 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH V2 net 2/7] net: hns3: Fixes the command used to unmap ring from vector Salil Mehta <salil.mehta@huawei.com> - 2017-09-19 18:20 +0200

#1735059 — [PATCH V2 net 2/7] net: hns3: Fixes the command used to unmap ring from vector

FromSalil Mehta <salil.mehta@huawei.com>
Date2017-09-19 18:20 +0200
Subject[PATCH V2 net 2/7] net: hns3: Fixes the command used to unmap ring from vector
Message-ID<urtpD-7FJ-7@gated-at.bofh.it>
From: Lipeng <lipeng321@huawei.com>

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>
---
 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
index db4e07d..e324bc6 100644
--- a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
+++ b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
@@ -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;
 		}
-- 
2.7.4

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web