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
Kirill Smelkov
linux
Commits
049b1e7c
Commit
049b1e7c
authored
Aug 25, 2016
by
Doug Ledford
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'misc-fixes' into k.o/for-4.8-rc
parents
716b076b
07c72d7d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
21 deletions
+1
-21
drivers/infiniband/hw/i40iw/i40iw_cm.c
drivers/infiniband/hw/i40iw/i40iw_cm.c
+1
-21
No files found.
drivers/infiniband/hw/i40iw/i40iw_cm.c
View file @
049b1e7c
...
...
@@ -3346,26 +3346,6 @@ int i40iw_cm_disconn(struct i40iw_qp *iwqp)
return
0
;
}
/**
* i40iw_loopback_nop - Send a nop
* @qp: associated hw qp
*/
static
void
i40iw_loopback_nop
(
struct
i40iw_sc_qp
*
qp
)
{
u64
*
wqe
;
u64
header
;
wqe
=
qp
->
qp_uk
.
sq_base
->
elem
;
set_64bit_val
(
wqe
,
0
,
0
);
set_64bit_val
(
wqe
,
8
,
0
);
set_64bit_val
(
wqe
,
16
,
0
);
header
=
LS_64
(
I40IWQP_OP_NOP
,
I40IWQPSQ_OPCODE
)
|
LS_64
(
0
,
I40IWQPSQ_SIGCOMPL
)
|
LS_64
(
qp
->
qp_uk
.
swqe_polarity
,
I40IWQPSQ_VALID
);
set_64bit_val
(
wqe
,
24
,
header
);
}
/**
* i40iw_qp_disconnect - free qp and close cm
* @iwqp: associate qp for the connection
...
...
@@ -3638,7 +3618,7 @@ int i40iw_accept(struct iw_cm_id *cm_id, struct iw_cm_conn_param *conn_param)
}
else
{
if
(
iwqp
->
page
)
iwqp
->
sc_qp
.
qp_uk
.
sq_base
=
kmap
(
iwqp
->
page
);
i40iw_loopback_nop
(
&
iwqp
->
sc_qp
);
dev
->
iw_priv_qp_ops
->
qp_send_lsmm
(
&
iwqp
->
sc_qp
,
NULL
,
0
,
0
);
}
if
(
iwqp
->
page
)
...
...
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