提交 f8930e91 编写于 作者: G Gao Xun 提交者: Yang Yingliang

RDMA/hns: Compilation Configuration update

driver inclusion
category: Bugfix
bugzilla: NA
CVE: NA

We updated dfx module related conditional compilation layout to
ensure proper compilation when we turnoff dfx in .config file.
Signed-off-by: NGao Xun <gaoxun3@huawei.com>
Reviewed-by: NHu Chunzhi <huchunzhi@huawei.com>
Reviewed-by: NWang Lin <wanglin137@huawei.com>
Reviewed-by: NZhao Weibo <zhaoweibo3@huawei.com>
Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
上级 9e486a76
// SPDX-License-Identifier: GPL-2.0+
// Copyright (c) 2016-2017 Hisilicon Limited.
#ifdef CONFIG_INFINIBAND_HNS_DFX
#include "roce_k_compat.h"
#include "rdfx_common.h"
#include "rdfx_intf.h"
......@@ -328,3 +328,4 @@ void rdfx_set_cqe_info(struct hns_roce_dev *hr_dev, struct hns_roce_cq *hr_cq,
}
}
EXPORT_SYMBOL_GPL(rdfx_set_cqe_info);
#endif
// SPDX-License-Identifier: GPL-2.0+
// Copyright (c) 2016-2017 Hisilicon Limited.
#ifdef CONFIG_INFINIBAND_HNS_DFX
#include "roce_k_compat.h"
#include "hns_roce_device.h"
#include "hns_roce_common.h"
......@@ -940,4 +940,4 @@ void rdfx_set_rdfx_cq_ci(struct hns_roce_dev *hr_dev,
spin_unlock(&rdfx->cq.cq_lock);
}
EXPORT_SYMBOL_GPL(rdfx_set_rdfx_cq_ci);
#endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册