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:
5d7dc96
)
qed: Add iWARP support for physical queue allocation
author
Kalderon, Michal
<
[email protected]
>
Sun, 2 Jul 2017 07:29:32 +0000
(10:29 +0300)
committer
David S. Miller
<
[email protected]
>
Mon, 3 Jul 2017 08:43:45 +0000
(
01:43
-0700)
iWARP has different physical queue requirements than RoCE
Signed-off-by: Michal Kalderon <
[email protected]
>
Signed-off-by: Yuval Mintz <
[email protected]
>
Signed-off-by: Ariel Elior <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/ethernet/qlogic/qed/qed_dev.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/qlogic/qed/qed_dev.c
b/drivers/net/ethernet/qlogic/qed/qed_dev.c
index 4060a6ad9be38af2457e4fcb77823309a13a3ff9..6c87bed13bd233328d2cdc12223ab5654c57d061 100644
(file)
--- a/
drivers/net/ethernet/qlogic/qed/qed_dev.c
+++ b/
drivers/net/ethernet/qlogic/qed/qed_dev.c
@@
-216,6
+216,10
@@
static u32 qed_get_pq_flags(struct qed_hwfn *p_hwfn)
case QED_PCI_ETH_ROCE:
flags |= PQ_FLAGS_MCOS | PQ_FLAGS_OFLD | PQ_FLAGS_LLT;
break;
+ case QED_PCI_ETH_IWARP:
+ flags |= PQ_FLAGS_MCOS | PQ_FLAGS_ACK | PQ_FLAGS_OOO |
+ PQ_FLAGS_OFLD;
+ break;
default:
DP_ERR(p_hwfn,
"unknown personality %d\n", p_hwfn->hw_info.personality);