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
814b0a61
Commit
814b0a61
authored
Feb 17, 2011
by
Roland Dreier
Browse files
Options
Browse Files
Download
Plain Diff
Merge branches 'nes' and 'qib' into for-next
parents
25a54a6b
c0af2c05
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
drivers/infiniband/hw/qib/qib_rc.c
drivers/infiniband/hw/qib/qib_rc.c
+4
-1
No files found.
drivers/infiniband/hw/qib/qib_rc.c
View file @
814b0a61
...
@@ -1005,7 +1005,8 @@ void qib_rc_send_complete(struct qib_qp *qp, struct qib_ib_header *hdr)
...
@@ -1005,7 +1005,8 @@ void qib_rc_send_complete(struct qib_qp *qp, struct qib_ib_header *hdr)
* there are still requests that haven't been acked.
* there are still requests that haven't been acked.
*/
*/
if
((
psn
&
IB_BTH_REQ_ACK
)
&&
qp
->
s_acked
!=
qp
->
s_tail
&&
if
((
psn
&
IB_BTH_REQ_ACK
)
&&
qp
->
s_acked
!=
qp
->
s_tail
&&
!
(
qp
->
s_flags
&
(
QIB_S_TIMER
|
QIB_S_WAIT_RNR
|
QIB_S_WAIT_PSN
)))
!
(
qp
->
s_flags
&
(
QIB_S_TIMER
|
QIB_S_WAIT_RNR
|
QIB_S_WAIT_PSN
))
&&
(
ib_qib_state_ops
[
qp
->
state
]
&
QIB_PROCESS_RECV_OK
))
start_timer
(
qp
);
start_timer
(
qp
);
while
(
qp
->
s_last
!=
qp
->
s_acked
)
{
while
(
qp
->
s_last
!=
qp
->
s_acked
)
{
...
@@ -1439,6 +1440,8 @@ static void qib_rc_rcv_resp(struct qib_ibport *ibp,
...
@@ -1439,6 +1440,8 @@ static void qib_rc_rcv_resp(struct qib_ibport *ibp,
}
}
spin_lock_irqsave
(
&
qp
->
s_lock
,
flags
);
spin_lock_irqsave
(
&
qp
->
s_lock
,
flags
);
if
(
!
(
ib_qib_state_ops
[
qp
->
state
]
&
QIB_PROCESS_RECV_OK
))
goto
ack_done
;
/* Ignore invalid responses. */
/* Ignore invalid responses. */
if
(
qib_cmp24
(
psn
,
qp
->
s_next_psn
)
>=
0
)
if
(
qib_cmp24
(
psn
,
qp
->
s_next_psn
)
>=
0
)
...
...
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