linux_dsm_epyc7002/drivers/net/ethernet/marvell/mvpp2
Maxime Chevallier c2d3d8eebe 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>
2019-03-27 11:10:58 -07:00
..
Makefile net: mvpp2: add a debugfs interface for the Header Parser 2018-07-16 00:10:00 -07:00
mvpp2_cls.c net: mvpp2: cls: Initialize lookup priorities for all entries in the flow 2019-03-27 11:10:58 -07:00
mvpp2_cls.h net: mvpp2: cls: Rework C2 engine macros 2019-03-27 11:10:58 -07:00
mvpp2_debugfs.c net: mvpp2: cls: Rename the flow table macros 2019-03-27 11:10:58 -07:00
mvpp2_main.c net: mvpp2: cls: Rename classifer per-port functions 2019-03-27 11:10:58 -07:00
mvpp2_prs.c net: mvpp2: debugfs: add hit counter stats for Header Parser entries 2018-07-16 00:10:01 -07:00
mvpp2_prs.h net: mvpp2: debugfs: add hit counter stats for Header Parser entries 2018-07-16 00:10:01 -07:00
mvpp2.h net: mvpp2: cls: Invalidate all C2 entries except the ones we use 2019-03-27 11:10:58 -07:00