Skip to content
Snippets Groups Projects
Commit d0e859c3 authored by Mike Marciniszyn's avatar Mike Marciniszyn Committed by Doug Ledford
Browse files

IB/hfi1: Enable adaptive pio by default


Set the piothreshold to the agreed upon default of 256B.

Reviewed-by: default avatarJubin John <jubin.john@intel.com>
Signed-off-by: default avatarMike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
parent 47177f1b
No related branches found
No related tags found
No related merge requests found
...@@ -121,7 +121,7 @@ unsigned int hfi1_max_srq_wrs = 0x1FFFF; ...@@ -121,7 +121,7 @@ unsigned int hfi1_max_srq_wrs = 0x1FFFF;
module_param_named(max_srq_wrs, hfi1_max_srq_wrs, uint, S_IRUGO); module_param_named(max_srq_wrs, hfi1_max_srq_wrs, uint, S_IRUGO);
MODULE_PARM_DESC(max_srq_wrs, "Maximum number of SRQ WRs support"); MODULE_PARM_DESC(max_srq_wrs, "Maximum number of SRQ WRs support");
unsigned short piothreshold; unsigned short piothreshold = 256;
module_param(piothreshold, ushort, S_IRUGO); module_param(piothreshold, ushort, S_IRUGO);
MODULE_PARM_DESC(piothreshold, "size used to determine sdma vs. pio"); MODULE_PARM_DESC(piothreshold, "size used to determine sdma vs. pio");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment