Merge tag 'mlx5-updates-2021-12-14' of git://git.kernel.org/pub/scm/linux/kernel...
authorDavid S. Miller <davem@davemloft.net>
Wed, 15 Dec 2021 14:46:33 +0000 (14:46 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Dec 2021 14:46:33 +0000 (14:46 +0000)
commitf71f1bcbd87ff7274ac6fb5ace454178dc5246f6
tree973e75b9c20753450ab46262964d709a5d7cd561
parent5a21bf5bb4243d0213758c0e5e6c5c5786842a94
parent35bb5242148fa16fd5b2f28b508e0c031e90c672
Merge tag 'mlx5-updates-2021-12-14' of git://git./linux/kernel/git/saeed/linux

Saed Mahameed says:

====================
mlx5-updates-2021-12-14

Parsing Infrastructure for TC actions:

The series introduce a TC action infrastructure to help
parsing TC actions in a generic way for both FDB and NIC rules.

To help maintain the parsing code of TC actions, we the parsing code to
action parser per action TC type in separate files, instead of having one
big switch case loop, duplicated between FDB and NIC parsers as before this
patchset.

Each TC flow_action->id is represented by a dedicated mlx5e_tc_act handler
which has callbacks to check if the specific action is offload supported and
to parse the specific action.

We move each case (TC action) handling into the specific handler, which is
responsible for parsing and determining if the action is supported.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>