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
85f938a7
Commit
85f938a7
authored
Mar 01, 2010
by
Roland Dreier
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'ehca' into for-next
parents
216fe702
45e354e3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
7 deletions
+4
-7
drivers/infiniband/hw/ehca/ehca_irq.c
drivers/infiniband/hw/ehca/ehca_irq.c
+2
-3
drivers/infiniband/hw/ehca/ehca_qp.c
drivers/infiniband/hw/ehca/ehca_qp.c
+1
-3
drivers/infiniband/hw/ehca/ehca_sqp.c
drivers/infiniband/hw/ehca/ehca_sqp.c
+1
-1
No files found.
drivers/infiniband/hw/ehca/ehca_irq.c
View file @
85f938a7
...
...
@@ -548,11 +548,10 @@ void ehca_process_eq(struct ehca_shca *shca, int is_irq)
struct
ehca_eq
*
eq
=
&
shca
->
eq
;
struct
ehca_eqe_cache_entry
*
eqe_cache
=
eq
->
eqe_cache
;
u64
eqe_value
,
ret
;
unsigned
long
flags
;
int
eqe_cnt
,
i
;
int
eq_empty
=
0
;
spin_lock
_irqsave
(
&
eq
->
irq_spinlock
,
flags
);
spin_lock
(
&
eq
->
irq_spinlock
);
if
(
is_irq
)
{
const
int
max_query_cnt
=
100
;
int
query_cnt
=
0
;
...
...
@@ -643,7 +642,7 @@ void ehca_process_eq(struct ehca_shca *shca, int is_irq)
}
while
(
1
);
unlock_irq_spinlock:
spin_unlock
_irqrestore
(
&
eq
->
irq_spinlock
,
flags
);
spin_unlock
(
&
eq
->
irq_spinlock
);
}
void
ehca_tasklet_eq
(
unsigned
long
data
)
...
...
drivers/infiniband/hw/ehca/ehca_qp.c
View file @
85f938a7
...
...
@@ -55,9 +55,7 @@ static struct kmem_cache *qp_cache;
/*
* attributes not supported by query qp
*/
#define QP_ATTR_QUERY_NOT_SUPPORTED (IB_QP_MAX_DEST_RD_ATOMIC | \
IB_QP_MAX_QP_RD_ATOMIC | \
IB_QP_ACCESS_FLAGS | \
#define QP_ATTR_QUERY_NOT_SUPPORTED (IB_QP_ACCESS_FLAGS | \
IB_QP_EN_SQD_ASYNC_NOTIFY)
/*
...
...
drivers/infiniband/hw/ehca/ehca_sqp.c
View file @
85f938a7
...
...
@@ -222,7 +222,7 @@ int ehca_process_mad(struct ib_device *ibdev, int mad_flags, u8 port_num,
{
int
ret
;
if
(
!
port_num
||
port_num
>
ibdev
->
phys_port_cnt
)
if
(
!
port_num
||
port_num
>
ibdev
->
phys_port_cnt
||
!
in_wc
)
return
IB_MAD_RESULT_FAILURE
;
/* accept only pma request */
...
...
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