projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da7daf5
)
qed: Apply tunnel configurations after PF start
author
Manish Chopra
<
[email protected]
>
Mon, 2 May 2016 10:16:04 +0000
(06:16 -0400)
committer
David S. Miller
<
[email protected]
>
Tue, 3 May 2016 19:48:32 +0000
(15:48 -0400)
Configure and enable various tunnels on the
adapter after PF start.
This change was missed as a part of
'commit
464f664501816ef5fbbc00b8de96f4ae5a1c9325
("qed: Add infrastructure support for tunneling")'
Signed-off-by: Manish Chopra <
[email protected]
>
Signed-off-by: Yuval Mintz <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/ethernet/qlogic/qed/qed_sp_commands.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/qlogic/qed/qed_sp_commands.c
b/drivers/net/ethernet/qlogic/qed/qed_sp_commands.c
index 9f9bc10d0f6c11f5afecfb1455d5391aebf37468..e1e2344b1906c822009b7e7caa18dcffdf1f8041 100644
(file)
--- a/
drivers/net/ethernet/qlogic/qed/qed_sp_commands.c
+++ b/
drivers/net/ethernet/qlogic/qed/qed_sp_commands.c
@@
-362,7
+362,15
@@
int qed_sp_pf_start(struct qed_hwfn *p_hwfn,
sb, sb_index,
p_ramrod->outer_tag);
- return qed_spq_post(p_hwfn, p_ent, NULL);
+ rc = qed_spq_post(p_hwfn, p_ent, NULL);
+
+ if (p_tunn) {
+ qed_set_hw_tunn_mode(p_hwfn, p_hwfn->p_main_ptt,
+ p_tunn->tunn_mode);
+ p_hwfn->cdev->tunn_mode = p_tunn->tunn_mode;
+ }
+
+ return rc;
}
/* Set pf update ramrod command params */