Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
These changes are a raw update to a vanilla kernel 4.1.10, with the
[kvmfornfv.git]
/
kernel
/
drivers
/
infiniband
/
hw
/
mlx4
/
cq.c
diff --git
a/kernel/drivers/infiniband/hw/mlx4/cq.c
b/kernel/drivers/infiniband/hw/mlx4/cq.c
index
0176caa
..
2857ed8
100644
(file)
--- a/
kernel/drivers/infiniband/hw/mlx4/cq.c
+++ b/
kernel/drivers/infiniband/hw/mlx4/cq.c
@@
-629,7
+629,7
@@
static void mlx4_ib_poll_sw_comp(struct mlx4_ib_cq *cq, int num_entries,
* simulated FLUSH_ERR completions
*/
list_for_each_entry(qp, &cq->send_qp_list, cq_send_list) {
* simulated FLUSH_ERR completions
*/
list_for_each_entry(qp, &cq->send_qp_list, cq_send_list) {
- mlx4_ib_qp_sw_comp(qp, num_entries, wc, npolled, 1);
+ mlx4_ib_qp_sw_comp(qp, num_entries, wc
+ *npolled
, npolled, 1);
if (*npolled >= num_entries)
goto out;
}
if (*npolled >= num_entries)
goto out;
}