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:
70566b4
)
qed: RoCE doesn't need to use SRC
author
Mintz, Yuval
<Yuval.Mintz@cavium.com>
Mon, 3 Apr 2017 09:21:12 +0000
(12:21 +0300)
committer
David S. Miller
<davem@davemloft.net>
Tue, 4 Apr 2017 02:16:37 +0000
(19:16 -0700)
As RoCE doesn't need to use the SRC, allocating ILT memory
on behalf of RoCE is wasting available ILT lines.
Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_cxt.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/qlogic/qed/qed_cxt.c
b/drivers/net/ethernet/qlogic/qed/qed_cxt.c
index f7b1a3732b04f31b90329420d010612a3bbf5c0a..8db023422bfd89cab63dc0620e572c512d0a3ab8 100644
(file)
--- a/
drivers/net/ethernet/qlogic/qed/qed_cxt.c
+++ b/
drivers/net/ethernet/qlogic/qed/qed_cxt.c
@@
-241,8
+241,7
@@
struct qed_cxt_mngr {
static bool src_proto(enum protocol_type type)
{
return type == PROTOCOLID_ISCSI ||
- type == PROTOCOLID_FCOE ||
- type == PROTOCOLID_ROCE;
+ type == PROTOCOLID_FCOE;
}
static bool tm_cid_proto(enum protocol_type type)