]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf45f3fbf3341bf6d06748dc0d4b78446ee0700cc
tree973e75b9c20753450ab46262964d709a5d7cd561
parentc32c3c23be9f59a83dd6a3b21baba1d4816e4f38
parent9de7834b7e9e19e4a21283ecfaeeecf89efb0e64
Merge tag 'mlx5-updates-2021-12-14' of git://git.kernel.org/pub/scm/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>