Commit 1db76c14 authored by Roland Dreier's avatar Roland Dreier

IB/mthca: Make fw_cmd_doorbell default to 0

Setting fw_cmd_doorbell allows FW command to be queued using posted
writes instead of requiring polling on a "go" bit, so it should be a
performance boost.  However, the option causes problems with at least
some device/firmware combinations, so set the default to 0 until we
understand what's going on better.
Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
parent 032ebf26
...@@ -182,7 +182,7 @@ struct mthca_cmd_context { ...@@ -182,7 +182,7 @@ struct mthca_cmd_context {
u8 status; u8 status;
}; };
static int fw_cmd_doorbell = 1; static int fw_cmd_doorbell = 0;
module_param(fw_cmd_doorbell, int, 0644); module_param(fw_cmd_doorbell, int, 0644);
MODULE_PARM_DESC(fw_cmd_doorbell, "post FW commands through doorbell page if nonzero " MODULE_PARM_DESC(fw_cmd_doorbell, "post FW commands through doorbell page if nonzero "
"(and supported by FW)"); "(and supported by FW)");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment