Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
5091b353
Commit
5091b353
authored
Apr 09, 2010
by
Roland Dreier
Browse files
Options
Browse Files
Download
Plain Diff
Merge branches 'cma', 'misc', 'mlx4' and 'nes' into for-linus
parents
ae2d9293
3e340c05
7bd91299
eadde3a1
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
7 deletions
+6
-7
drivers/infiniband/core/cm.c
drivers/infiniband/core/cm.c
+1
-1
drivers/infiniband/hw/mlx4/mr.c
drivers/infiniband/hw/mlx4/mr.c
+1
-1
drivers/infiniband/hw/nes/nes_verbs.c
drivers/infiniband/hw/nes/nes_verbs.c
+4
-5
No files found.
drivers/infiniband/core/cm.c
View file @
5091b353
...
@@ -3693,7 +3693,7 @@ static void cm_add_one(struct ib_device *ib_device)
...
@@ -3693,7 +3693,7 @@ static void cm_add_one(struct ib_device *ib_device)
cm_dev
->
device
=
device_create
(
&
cm_class
,
&
ib_device
->
dev
,
cm_dev
->
device
=
device_create
(
&
cm_class
,
&
ib_device
->
dev
,
MKDEV
(
0
,
0
),
NULL
,
MKDEV
(
0
,
0
),
NULL
,
"%s"
,
ib_device
->
name
);
"%s"
,
ib_device
->
name
);
if
(
!
cm_dev
->
device
)
{
if
(
IS_ERR
(
cm_dev
->
device
)
)
{
kfree
(
cm_dev
);
kfree
(
cm_dev
);
return
;
return
;
}
}
...
...
drivers/infiniband/hw/mlx4/mr.c
View file @
5091b353
...
@@ -238,7 +238,7 @@ struct ib_fast_reg_page_list *mlx4_ib_alloc_fast_reg_page_list(struct ib_device
...
@@ -238,7 +238,7 @@ struct ib_fast_reg_page_list *mlx4_ib_alloc_fast_reg_page_list(struct ib_device
mfrpl
->
mapped_page_list
=
dma_alloc_coherent
(
&
dev
->
dev
->
pdev
->
dev
,
mfrpl
->
mapped_page_list
=
dma_alloc_coherent
(
&
dev
->
dev
->
pdev
->
dev
,
size
,
&
mfrpl
->
map
,
size
,
&
mfrpl
->
map
,
GFP_KERNEL
);
GFP_KERNEL
);
if
(
!
mfrpl
->
ibfrpl
.
page_list
)
if
(
!
mfrpl
->
mapped_
page_list
)
goto
err_free
;
goto
err_free
;
WARN_ON
(
mfrpl
->
map
&
0x3f
);
WARN_ON
(
mfrpl
->
map
&
0x3f
);
...
...
drivers/infiniband/hw/nes/nes_verbs.c
View file @
5091b353
...
@@ -2820,11 +2820,10 @@ static int nes_query_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr,
...
@@ -2820,11 +2820,10 @@ static int nes_query_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr,
attr
->
cap
.
max_send_wr
=
nesqp
->
hwqp
.
sq_size
;
attr
->
cap
.
max_send_wr
=
nesqp
->
hwqp
.
sq_size
;
attr
->
cap
.
max_recv_wr
=
nesqp
->
hwqp
.
rq_size
;
attr
->
cap
.
max_recv_wr
=
nesqp
->
hwqp
.
rq_size
;
attr
->
cap
.
max_recv_sge
=
1
;
attr
->
cap
.
max_recv_sge
=
1
;
if
(
nes_drv_opt
&
NES_DRV_OPT_NO_INLINE_DATA
)
{
if
(
nes_drv_opt
&
NES_DRV_OPT_NO_INLINE_DATA
)
init_attr
->
cap
.
max_inline_data
=
0
;
attr
->
cap
.
max_inline_data
=
0
;
}
else
{
else
init_attr
->
cap
.
max_inline_data
=
64
;
attr
->
cap
.
max_inline_data
=
64
;
}
init_attr
->
event_handler
=
nesqp
->
ibqp
.
event_handler
;
init_attr
->
event_handler
=
nesqp
->
ibqp
.
event_handler
;
init_attr
->
qp_context
=
nesqp
->
ibqp
.
qp_context
;
init_attr
->
qp_context
=
nesqp
->
ibqp
.
qp_context
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment