linux/drivers/net/ethernet/marvell/mvpp2
Maxime Chevallier 693131db1d net: mvpp2: cls: Initialize lookup priorities for all entries in the flow
When classifying a packet pertaining to a given flow, the classifier
will issue multiple lookup commands until it finds one with the 'last'
bit set. It expects all prorities to be assign continuously (although
not necessarily in an ordered fashion) from 0 to the number of lookups.

We can initialize this once, and make sure unused lookups are given an
empty port map. This avoids having to maintain priorities and the
information of which lookup is the last.

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: Invalidate all C2 entries except the ones we use 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