[PATCH net-next 0/5] net: mvpp2: Classifier updates, RSS

From: Maxime Chevallier
Date: Fri May 24 2019 - 06:09:03 EST


Hello everyone,

Here is a set of updates for the PPv2 classifier, the main feature being
the support for steering to RSS contexts, to leverage all the available
RSS tables in the controller.

The first two patches are non-critical fixes for the classifier, the
first one prevents us from allocating too much room to store the
classification rules, the second one configuring the C2 engine as
suggested by the PPv2 functionnal specs.

Patches 3 to 5 introduce support for RSS contexts in mvpp2, allowing us
to steer traffic to dedicated RSS tables.

Thanks,

Maxime

Maxime Chevallier (5):
net: mvpp2: cls: Use the correct number of rules in various places
net: mvpp2: cls: Bypass C2 internals FIFOs at init
net: mvpp2: cls: Use RSS contexts to handle RSS tables
net: mvpp2: cls: Extract the RSS context when parsing the ethtool rule
net: mvpp2: cls: Support steering to RSS contexts

drivers/net/ethernet/marvell/mvpp2/mvpp2.h | 20 +-
.../net/ethernet/marvell/mvpp2/mvpp2_cls.c | 272 ++++++++++++++++--
.../net/ethernet/marvell/mvpp2/mvpp2_cls.h | 15 +-
.../net/ethernet/marvell/mvpp2/mvpp2_main.c | 67 ++++-
4 files changed, 326 insertions(+), 48 deletions(-)

--
2.20.1