提交 a59329d5 编写于 作者: D Dean Luick 提交者: Doug Ledford

staging/rdma/hfi1: Skip lcb init for simulation

The simulator does not correctly handle LCB cclk loopback.
Skip that step for simulation - it is not needed.
Reviewed-by: NDennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: NDean Luick <dean.luick@intel.com>
Signed-off-by: NDoug Ledford <dledford@redhat.com>
上级 dcc68e52
...@@ -9315,6 +9315,10 @@ static void init_qsfp_int(struct hfi1_devdata *dd) ...@@ -9315,6 +9315,10 @@ static void init_qsfp_int(struct hfi1_devdata *dd)
*/ */
static void init_lcb(struct hfi1_devdata *dd) static void init_lcb(struct hfi1_devdata *dd)
{ {
/* simulator does not correctly handle LCB cclk loopback, skip */
if (dd->icode == ICODE_FUNCTIONAL_SIMULATOR)
return;
/* the DC has been reset earlier in the driver load */ /* the DC has been reset earlier in the driver load */
/* set LCB for cclk loopback on the port */ /* set LCB for cclk loopback on the port */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册