Commit cc57236f authored by Mitko Haralanov's avatar Mitko Haralanov Committed by Doug Ledford
Browse files

staging/rdma/hfi1: Allocate send ctxt on device NUMA node

Allocate the user mode send context memory on the numa node which the
device is attached to for better performance.
Reviewed-by: default avatarDean Luick <>
Reviewed-by: default avatarMike Marciniszyn <>
Reviewed-by: default avatarIra Weiny <>
Signed-off-by: default avatarMitko Haralanov <>
Signed-off-by: default avatarDoug Ledford <>
parent 957558c9
......@@ -1029,7 +1029,7 @@ static int allocate_ctxt(struct file *fp, struct hfi1_devdata *dd,
* Allocate and enable a PIO send context.
uctxt->sc = sc_alloc(dd, SC_USER, uctxt->rcvhdrqentsize,
if (!uctxt->sc)
return -ENOMEM;
Supports Markdown
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