1.Adding logging API for rdma-core. 2.Adding hns cleanups in rdma-core v37. Signed-off-by: zhengfeng luo <luozhengfeng@h-partners.com> Signed-off-by: Chengchang Tang <tangchengchang@huawei.com>
34 lines
1018 B
Diff
34 lines
1018 B
Diff
From 21d81f659d801230a1ccf1aadf9b1ecba5a3ccd8 Mon Sep 17 00:00:00 2001
|
|
From: Lang Cheng <chenglang@huawei.com>
|
|
Date: Tue, 9 Nov 2021 20:40:57 +0800
|
|
Subject: libhns: Remove unused macros
|
|
|
|
These macros used to work, but are no longer used, they should be removed.
|
|
|
|
Fixes: 516b8d4e4ebe ("providers: Use the new match_device and allocate_device ops")
|
|
Fixes: 887b78c80224 ("libhns: Add initial main frame")
|
|
Signed-off-by: Lang Cheng <chenglang@huawei.com>
|
|
Signed-off-by: Wenpeng Liang <liangwenpeng@huawei.com>
|
|
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
|
|
---
|
|
providers/hns/hns_roce_u.c | 3 ---
|
|
1 file changed, 3 deletions(-)
|
|
|
|
diff --git a/providers/hns/hns_roce_u.c b/providers/hns/hns_roce_u.c
|
|
index 3b31ad3..9dc4905 100644
|
|
--- a/providers/hns/hns_roce_u.c
|
|
+++ b/providers/hns/hns_roce_u.c
|
|
@@ -41,9 +41,6 @@
|
|
|
|
static void hns_roce_free_context(struct ibv_context *ibctx);
|
|
|
|
-#define HID_LEN 15
|
|
-#define DEV_MATCH_LEN 128
|
|
-
|
|
#ifndef PCI_VENDOR_ID_HUAWEI
|
|
#define PCI_VENDOR_ID_HUAWEI 0x19E5
|
|
#endif
|
|
--
|
|
2.27.0
|
|
|