Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
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
Hide 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)
cm_dev
->
device
=
device_create
(
&
cm_class
,
&
ib_device
->
dev
,
MKDEV
(
0
,
0
),
NULL
,
"%s"
,
ib_device
->
name
);
if
(
!
cm_dev
->
device
)
{
if
(
IS_ERR
(
cm_dev
->
device
)
)
{
kfree
(
cm_dev
);
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
mfrpl
->
mapped_page_list
=
dma_alloc_coherent
(
&
dev
->
dev
->
pdev
->
dev
,
size
,
&
mfrpl
->
map
,
GFP_KERNEL
);
if
(
!
mfrpl
->
ibfrpl
.
page_list
)
if
(
!
mfrpl
->
mapped_
page_list
)
goto
err_free
;
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,
attr
->
cap
.
max_send_wr
=
nesqp
->
hwqp
.
sq_size
;
attr
->
cap
.
max_recv_wr
=
nesqp
->
hwqp
.
rq_size
;
attr
->
cap
.
max_recv_sge
=
1
;
if
(
nes_drv_opt
&
NES_DRV_OPT_NO_INLINE_DATA
)
{
init_attr
->
cap
.
max_inline_data
=
0
;
}
else
{
init_attr
->
cap
.
max_inline_data
=
64
;
}
if
(
nes_drv_opt
&
NES_DRV_OPT_NO_INLINE_DATA
)
attr
->
cap
.
max_inline_data
=
0
;
else
attr
->
cap
.
max_inline_data
=
64
;
init_attr
->
event_handler
=
nesqp
->
ibqp
.
event_handler
;
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