qed: RoCE doesn't need to use SRC
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>
This commit is contained in:
parent
70566b42e9
commit
5f8cb033f4
@ -241,8 +241,7 @@ struct qed_cxt_mngr {
|
|||||||
static bool src_proto(enum protocol_type type)
|
static bool src_proto(enum protocol_type type)
|
||||||
{
|
{
|
||||||
return type == PROTOCOLID_ISCSI ||
|
return type == PROTOCOLID_ISCSI ||
|
||||||
type == PROTOCOLID_FCOE ||
|
type == PROTOCOLID_FCOE;
|
||||||
type == PROTOCOLID_ROCE;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool tm_cid_proto(enum protocol_type type)
|
static bool tm_cid_proto(enum protocol_type type)
|
||||||
|
Loading…
Reference in New Issue
Block a user