From 1543e317f1da31b75942316931e8f491a8920811 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Thu, 04 Jan 2024 10:08:02 +0000
Subject: [PATCH] disable FB
---
kernel/drivers/infiniband/sw/rdmavt/mad.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/kernel/drivers/infiniband/sw/rdmavt/mad.c b/kernel/drivers/infiniband/sw/rdmavt/mad.c
index d6981dc..108c71e 100644
--- a/kernel/drivers/infiniband/sw/rdmavt/mad.c
+++ b/kernel/drivers/infiniband/sw/rdmavt/mad.c
@@ -160,7 +160,8 @@
ib_unregister_mad_agent(agent);
}
if (rvp->sm_ah) {
- rdma_destroy_ah(&rvp->sm_ah->ibah);
+ rdma_destroy_ah(&rvp->sm_ah->ibah,
+ RDMA_DESTROY_AH_SLEEPABLE);
rvp->sm_ah = NULL;
}
--
Gitblit v1.6.2