tilelink2: only caches can support B requests
This commit is contained in:
parent
4a975ca380
commit
6336f94fa2
@ -166,6 +166,13 @@ case class TLClientParameters(
|
|||||||
supportsHint: TransferSizes = TransferSizes.none)
|
supportsHint: TransferSizes = TransferSizes.none)
|
||||||
{
|
{
|
||||||
require (supportsPutFull.contains(supportsPutPartial))
|
require (supportsPutFull.contains(supportsPutPartial))
|
||||||
|
// We only support these operations if we support Probe (ie: we're a cache)
|
||||||
|
require (supportsProbe.contains(supportsArithmetic))
|
||||||
|
require (supportsProbe.contains(supportsLogical))
|
||||||
|
require (supportsProbe.contains(supportsGet))
|
||||||
|
require (supportsProbe.contains(supportsPutFull))
|
||||||
|
require (supportsProbe.contains(supportsPutPartial))
|
||||||
|
require (supportsProbe.contains(supportsHint))
|
||||||
|
|
||||||
val maxTransfer = List(
|
val maxTransfer = List(
|
||||||
supportsProbe.max,
|
supportsProbe.max,
|
||||||
|
Loading…
Reference in New Issue
Block a user