1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/ethernet/marvell/mvpp2
Maxime Chevallier 84e90b0b51 net: mvpp2: cls: Use a bitfield to represent the flow_type
As of today, the classification code is used only for RSS. We split the
incoming traffic into multiple flows, that correspond to the ethtool
flow_type parameter.

We don't want to use the ethtool flow definitions such as TCP_V4_FLOW,
for several reason :

 - We want to decorrelate the driver code from ethtool as much as
   possible, so that we can easily use other interfaces such as tc flower,

 - We want the flow_type to be a bitfield, so that we can match flows
   embedded into each other, such as TCP4 which is a subset of IP4.

This commit does the conversion to the newer type.

Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-05-01 17:13:14 -04:00
..
Makefile net: mvpp2: add a debugfs interface for the Header Parser 2018-07-16 00:10:00 -07:00
mvpp2.h net: mvpp2: cls: Invalidate all C2 entries except the ones we use 2019-03-27 11:10:58 -07:00
mvpp2_cls.c net: mvpp2: cls: Use a bitfield to represent the flow_type 2019-05-01 17:13:14 -04:00
mvpp2_cls.h net: mvpp2: cls: Use a bitfield to represent the flow_type 2019-05-01 17:13:14 -04: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