summaryrefslogtreecommitdiff
path: root/drivers/interconnect
diff options
context:
space:
mode:
authorMaxime Chevallier <maxime.chevallier@bootlin.com>2019-03-27 09:44:22 +0100
committerDavid S. Miller <davem@davemloft.net>2019-03-27 11:10:58 -0700
commitc2d3d8eebe7c78e3070838c3a81e8c7cc2828c9b (patch)
tree4e7cd1d982c921c255b72d91c0bb7e7fc9c79d9f /drivers/interconnect
parent693131db1d5f2c1d97a6eaa58cf291984737f63b (diff)
net: mvpp2: cls: Rework C2 engine macros
The C2 classification engine has a 256 entry TCAM, used for ternary matches on an 8 byte Header Extracted Key. For now, we compute the various indices for classification and RSS that use this engine thanks to a set of macros. This commit mainly renames the macros used to make it clear that they should be used with the C2 engine, but also make use of the full 256 entries in the engine. For now, the C2 entries are only used for RSS. These entries are put at the end of the TCAM range, in case we want to add higher priority matches later on. Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/interconnect')
0 files changed, 0 insertions, 0 deletions