From: Dean Luick
The latest version of the 8051 firmware will wait longer
when bringing the link down. Extend the driver's timeout
to go with that.
Reviewed-by: Dennis Dalessandro
Signed-off-by: Dean Luick
Signed-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/chip.c | 2 +-
1 file ch
From: Vennila Megavannan
This patch increases the timout for packet egress to 500 us and timer
resets to zero if the packet occupancy changes. Also we bounce the link
on time out.
Reviewed-by: Dean Luick
Signed-off-by: Vennila Megavannan
Signed-off-by: Ira Weiny
---
drivers/staging/rdma
(bandwidth).
Reviewed-by: Mike Marciniszyn
Signed-off-by: Dean Luick
Signed-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/chip.c | 104 +
drivers/staging/rdma/hfi1/driver.c | 72 ++---
drivers/staging/rdma/hfi1/hfi.h| 20 +--
drivers
coalesced
buffer.
Verbs potentially need this support when transferring small data
chunks involving different memory regions.
Reviewed-by: Mike Marciniszyn
Reviewed-by: Mitko Haralanov
Signed-off-by: Niranjana Vishwanathapura
Signed-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/sdma.c | 124
-by: Dennis Dalessandro
Signed-off-by: Arthur Kepner
Signed-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/driver.c | 77 +-
drivers/staging/rdma/hfi1/hfi.h| 13 ---
drivers/staging/rdma/hfi1/rc.c | 10 ++---
drivers/staging/rdma/hfi1/uc.c | 15 +
From: Vennila Megavannan
Add a module paramter to toggle prescan/Fast ECN Detection.
In addition change the PRESCAN_RXQ Kconfig default to "yes".
Reviewed-by: Arthur Kepner
Reviewed-by: Mike Marciniszyn
Signed-off-by: Vennila Megavannan
Signed-off-by: Ira Weiny
---
drivers/staging
the tuning of the
interrupt frequency until an optimal frequency is found for both PSM and Verbs.
At that time, the parameter could be pulled out, if desired.
Reviewed-by: Mike Marciniszyn
Signed-off-by: Mitko Haralanov
Signed-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/sdma.c | 8
d now uses the new scheduler
- RC/UC QPs now pre-compute the sc, sde
- The sde wq is eliminated since the new hfi1_wq is
multi-threaded
Reviewed-by: Dennis Dalessandro
Signed-off-by: Mike Marciniszyn
Signed-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/chip.c | 1 +
drivers/staging/rdma
From: Jubin John
Signed-off-by: Jubin John
Signed-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/common.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/rdma/hfi1/common.h
b/drivers/staging/rdma/hfi1/common.h
index 7809093eb55e..5dd92720faae 100644
--- a
From: Mike Marciniszyn
Add additional rc traces to aid in debugging rc retry logic.
Reviewed-by: Dennis Dalessandro
Signed-off-by: Mike Marciniszyn
Signed-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/rc.c| 4
drivers/staging/rdma/hfi1/trace.c | 4 ++--
drivers/staging/rdma
From: Jareer Abdel-Qader
Driver does not verify userid for shared context assignments, allowing
malicious user access.
Reviewed by: Mike Marciniszyn
Signed-off-by: Jareer H Abdel-Qader
Signed-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/file_ops.c | 1 +
1 file changed, 1 insertion
d-by: Arthur Kepner
Reviewed-by: Dennis Dalessandro
Signed-off-by: Mitko Haralanov
Signed-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/Makefile |2 +-
drivers/staging/rdma/hfi1/common.h | 15 +-
drivers/staging/rdma/hfi1/file_ops.c | 494 ++---
drivers
.
Reviewed-by: Dean Luick
Signed-off-by: Easwar Hariharan
Signed-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/chip.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/staging/rdma/hfi1/chip.c b/drivers/staging/rdma/hfi1/chip.c
index 3c48294abd20..0be37e9430af 100644
--- a/drivers/staging
From: Dean Luick
When under heavy load, the send handler can run too long without allowing other
tasks to run. Add a conditional resched to break this up.
Reviewed-by: Mike Marciniszyn
Signed-off-by: Dean Luick
Signed-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/chip.c | 10
-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/verbs.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/staging/rdma/hfi1/verbs.c
b/drivers/staging/rdma/hfi1/verbs.c
index b2bb8ce97915..514956af5b5d 100644
--- a/drivers/staging/rdma/hfi1/verbs.c
+++ b/drivers
haran
Signed-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/firmware.c | 31 ---
drivers/staging/rdma/hfi1/pcie.c | 10 ++
2 files changed, 14 insertions(+), 27 deletions(-)
diff --git a/drivers/staging/rdma/hfi1/firmware.c
b/drivers/staging/rdma/hfi1/firmw
candidate.
Reviewed-by: Mike Marciniszyn
Signed-off-by: Dean Luick
Signed-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/driver.c | 5 +++--
drivers/staging/rdma/hfi1/init.c | 5 +++--
drivers/staging/rdma/hfi1/mad.c| 4 ++--
drivers/staging/rdma/hfi1/rc.c | 19 +++---
ferencing the
vector.
Reviewed-by: Mike Marciniszyn
Signed-off-by: Mitko Haralanov
Signed-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/user_sdma.c | 90 ---
1 file changed, 52 insertions(+), 38 deletions(-)
diff --git a/drivers/staging/rdma/hfi1/user_sdma
Reviewed-by: Dennis Dalessandro
Reviewed-by: Dean Luick
Signed-off-by: Caz Yokoyama
Signed-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/chip.h | 1 +
drivers/staging/rdma/hfi1/firmware.c | 4 +---
drivers/staging/rdma/hfi1/pcie.c | 13 -
3 files changed, 14 insert
From: Niranjana Vishwanathapura
Use NULL instead of 0 for pointer argument to fix the sparse error.
Reviewed-by: Mike Marciniszyn
Reviewed-by: Mitko Haralanov
Reviewed-by: Dennis Dalessandro
Signed-off-by: Niranjana Vishwanathapura
Signed-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1
-by: Ira Weiny
---
drivers/staging/rdma/hfi1/chip.c | 35 +++
drivers/staging/rdma/hfi1/firmware.c | 4
2 files changed, 19 insertions(+), 20 deletions(-)
diff --git a/drivers/staging/rdma/hfi1/chip.c b/drivers/staging/rdma/hfi1/chip.c
index 11523596ca57
From: Ira Weiny
The following are fixes to the hfi1 driver for stability, security, and
performance.
Changes from v1:
Reviewed each patch for new features. Found 2 which fixed congestion
notification in some corner cases but they could be considered
additional features
out.
Reviewed-by: Dean Luick
Signed-off-by: Vennila Megavannan
Signed-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/pio.c | 14 +++---
drivers/staging/rdma/hfi1/sdma.c | 15 ---
2 files changed, 23 insertions(+), 6 deletions(-)
diff --git a/drivers/staging/rdma/hfi1
routine to qp.h for scope
reasons.
Reviewed-by: Dennis Dalessandro
Signed-off-by: Mike Marciniszyn
Signed-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/qp.h| 15 +++
drivers/staging/rdma/hfi1/ruc.c | 13 -
drivers/staging/rdma/hfi1/verbs.h | 2 --
3 files changed
From: Niranjana Vishwanathapura
Use NULL instead of 0 for pointer argument to fix the sparse error.
Reviewed-by: Mike Marciniszyn
Reviewed-by: Mitko Haralanov
Reviewed-by: Dennis Dalessandro
Signed-off-by: Niranjana Vishwanathapura
Signed-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1
From: Jareer Abdel-Qader
Driver does not verify userid for shared context assignments, allowing
malicious user access.
Reviewed by: Mike Marciniszyn
Signed-off-by: Jareer H Abdel-Qader
Signed-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/file_ops.c | 1 +
1 file changed, 1 insertion
Reviewed-by: Dennis Dalessandro
Reviewed-by: Dean Luick
Signed-off-by: Caz Yokoyama
Signed-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/chip.h | 1 +
drivers/staging/rdma/hfi1/firmware.c | 4 +---
drivers/staging/rdma/hfi1/pcie.c | 13 -
3 files changed, 14 insert
From: Dean Luick
The latest version of the 8051 firmware will wait longer
when bringing the link down. Extend the driver's timeout
to go with that.
Reviewed-by: Dennis Dalessandro
Signed-off-by: Dean Luick
Signed-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/chip.c | 2 +-
1 file ch
reserved and used for this coalesced buffer.
Verbs potentially need this support when transferring small data chunks
involving different memory regions.
Reviewed-by: Mike Marciniszyn
Reviewed-by: Mitko Haralanov
Signed-off-by: Niranjana Vishwanathapura
Signed-off-by: Ira Weiny
---
drivers
.
Reviewed-by: Dean Luick
Signed-off-by: Easwar Hariharan
Signed-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/chip.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/staging/rdma/hfi1/chip.c b/drivers/staging/rdma/hfi1/chip.c
index 3c48294abd20..0be37e9430af 100644
--- a/drivers/staging
From: Easwar Hariharan
The QSFP interface code has been running without issues and the flag is
never set to off. This patch removes the QSFP_ENABLED bit from HFI1_CAP.
Reviewed-by: Mike Marciniszyn
Signed-off-by: Easwar Hariharan
Signed-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/chip.c
From: Dean Luick
When under heavy load, the send handler can run too long without allowing other
tasks to run. Add a conditional resched to break this up.
Reviewed-by: Mike Marciniszyn
Signed-off-by: Dean Luick
Signed-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/chip.c | 10
From: Jubin John
Signed-off-by: Jubin John
Signed-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/common.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/rdma/hfi1/common.h
b/drivers/staging/rdma/hfi1/common.h
index 7809093eb55e..5dd92720faae 100644
--- a
d now uses the new scheduler
- RC/UC QPs now pre-compute the sc, sde
- The sde wq is eliminated since the new hfi1_wq is
multi-threaded
Reviewed-by: Dennis Dalessandro
Signed-off-by: Mike Marciniszyn
Signed-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/chip.c | 1 +
drivers/staging/rdma
From: Mike Marciniszyn
Add additional rc traces to aid in debugging rc retry logic.
Reviewed-by: Dennis Dalessandro
Signed-off-by: Mike Marciniszyn
Signed-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/rc.c| 4
drivers/staging/rdma/hfi1/trace.c | 4 ++--
drivers/staging/rdma
(bandwidth).
Reviewed-by: Mike Marciniszyn
Signed-off-by: Dean Luick
Signed-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/chip.c | 104 +
drivers/staging/rdma/hfi1/driver.c | 72 ++---
drivers/staging/rdma/hfi1/hfi.h| 20 +--
drivers
-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/verbs.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/staging/rdma/hfi1/verbs.c
b/drivers/staging/rdma/hfi1/verbs.c
index cac3f4a30741..ece50ea837e5 100644
--- a/drivers/staging/rdma/hfi1/verbs.c
+++ b/drivers
haran
Signed-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/firmware.c | 31 ---
drivers/staging/rdma/hfi1/pcie.c | 10 ++
2 files changed, 14 insertions(+), 27 deletions(-)
diff --git a/drivers/staging/rdma/hfi1/firmware.c
b/drivers/staging/rdma/hfi1/firmw
for the tuning of the
interrupt frequency until an optimal frequency is found for both PSM and Verbs.
At that time, the parameter could be pulled out, if desired.
Reviewed-by: Mike Marciniszyn
Signed-off-by: Mitko Haralanov
Signed-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/sdma.c | 8
From: Mitko Haralanov
Clean up the context and sdma macros and move them to a more logical place in
hfi.h
Signed-off-by: Mitko Haralanov
Signed-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/hfi.h | 22 ++
1 file changed, 10 insertions(+), 12 deletions(-)
diff --git a
ferencing the
vector.
Reviewed-by: Mike Marciniszyn
Signed-off-by: Mitko Haralanov
Signed-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/user_sdma.c | 90 ---
1 file changed, 52 insertions(+), 38 deletions(-)
diff --git a/drivers/staging/rdma/hfi1/user_sdma
quot;unlimited" (as
we've done up to this point), may result in jobs being killed by the kernel's
OOM due to them taking up excessive amounts of memory.
Reviewed-by: Arthur Kepner
Reviewed-by: Dennis Dalessandro
Signed-off-by: Mitko Haralanov
Signed-off-by: Ira Weiny
---
drivers
path. Anything that did not have an obvious, "close"
irqsave in its caller is a candidate.
Reviewed-by: Mike Marciniszyn
Signed-off-by: Dean Luick
Signed-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/driver.c | 5 +++--
drivers/staging/rdma/hfi1/init.c | 5 +++--
drivers/st
From: Ira Weiny
The following are fixes to the hfi1 driver for stability, security, and
performance.
Changes from v2:
Rebased to latest staging-next
Update commit messages
Squashed these patches together:
0006-staging-rdma-hfi1-Add-coalescing-support
-by: Ira Weiny
---
drivers/staging/rdma/hfi1/chip.c | 35 +++
drivers/staging/rdma/hfi1/firmware.c | 4
2 files changed, 19 insertions(+), 20 deletions(-)
diff --git a/drivers/staging/rdma/hfi1/chip.c b/drivers/staging/rdma/hfi1/chip.c
index 46ebc381a792
out.
Reviewed-by: Dean Luick
Signed-off-by: Vennila Megavannan
Signed-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/pio.c | 14 +++---
drivers/staging/rdma/hfi1/sdma.c | 15 ---
2 files changed, 23 insertions(+), 6 deletions(-)
diff --git a/drivers/staging/rdma/hfi1
From: Dean Luick
The latest version of the 8051 firmware will wait longer
when bringing the link down. Extend the driver's timeout
to go with that.
Reviewed-by: Dennis Dalessandro
Signed-off-by: Dean Luick
Signed-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/chip.c | 2 +-
1 file ch
reserved and used for this coalesced buffer.
Verbs potentially need this support when transferring small data chunks
involving different memory regions.
Reviewed-by: Mike Marciniszyn
Reviewed-by: Mitko Haralanov
Signed-off-by: Niranjana Vishwanathapura
Signed-off-by: Ira Weiny
---
drivers
From: Mitko Haralanov
Clean up the context and sdma macros and move them to a more logical place in
hfi.h
Signed-off-by: Mitko Haralanov
Signed-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/hfi.h | 22 ++
1 file changed, 10 insertions(+), 12 deletions(-)
diff --git a
mitigate the
performance impact. Finally, move the routine to qp.h for scope reasons.
Reviewed-by: Dennis Dalessandro
Signed-off-by: Mike Marciniszyn
Signed-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/qp.h| 15 +++
drivers/staging/rdma/hfi1/ruc.c | 13
From: Easwar Hariharan
The QSFP interface code has been running without issues and the flag is
never set to off. This patch removes the QSFP_ENABLED bit from HFI1_CAP.
Reviewed-by: Mike Marciniszyn
Signed-off-by: Easwar Hariharan
Signed-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/chip.c
(bandwidth).
Reviewed-by: Mike Marciniszyn
Signed-off-by: Dean Luick
Signed-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/chip.c | 104 +
drivers/staging/rdma/hfi1/driver.c | 72 ++---
drivers/staging/rdma/hfi1/hfi.h| 20 +--
drivers
a result, processes were looking at the wrong place and not seeing their
notification events.
Signed-off-by: Mitko Haralanov
Signed-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/file_ops.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/rdma/hfi1/file_
recommended default, which
allows for the tuning of the interrupt frequency.
Reviewed-by: Mike Marciniszyn
Signed-off-by: Mitko Haralanov
Signed-off-by: Ira Weiny
---
Change from v2:
Squash in a patch with a recommended default value of 64.
drivers/staging/rdma/hfi1/sdma.c | 10
From: Jareer Abdel-Qader
Driver does not verify userid for shared context assignments, allowing
malicious user access.
Reviewed by: Mike Marciniszyn
Signed-off-by: Jareer H Abdel-Qader
Signed-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/file_ops.c | 1 +
1 file changed, 1 insertion
quot;unlimited" (as
we've done up to this point), may result in jobs being killed by the kernel's
OOM due to them taking up excessive amounts of memory.
Reviewed-by: Arthur Kepner
Reviewed-by: Dennis Dalessandro
Signed-off-by: Mitko Haralanov
Signed-off-by: Ira Weiny
---
Changes f
-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/verbs.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/staging/rdma/hfi1/verbs.c
b/drivers/staging/rdma/hfi1/verbs.c
index dd62f3072c00..2c7cf783f24d 100644
--- a/drivers/staging/rdma/hfi1/verbs.c
+++ b/drivers
haran
Signed-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/firmware.c | 31 ---
drivers/staging/rdma/hfi1/pcie.c | 10 ++
2 files changed, 14 insertions(+), 27 deletions(-)
diff --git a/drivers/staging/rdma/hfi1/firmware.c
b/drivers/staging/rdma/hfi1/firmw
From: Dean Luick
When under heavy load, the send handler can run too long without allowing other
tasks to run. Add a conditional resched to break this up.
Reviewed-by: Mike Marciniszyn
Signed-off-by: Dean Luick
Signed-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/chip.c | 10
.
Reviewed-by: Dean Luick
Signed-off-by: Easwar Hariharan
Signed-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/chip.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/staging/rdma/hfi1/chip.c b/drivers/staging/rdma/hfi1/chip.c
index 1a6dd877c8d8..8b8b7ee4200d 100644
--- a/drivers/staging
From: Mike Marciniszyn
Add additional rc traces to aid in debugging rc retry logic.
Reviewed-by: Dennis Dalessandro
Signed-off-by: Mike Marciniszyn
Signed-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/rc.c| 4
drivers/staging/rdma/hfi1/trace.c | 4 ++--
drivers/staging/rdma
path. Anything that did not have an obvious, "close"
irqsave in its caller is a candidate.
Reviewed-by: Mike Marciniszyn
Signed-off-by: Dean Luick
Signed-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/driver.c | 5 +++--
drivers/staging/rdma/hfi1/init.c | 5 +++--
drivers/st
d now uses the new scheduler
- RC/UC QPs now pre-compute the sc, sde
- The sde wq is eliminated since the new hfi1_wq is
multi-threaded
Reviewed-by: Dennis Dalessandro
Signed-off-by: Mike Marciniszyn
Signed-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/chip.c | 1 +
drivers/staging/rdma
ferencing the
vector.
Reviewed-by: Mike Marciniszyn
Signed-off-by: Mitko Haralanov
Signed-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/user_sdma.c | 90 ---
1 file changed, 52 insertions(+), 38 deletions(-)
diff --git a/drivers/staging/rdma/hfi1/user_sdma
From: Jubin John
Signed-off-by: Jubin John
Signed-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/common.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/rdma/hfi1/common.h
b/drivers/staging/rdma/hfi1/common.h
index 7809093eb55e..5dd92720faae 100644
--- a
Reviewed-by: Dennis Dalessandro
Reviewed-by: Dean Luick
Signed-off-by: Caz Yokoyama
Signed-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/chip.h | 1 +
drivers/staging/rdma/hfi1/firmware.c | 4 +---
drivers/staging/rdma/hfi1/pcie.c | 13 -
3 files changed, 14 insert
From: Ignacio Hernandez
A value of 2048 increased PSM performance while not impacting verbs
performance.
Reviewed-by: Mike Marciniszyn
Reviewed-by: Mitko Haralanov
Signed-off-by: Ignacio Hernandez
Signed-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/sdma.c | 2 +-
1 file changed, 1
From: Ira Weiny
The following are fixes to the hfi1 driver for stability, security, and
performance.
New series based off of the latest staging-next. Large patches were split up
and a new patch was added to remove offending macros.
Ira Weiny (1):
staging/rdma/hfi1: Remove file pointer
From: Mike Marciniszyn
Now that we have a multi-threaded work queue we precomputed and store the SC
and SDE on RC and UC QPs for faster access.
Reviewed-by: Dennis Dalessandro
Signed-off-by: Mike Marciniszyn
Signed-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/qp.c| 27
WQ_CPU_INTENSIVE and WQ_HIGHPRI specified.
Then change send to use the new scheduler which no longer needs to get the
s_lock
Reviewed-by: Dennis Dalessandro
Signed-off-by: Mike Marciniszyn
Signed-off-by: Ira Weiny
---
Changes from v3:
Split patch out code refactoring and separate
From: Mitko Haralanov
In preparation for implementing Expected TID caching we do some simple clean up
of header file macros.
Signed-off-by: Mitko Haralanov
Signed-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/common.h | 15 ---
include/uapi/rdma/hfi/hfi1_user.h | 26
use of these functions.
Signed-off-by: Mitko Haralanov
Signed-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/Kconfig| 1 +
drivers/staging/rdma/hfi1/Makefile | 2 +-
drivers/staging/rdma/hfi1/user_exp_rcv.c | 314 +++
drivers/staging/rdma/hfi1
quot;unlimited" (as
we've done up to this point), may result in jobs being killed by the kernel's
OOM due to them taking up excessive amounts of memory.
Reviewed-by: Arthur Kepner
Reviewed-by: Dennis Dalessandro
Signed-off-by: Mitko Haralanov
Signed-off-by: Ira Weiny
---
Change
From: Mike Marciniszyn
Move hfi1_migrate_qp from ruc.c to qp.[hc] in prep for modifying the QP
workqueue.
Signed-off-by: Mike Marciniszyn
Signed-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/qp.c| 20
drivers/staging/rdma/hfi1/qp.h| 2 ++
drivers/staging/rdma
From: Mitko Haralanov
These includes were not used in file_ops.c
Signed-off-by: Mitko Haralanov
Signed-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/file_ops.c | 10 --
1 file changed, 10 deletions(-)
diff --git a/drivers/staging/rdma/hfi1/file_ops.c
b/drivers/staging/rdma/hfi1
From: Mitko Haralanov
In preparation of implementing TID caching move EXP_TID macros to a common
header user_exp_rcv.h
Signed-off-by: Mitko Haralanov
Signed-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/file_ops.c | 13 +-
drivers/staging/rdma/hfi1/user_exp_rcv.h | 74
From: Ira Weiny
Remove the following macros in favor of explicit use of struct hfi1_filedata and
various sub structures.
ctxt_fp
subctxt_fp
tidcursor_fp
user_sdma_pkt_fp
user_sdma_comp_fp
Reviewed-by: Mitko Haralanov
Signed-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/file_ops.c | 124
From: Ira Weiny
The following are fixes to the hfi1 driver for stability, security, and
performance.
New series based off of the latest staging-next. Large patches were split up
and a new patch was added to remove offending macros.
NOTE: My apologies for not putting v4 in all the patches. I
From: Mitko Haralanov
These includes were not used in file_ops.c
Signed-off-by: Mitko Haralanov
Signed-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/file_ops.c | 10 --
1 file changed, 10 deletions(-)
diff --git a/drivers/staging/rdma/hfi1/file_ops.c
b/drivers/staging/rdma/hfi1
From: Mitko Haralanov
In preparation of implementing TID caching move EXP_TID macros to a common
header user_exp_rcv.h
Signed-off-by: Mitko Haralanov
Signed-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/file_ops.c | 13 +-
drivers/staging/rdma/hfi1/user_exp_rcv.h | 74
From: Mike Marciniszyn
Move hfi1_migrate_qp from ruc.c to qp.[hc] in prep for modifying the QP
workqueue.
Signed-off-by: Mike Marciniszyn
Signed-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/qp.c| 20
drivers/staging/rdma/hfi1/qp.h| 2 ++
drivers/staging/rdma
use of these functions.
Signed-off-by: Mitko Haralanov
Signed-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/Kconfig| 1 +
drivers/staging/rdma/hfi1/Makefile | 2 +-
drivers/staging/rdma/hfi1/user_exp_rcv.c | 314 +++
drivers/staging/rdma/hfi1
From: Mike Marciniszyn
Now that we have a multi-threaded work queue we precomputed and store the SC
and SDE on RC and UC QPs for faster access.
Reviewed-by: Dennis Dalessandro
Signed-off-by: Mike Marciniszyn
Signed-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/qp.c| 27
From: Ira Weiny
Remove the following macros in favor of explicit use of struct hfi1_filedata and
various sub structures.
ctxt_fp
subctxt_fp
tidcursor_fp
user_sdma_pkt_fp
user_sdma_comp_fp
Reviewed-by: Mitko Haralanov
Signed-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/file_ops.c | 124
quot;unlimited" (as
we've done up to this point), may result in jobs being killed by the kernel's
OOM due to them taking up excessive amounts of memory.
Reviewed-by: Arthur Kepner
Reviewed-by: Dennis Dalessandro
Signed-off-by: Mitko Haralanov
Signed-off-by: Ira Weiny
---
Change
WQ_CPU_INTENSIVE and WQ_HIGHPRI specified.
Then change send to use the new scheduler which no longer needs to get the
s_lock
Reviewed-by: Dennis Dalessandro
Signed-off-by: Mike Marciniszyn
Signed-off-by: Ira Weiny
---
Changes from v3:
Split patch out code refactoring and separate
From: Mitko Haralanov
In preparation for implementing Expected TID caching we do some simple clean up
of header file macros.
Signed-off-by: Mitko Haralanov
Signed-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/common.h | 15 ---
include/uapi/rdma/hfi/hfi1_user.h | 26
From: Dean Luick
Correctly set half-swing for integrated devices. A0 needs all fields set for
CcePcieCtrl. B0 and later only need a few fields set.
Reviewed-by: Stuart Summers
Signed-off-by: Dean Luick
Signed-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/chip_registers.h | 11
From: Ira Weiny
The following 3 patches fix the ECN detection and add a module parameter to
turn the prescan of the receive queue on and off.
Arthur Kepner (2):
staging/rdma/hfi1: don't cache "prescan head"
staging/rdma/hfi1: optionally prescan rx queue for {B,F}ECNs -
). Afterward, the packet will
be processed normally.
Reviewed-by: Mike Marciniszyn
Reviewed-by: Dennis Dalessandro
Signed-off-by: Arthur Kepner
Signed-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/driver.c | 64 +++---
drivers/staging/rdma/hfi1/rc.c | 10
From: Vennila Megavannan
Add a module paramter to toggle prescan/Fast ECN Detection.
In addition change the PRESCAN_RXQ Kconfig default to "yes".
Reviewed-by: Arthur Kepner
Reviewed-by: Mike Marciniszyn
Signed-off-by: Vennila Megavannan
Signed-off-by: Ira Weiny
---
drivers/staging
idable race, and to avoid getting out of sync we always start
prescanning at the current "rcd->head" entry.
Reviewed-by: Mike Marciniszyn
Reviewed-by: Dennis Dalessandro
Signed-off-by: Arthur Kepner
Signed-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/driver.c | 13 +++-
time will result in a significant reduction of performance
at the node level but may result in better overall fabric/cluster performance.
Reviewed-by: Arthur Kepner
Reviewed-by: Mike Marciniszyn
Signed-off-by: Vennila Megavannan
Signed-off-by: Ira Weiny
---
Changes from V1:
Redo commit
From: Vennila Megavannan
Add a module paramter to toggle prescan/Fast ECN Detection and remove the
Kconfig option which used to control this.
Reviewed-by: Arthur Kepner
Reviewed-by: Mike Marciniszyn
Signed-off-by: Vennila Megavannan
Signed-off-by: Ira Weiny
---
Changes from V1:
Redo
From: Dean Luick
Correctly set half-swing for integrated devices. A0 needs all fields set for
CcePcieCtrl. B0 and later only need a few fields set.
Reviewed-by: Stuart Summers
Signed-off-by: Dean Luick
Signed-off-by: Ira Weiny
---
Changes from V1:
Add comments concerning the very
From: Mike Marciniszyn
Now that we have a multi-threaded work queue we precomputed and store the SC
and SDE on RC and UC QPs for faster access.
Reviewed-by: Dennis Dalessandro
Signed-off-by: Mike Marciniszyn
Signed-off-by: Ira Weiny
---
This patch was previously sent as #9/9 but 5/9 failed
WQ_CPU_INTENSIVE and WQ_HIGHPRI specified.
Then change send to use the new scheduler which no longer needs to get the
s_lock
Reviewed-by: Dennis Dalessandro
Signed-off-by: Mike Marciniszyn
Signed-off-by: Ira Weiny
---
Changes from v3:
Split patch out code refactoring and separate
From: Mike Marciniszyn
Move hfi1_migrate_qp from ruc.c to qp.[hc] in prep for modifying the QP
workqueue.
Signed-off-by: Mike Marciniszyn
Signed-off-by: Ira Weiny
---
This patch was previously sent as #7/9 but 5/9 failed.
I'm resending 7,8, and 9 as they did not explicitly depend on 5
-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/diag.c | 27 ++-
drivers/staging/rdma/hfi1/hfi.h | 20 ++
drivers/staging/rdma/hfi1/ruc.c | 15 ++-
drivers/staging/rdma/hfi1/verbs.c | 55 ++-
drivers/staging/rdma/hfi1
Haralanov
Signed-off-by: Niranjana Vishwanathapura
Signed-off-by: Mike Marciniszyn
Signed-off-by: Ira Weiny
---
drivers/staging/rdma/hfi1/chip.c | 74 -
drivers/staging/rdma/hfi1/driver.c | 108 -
drivers/staging/rdma/hfi1/hfi.h
201 - 300 of 1033 matches
Mail list logo